ADTF
Loading...
Searching...
No Matches
adtf::streaming::ant::cRuntimeBehaviour Class Reference

#include <runtime_behaviour.h>

Inherited by adtf::filter::cGraphObject, adtf::streaming::ant::cSampleStreamingSink, adtf::streaming::ant::cSampleStreamingSource, and adtf::streaming::ant::runtime_behaviour< Interface >.

Public Member Functions

tResult GetRunners (ucom::ant::iobject_list< IRunner > &lstRunners) const
 copydoc IRuntimeBehaviour::GetRunners
 
tResult FindRunner (const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pRunner) const
 copydoc IRuntimeBehaviour::FindRunner
 
tResult GetInnerPipes (ucom::ant::iobject_list< ITriggerPipe > &lstInnerpTriggerPipe) const
 copydoc IRuntimeBehaviour::GetInnerPipes
 
virtual tResult RegisterRunner (const ucom::ant::iobject_ptr< IRunner > &pRunner)
 
virtual tResult RegisterRunner (const char *strName, base::ant::IRunnable &oRunnable)
 
virtual tResult UnregisterRunner (const ucom::ant::iobject_ptr< IRunner > &pRunner)
 
tResult ReleaseRunners ()
 
virtual tResult RegisterInnerPipe (const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
 
virtual tResult UnregisterInnerPipe (const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
 
tResult ReleaseTriggerPipes ()
 

Protected Member Functions

 cRuntimeBehaviour ()
 private _d-pointer
 
virtual ~cRuntimeBehaviour ()
 DTOR.
 

Detailed Description

Default implementation for the IRuntimeBehaviour.

Constructor & Destructor Documentation

◆ cRuntimeBehaviour()

adtf::streaming::ant::cRuntimeBehaviour::cRuntimeBehaviour ( )
protected

private _d-pointer

CTOR

Member Function Documentation

◆ RegisterInnerPipe()

virtual tResult adtf::streaming::ant::cRuntimeBehaviour::RegisterInnerPipe ( const ucom::ant::iobject_ptr< ITriggerPipe > & pTriggerPipe)
virtual

Registers and publishes an inner ITriggerPipe object to the IRuntimeBehaviour.

Parameters
pTriggerPipe[in] The ITriggerPipe to register.
Returns
Standard Result Code

Reimplemented in adtf::streaming::ant::cSampleStreamingSink.

◆ RegisterRunner() [1/2]

virtual tResult adtf::streaming::ant::cRuntimeBehaviour::RegisterRunner ( const char * strName,
base::ant::IRunnable & oRunnable )
virtual

Create and Registers a IRunner object for your oRunnable with the name strName.

Parameters
strName[in] Name of the Runner to create and register.
oRunnable[in] The reference to the Runnable implemetation which will be called.
Remarks
Make sure the instance of the oRunnable lives as long the runner is registered.
Returns
Standard Result Code
Return values
ERR_INVALID_ARGA Runner with the same name is already registered.

Reimplemented in adtf::filter::cGraphObject, and adtf::streaming::ant::cSampleStreamingSink.

◆ RegisterRunner() [2/2]

virtual tResult adtf::streaming::ant::cRuntimeBehaviour::RegisterRunner ( const ucom::ant::iobject_ptr< IRunner > & pRunner)
virtual

Registers and publishes a IRunner object to the IRuntimeBehaviour. This makes sure the runner is only registered once. The Runner has to have a name already set. You can not register a Runner with the same name twice.

Parameters
pRunner[in] The object reference to the Runner which will be published.
Returns
Standard Result Code
Return values
ERR_INVALID_ARGA Runner with the same name is already registered.

Reimplemented in adtf::filter::cGraphObject, and adtf::streaming::ant::cSampleStreamingSink.

◆ ReleaseRunners()

tResult adtf::streaming::ant::cRuntimeBehaviour::ReleaseRunners ( )

Release every registered Runners

Returns
Standard Result Code

◆ ReleaseTriggerPipes()

tResult adtf::streaming::ant::cRuntimeBehaviour::ReleaseTriggerPipes ( )

Release and unregister every registered TriggerPipes

Returns
Standard Result Code

◆ UnregisterInnerPipe()

virtual tResult adtf::streaming::ant::cRuntimeBehaviour::UnregisterInnerPipe ( const ucom::ant::iobject_ptr< ITriggerPipe > & pTriggerPipe)
virtual

Unregisters an inner ITriggerPipe object.

Parameters
pTriggerPipe[in] The ITriggerPipe to unregister.
Returns
Standard Result Code

◆ UnregisterRunner()

virtual tResult adtf::streaming::ant::cRuntimeBehaviour::UnregisterRunner ( const ucom::ant::iobject_ptr< IRunner > & pRunner)
virtual

Unregisters a Runner.

Parameters
pRunner[in] The object reference to the Runner which will be unregistered.
Returns
Standard Result Code
Return values
ERR_INVALID_ARGA Runner with the same name is already registered.

The documentation for this class was generated from the following file: