ADTF
|
Default implementation class template for a ITriggerPipeSource. More...
Public Member Functions | |
trigger_pipe_source ()=default | |
CTOR. | |
virtual | ~trigger_pipe_source ()=default |
DTOR. | |
tResult | RegisterSubItem (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, ITriggerPipeItem::tPriority ui32Prio) override |
Registers the pSubRun as SubItem of the source. More... | |
tResult | UnregisterSubItem (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun) override |
Unregisters the pSubRun from the source. More... | |
tResult | ChangePriority (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, ITriggerPipeItem::tPriority ui32Prio) override |
Changes the priority of the pSubRun . More... | |
tResult | GetSubItems (adtf::ucom::ant::iobject_enum< const ITriggerPipeItem > &lstSubItems) const override |
Retrieves a list of the registered Items. More... | |
Public Member Functions inherited from object< ITriggerPipeSource, ITriggerPipeSource > | |
tResult | GetInterface (const char *i_strIID, void *&o_pInterface) override |
Query interfaces on an object. More... | |
tResult | GetInterface (const char *i_strIID, const void *&o_pInterface) const override |
Provides const correct interface querying. More... | |
void | Destroy () const override |
Destruct and deallocate instantiations of type IObject . More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Protected Member Functions inherited from cTriggerPipeSourceImpl | |
cTriggerPipeSourceImpl () | |
CTOR. | |
virtual | ~cTriggerPipeSourceImpl ()=default |
DTOR. | |
tResult | RegisterSubItem (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, ITriggerPipeItem::tPriority ui32Prio) |
Registers the pSubRun as SubItem of the source. More... | |
tResult | UnregisterSubItem (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun) |
Unregisters the pSubRun from the source. More... | |
tResult | ChangePriority (const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, ITriggerPipeItem::tPriority ui32Prio) |
Changes the priority of the pSubRun . More... | |
tResult | GetSubItems (adtf::ucom::ant::iobject_enum< const ITriggerPipeItem > &lstSubItems) const |
Retrieves a list of the registered Items. More... | |
tResult | RunSubs (tTimeStamp tmTimeofActivation, adtf::base::ant::IRunnable::tActivationType ui32ActivationType, const void *pvUserData, size_t nUserDataSize) |
Then the Registered subitems will be called in order of ITriggerPipeItem::tPriority. More... | |
tResult | RunSubs (base::flash::tNanoSeconds tmTimeofActivation, adtf::base::ant::IRunnable::tActivationType ui32ActivationType, const void *pvUserData, size_t nUserDataSize) |
Static Protected Attributes inherited from cTriggerPipeSourceImpl | |
static adtf::base::IRunnable * | m_pNothingToDoRunnable |
internal runnable implementation to prevent nullpointer checks | |
Default implementation class template for a ITriggerPipeSource.
This template helps to use the default implementation in certain classes and will prevent multiple inheritance.
INTERFACE | The interface type derived from ITriggerPipeSource. |
Definition at line 94 of file triggerpipe.h.
|
inlineoverride |
Changes the priority of the pSubRun
.
[in] | pSubRun | TriggerPipeItem to register. |
[in] | ui32Prio | Priority of Run call. |
Definition at line 133 of file triggerpipe.h.
References cTriggerPipeSourceImpl::ChangePriority().
|
inlineoverride |
Retrieves a list of the registered Items.
[in] | lstSubItems | enumeration interface where to push the object references to. |
Definition at line 139 of file triggerpipe.h.
References cTriggerPipeSourceImpl::GetSubItems().
|
inlineoverride |
Registers the pSubRun
as SubItem of the source.
The source will forward a Run call to every registered ITriggerPipeItem in order of ui32Prio
.
[in] | pSubRun | TriggerPipeItem to register. |
[in] | ui32Prio | Priority of Run call. |
Definition at line 106 of file triggerpipe.h.
References adtf::streaming::ant::check_loop_call_in_trigger_pipe(), iobject_ptr_base< T >::Get(), adtf::streaming::ant::get_named_graph_object_full_name(), LOG_DUMP, cTriggerPipeSourceImpl::RegisterSubItem(), and RETURN_IF_FAILED.
|
inlineoverride |
Unregisters the pSubRun
from the source.
[in] | pSubRun | TriggerPipeItem to unregister. |
Definition at line 128 of file triggerpipe.h.
References cTriggerPipeSourceImpl::UnregisterSubItem().