ADTF
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
cRunner

Default and simple Runner implementation. More...

#include <runner.h>

Inheritance diagram for cRunner:
[legend]

Public Member Functions

 cRunner ()
 CTOR.
 
 ~cRunner () override
 DTOR.
 
 cRunner (const char *strName)
 CTOR to set a name.
 
 cRunner (const char *strName, base::flash::IRunnable &oRunnable)
 CTOR to set a name and initialize with a Runnable instance immediatelly.
 
 cRunner (const char *strName, base::ant::IRunnable &oRunnable)
 CTOR to set a name and initialize with a Runnable instance immediatelly.
 
 cRunner (const char *strName, base::flash::IRunnable::tRunFunction oRunFunc)
 CTOR to set a name and initialize with a Runnable instance immediatelly.
 
 cRunner (const char *strName, base::ant::IRunnable::tRunFunction oRunFunc)
 CTOR to set a name and initialize with a Runnable instance immediatelly.
 
void SetRunnable (base::flash::IRunnable &oRunnable)
 
void SetRunnable (base::ant::IRunnable &oRunnable)
 
void SetRunnable (base::flash::IRunnable::tRunFunction oRunFunc)
 
void SetRunnable (base::ant::IRunnable::tRunFunction oRunFunc)
 
- Public Member Functions inherited from object< base::ant::IRunnable, ant::ITriggerPipeSource, ant::ITriggerPipeItem, ant::INamedGraphObject, ant::IRunner, base::flash::IRunnable >
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
tResult GetInterface (const char *i_strIID, void *&o_pInterface) override
 Query interfaces on an object.
 
tResult GetInterface (const char *i_strIID, const void *&o_pInterface) const override
 Provides const correct interface querying.
 
void Destroy () const override
 Switch from non-virtual destructor to virtual destructor.
 
- Public Member Functions inherited from IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 Marks the IObject to be castable with the ucom_cast()
 

Protected Attributes

std::unique_ptr< cImplementation > m_pImplementation
 

Additional Inherited Members

- Protected Member Functions inherited from IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 

Detailed Description

Default and simple Runner implementation.

Definition at line 92 of file runner.h.

Constructor & Destructor Documentation

◆ cRunner() [1/5]

cRunner ( const char * strName)

CTOR to set a name.

Parameters
strNamename for the graph object

◆ cRunner() [2/5]

cRunner ( const char * strName,
base::flash::IRunnable & oRunnable )

CTOR to set a name and initialize with a Runnable instance immediatelly.

Parameters
strNamename for the graph object
oRunnablereference to the runnable which will be called by the runner.

◆ cRunner() [3/5]

cRunner ( const char * strName,
base::ant::IRunnable & oRunnable )

CTOR to set a name and initialize with a Runnable instance immediatelly.

Parameters
strNamename for the graph object
oRunnablereference to the runnable which will be called by the runner.

◆ cRunner() [4/5]

cRunner ( const char * strName,
base::flash::IRunnable::tRunFunction oRunFunc )

CTOR to set a name and initialize with a Runnable instance immediatelly.

Parameters
strNamename for the graph object
oRunFuncreference to a function which will be called by the runner.

◆ cRunner() [5/5]

cRunner ( const char * strName,
base::ant::IRunnable::tRunFunction oRunFunc )

CTOR to set a name and initialize with a Runnable instance immediatelly.

Parameters
strNamename for the graph object
oRunFuncreference to a function which will be called by the runner.

Member Data Documentation

◆ m_pImplementation

std::unique_ptr<cImplementation> m_pImplementation
protected

Definition at line 140 of file runner.h.