ADTF
runner_intf.h
Go to the documentation of this file.
1 
7 #pragma once
9 #include "triggerpipe_intf.h"
10 
11 namespace adtf
12 {
13 namespace streaming
14 {
15 namespace ant
16 {
17 
22  class IRunner : public ITriggerPipeItem,
23  public INamedGraphObject
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 
77 namespace spider
78 {
79 
84  {
85  public:
87  ADTF_IID(IActiveRunner, "active_runner.spider.streaming.adtf.iid");
88 
95  };
96 }
97 
99 using ant::IRunner;
101 using ant::IActiveRunner;
102 
103 } //namespace streaming
104 } // namespace adtf
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:31
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.
Copyright © Audi Electronics Venture GmbH.