ADTF  3.14.3
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 
78 using ant::IRunner;
80 using ant::IActiveRunner;
81 
82 } //namespace streaming
83 } // 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...
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.

Copyright © Audi Electronics Venture GmbH. All rights reserved. (Generated on Thu Jun 9 2022 by doxygen 1.9.1)