ADTF
Loading...
Searching...
No Matches
adtf::streaming::runtime_behaviour< Interface > Class Template Reference

brings latest ant::runtime_behaviour to the users scope More...

#include <runtime_behaviour.h>

Inherits adtf::ucom::catwo::object< IRuntimeBehaviour, Interface >, and adtf::streaming::ant::cRuntimeBehaviour.

Public Member Functions

tResult GetRunners (ucom::ant::iobject_list< IRunner > &lstRunners) const override
 
tResult FindRunner (const char *strName, ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > &pRunner) const override
 
tResult GetInnerPipes (ucom::ant::iobject_list< ITriggerPipe > &lstInnerTriggerPipes) const override
 
- Public Member Functions inherited from adtf::ucom::catwo::object< IRuntimeBehaviour, Interface >
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 adtf::ucom::ant::IObject
 ADTF_IID (IObject, "object.ant.ucom.adtf.iid")
 
- Public Member Functions inherited from adtf::streaming::ant::cRuntimeBehaviour
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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from adtf::ucom::ant::IObject
 ~IObject ()=default
 Protected destructor --> Only the final implementation can be destroyed!
 
- Protected Member Functions inherited from adtf::streaming::ant::cRuntimeBehaviour
 cRuntimeBehaviour ()
 private _d-pointer
 
virtual ~cRuntimeBehaviour ()
 DTOR.
 

Detailed Description

template<typename Interface>
class adtf::streaming::runtime_behaviour< Interface >

brings latest ant::runtime_behaviour to the users scope

Default Class Template for a Runtime Behaviour implementation. This template helps to prevent multiple inheritance.

Template Parameters
InterfaceUse the parameter for your type which is derived by IRuntimeBehaviour.

Member Function Documentation

◆ FindRunner()

template<typename Interface>
tResult adtf::streaming::ant::runtime_behaviour< Interface >::FindRunner ( const char * strName,
ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > & pRunner ) const
inlineoverride

Find a Runner with the name of strName (only const access)

Parameters
strName[in] Pointer to a string that identifies the pin that searches for. Call the IRunner::GetName method to retrieve a runner's identifier.
pRunner[out] contains the runner if found.
Returns
Returns a standard result code.
Return values
ERR_NOT_FOUNDRunner with the given name strName not found.

◆ GetInnerPipes()

template<typename Interface>
tResult adtf::streaming::ant::runtime_behaviour< Interface >::GetInnerPipes ( ucom::ant::iobject_list< ITriggerPipe > & lstInnerTriggerPipes) const
inlineoverride

Returns the current internal TriggerPipes.

Parameters
[out]lstInnerTriggerPipesobject_list where to push the triggerpipes to.
Returns
Returns a standard result code.

◆ GetRunners()

template<typename Interface>
tResult adtf::streaming::ant::runtime_behaviour< Interface >::GetRunners ( ucom::ant::iobject_list< IRunner > & lstRunners) const
inlineoverride

Returns the current Runners.

Parameters
[out]lstRunnersobject_list where to push the runners to.
Returns
Returns a standard result code.

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