Project

General

Profile

Actions

Support Request #232

closed

Stopping ADTF Configuration from Run() method of a Filter

Added by hidden about 7 years ago. Updated over 6 years ago.

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 #1

Updated by hidden about 7 years ago

  • Project changed from Public Support to 5
  • Author changed from hidden to hidden
  • Topic set to ADTF::Common
Actions #2

Updated by hidden about 7 years ago

  • Status changed from New to In Progress
  • Author changed from hidden to hidden
Actions #4

Updated by hidden about 7 years ago

Hello Venkata Rama Prasad,

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 #5

Updated by hidden about 7 years ago

  • Status changed from In Progress to Customer Feedback Required
Actions #6

Updated by hidden about 7 years ago

Support:

Please give us your feedback about this issue, otherwise we will close this ticket tomorrow (28.02.2017).

Actions #7

Updated by hidden about 7 years ago

  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Resolution set to Solved Issue

No Feedback, ticket can be closed.

@Florian, Ticket kann geschlossen werden.

Actions #8

Updated by hidden about 7 years ago

  • Status changed from To Be Closed to Closed
Actions #9

Updated by hidden over 6 years ago

  • Project changed from 5 to Public Support
  • Private changed from Yes to No
Actions

Also available in: Atom PDF