ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
runner_intf.h
Go to the documentation of this file.
1
7#pragma once
9#include "triggerpipe_intf.h"
10
11namespace adtf
12{
13namespace streaming
14{
15namespace ant
16{
17
22 class IRunner : public ITriggerPipeItem,
24 {
25 protected:
27 virtual ~IRunner() = default;
28
29 public:
31 ADTF_IID(IRunner, "runner.ant.streaming.adtf.iid");
33 };
34
45 {
46 protected:
48 virtual ~IActiveRunner() = default;
49 public:
51 ADTF_IID(IActiveRunner, "active_runner.ant.streaming.adtf.iid");
53
54 public:
60 virtual tResult Activate() = 0;
66 virtual tResult Deactivate() = 0;
67
73 virtual bool IsActivated() const = 0;
74 };
75} //namespace ant
76
77namespace spider
78{
79
84 {
85 public:
87 ADTF_IID(IActiveRunner, "active_runner.spider.streaming.adtf.iid");
88
95 };
96}
97
99using ant::IRunner;
102
103} //namespace streaming
104} // namespace adtf
#define UCOM_RESOLVE(...)
Resolve a path to a base class which is inherited multiple times.
Definition adtf_iid.h:45
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
The Interface defines an Active Runner Intem which can be part of the IFilterGraph.
Definition runner_intf.h:45
virtual tResult Activate()=0
The Activate call is to create the Timer or Thread or other running internals of the Runner.
ADTF_IID(IActiveRunner, "active_runner.ant.streaming.adtf.iid")
Definition of the interface identifier.
virtual tResult Deactivate()=0
The Deactivate call is to stop and destroy the Timer or Thread or other running internals of the Runn...
virtual bool IsActivated() const =0
Return the Activatation State of the Runner.
virtual ~IActiveRunner()=default
is not destructable
Interface for a NamedGraphObject which can be added to the FilterGraph.
The Interface defines a runnable item of the GraphObjects providing a IRuntimeBehaviour.
Definition runner_intf.h:24
virtual ~IRunner()=default
is not destructable
ADTF_IID(IRunner, "runner.ant.streaming.adtf.iid")
Definition of the interface identifier.
Interface for objects which can participate a ITriggerPipe.
Interface that defines a TriggerPipeSource, which is able to send a Run (RUN::TIrgger) call to the re...
The Interface defines an Active Runner Intem which can be part of the IFilterGraph.
Definition runner_intf.h:84
ADTF_IID(IActiveRunner, "active_runner.spider.streaming.adtf.iid")
Definition of the interface identifier.
virtual tResult WaitForDeactivation()=0
This function ensures that the runner is no longer processing a trigger and is not going to emit any ...
Base class for every interface type within the uCOM.
Definition object_intf.h:33
Copyright © Audi Electronics Venture GmbH.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Namespace for all functionality of the ADTF Streaming SDK provided since v3.18.
Namespace for the ADTF Streaming SDK.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.