Actions
Support Request #232
closedStopping ADTF Configuration from Run() method of a Filter
Status:
Closed
Priority:
Normal
Customer:
BOSCH
Department:
ENTWICKLUNG
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Common
FAQ Links:
Description
Request
Use Case: I am trying to stop the ADTF configuration from the RUN method of one of the Filters in my configuration (if certain condition is met). calling a filter#s stop would just stop that filter while the other filters in the configuration are still running.
Solution
It is not possible to shutdown the adtf configuration from your filter because the filter itself will be destroyed if you shutdown/deinit your configuration. You need to implement an ADTF Service.
E.g. ADTF SDK: Demo for a service
Maybe it is possible to use IRuntime::SetRunLevel to this but it is a bad idea to use filter/services to control adtf.
Actions