ADTF
Loading...
Searching...
No Matches
runtime_behaviour.h
Go to the documentation of this file.
1
7#pragma once
8#include "runner_intf.h"
10
11namespace adtf
12{
13namespace streaming
14{
15namespace ant
16{
17
22 {
24 A_UTILS_D(cRuntimeBehaviour)
25
26
27 protected:
32
33 public: // implements IRuntimeBehaviour
40
52
64 virtual tResult RegisterRunner(const char* strName, base::ant::IRunnable& oRunnable);
65
75
81
103 };
104
112 template<typename Interface>
113 class runtime_behaviour : public ucom::catwo::object<IRuntimeBehaviour, Interface>, public cRuntimeBehaviour
114 {
115 public:
118 {
119 return cRuntimeBehaviour::GetRunners(lstRunners);
120 }
121
122 tResult FindRunner(const char* strName, ucom::ant::iobject_ptr<adtf::ucom::ant::IObject>& pRunner) const override
123 {
124 return cRuntimeBehaviour::FindRunner(strName, pRunner);
125 }
126
127 tResult GetInnerPipes(ucom::ant::iobject_list<ITriggerPipe>& lstInnerTriggerPipes) const override
128 {
129 return cRuntimeBehaviour::GetInnerPipes(lstInnerTriggerPipes);
130 }
131 };
132
133
134} //namespace ant
135
137using ant::runtime_behaviour;
138
139} //namespace streaming
140} // namespace adtf
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition runnable_intf.h:27
virtual tResult RegisterRunner(const char *strName, base::ant::IRunnable &oRunnable)
tResult FindRunner(const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pRunner) const
copydoc IRuntimeBehaviour::FindRunner
virtual tResult RegisterRunner(const ucom::ant::iobject_ptr< IRunner > &pRunner)
virtual tResult UnregisterInnerPipe(const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
tResult GetInnerPipes(ucom::ant::iobject_list< ITriggerPipe > &lstInnerpTriggerPipe) const
copydoc IRuntimeBehaviour::GetInnerPipes
virtual tResult UnregisterRunner(const ucom::ant::iobject_ptr< IRunner > &pRunner)
virtual tResult RegisterInnerPipe(const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
tResult GetRunners(ucom::ant::iobject_list< IRunner > &lstRunners) const
copydoc IRuntimeBehaviour::GetRunners
Definition runtime_behaviour.h:114
tResult GetRunners(ucom::ant::iobject_list< IRunner > &lstRunners) const override
Definition runtime_behaviour.h:117
tResult GetInnerPipes(ucom::ant::iobject_list< ITriggerPipe > &lstInnerTriggerPipes) const override
Definition runtime_behaviour.h:127
tResult FindRunner(const char *strName, ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > &pRunner) const override
Definition runtime_behaviour.h:122
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
Definition object.h:397
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition bindingproxyoutport.h:16
Namespace for the ADTF Streaming SDK.
Definition bindingproxyinport.h:14
iobject_enum< T > iobject_list
Definition object_list.h:387
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14