212template<
typename ObjectType>
218 THROW_ERROR_DESC(ERR_NO_INTERFACE,
"Object does not implement the trigger pipe hierachy interface.");
221 bool bHasParent =
false;
234using ant::ITriggerPipeSource;
236using ant::ITriggerPipeItem;
238using ant::ITriggerPipe;
240using quiet::ITriggerPipeHierachy;
242using riddler::has_trigger_parent;
#define THROW_ERROR_DESC(_code,...)
throws a tResult exception
Definition result.h:85
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
#define RETURN_ERROR(code)
Return specific error code, which requires the calling function's return type to be tResult.
Definition result.h:42
Definition runnable_intf.h:27
Definition string_intf.h:29
Definition triggerpipe_intf.h:103
ADTF_IID(ITriggerPipeItem, "trigger_pipe_item.ant.streaming.adtf.iid")
Definition of interface ID.
~ITriggerPipeItem()=default
not destructable
Definition triggerpipe_intf.h:26
virtual tResult RegisterSubItem(const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, tPriority ui32Prio)=0
ADTF_IID(ITriggerPipeSource, "trigger_pipe_source.ant.streaming.adtf.iid")
definiton of interface id
virtual tResult UnregisterSubItem(const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun)=0
virtual tResult GetSubItems(adtf::ucom::ant::iobject_enum< const ITriggerPipeItem > &lstSubItems) const =0
~ITriggerPipeSource()=default
not destructable
virtual tResult ChangePriority(const adtf::ucom::ant::iobject_ptr< ITriggerPipeItem > &pSubRun, tPriority ui32Prio)=0
tPriority
Definition triggerpipe_intf.h:39
@ Higher
Higher Priority.
Definition triggerpipe_intf.h:53
@ Lower
Lower Priority.
Definition triggerpipe_intf.h:45
@ Normal
Normal Priority.
Definition triggerpipe_intf.h:49
@ Highest
Highest Priority.
Definition triggerpipe_intf.h:55
@ Lowest
Lowest Priority.
Definition triggerpipe_intf.h:43
@ AboveNormal
Above Normal Priority.
Definition triggerpipe_intf.h:51
@ BelowNormal
Below Normal Priority.
Definition triggerpipe_intf.h:47
@ Invalid
Invalid Priority.
Definition triggerpipe_intf.h:41
Definition triggerpipe_intf.h:120
~ITriggerPipe()=default
not destructable
virtual tResult GetFirstItem(adtf::ucom::ant::iobject_ptr< const ITriggerPipeSource > &pSubRu) const =0
virtual tResult Close()=0
ADTF_IID(ITriggerPipe, "trigger_pipe.ant.streaming.adtf.iid")
Definiton of interface id.
virtual tResult GetName(adtf::base::ant::IString &&strName) const =0
Definition triggerpipe_intf.h:169
virtual tResult GetTriggerParents(const ucom::nitro::ifunction< tResult(const ant::ITriggerPipeSource *)> &fnCallback) const =0
virtual tResult UnregisterTriggerParent(const ant::ITriggerPipeSource *pParent)=0
virtual tResult RegisterTriggerParent(const ant::ITriggerPipeSource *pParent)=0
~ITriggerPipeHierachy()=default
not destructable
ADTF_IID(ITriggerPipeHierachy, "trigger_pipe_hierachy.quiet.streaming.adtf.iid")
Definition of interface ID.
Definition object_intf.h:33
Definition object_list.h:22
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Definition function_ptr.h:28
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for all functionality of the ADTF Streaming SDK provided since v3.16.
Definition filtergraphport.h:487
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
function_wrapper< Signature > make_function(Callable &&fnCallback)
Definition function_ptr.h:159
InterfacePointerType ucom_cast(ObjectPointerType i_pObject) noexcept
Alias always bringing the latest version of ant::ucom_cast() into scope.
Definition ucom_cast.h:157
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14
bool has_trigger_parent(const ObjectType *pChild)
Checks whether the object has a parent trigger item or not.
Definition triggerpipe_intf.h:213