ADTF
Loading...
Searching...
No Matches
runtime_behaviour.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
runner_intf.h
"
9
#include "
runtime_behaviour_intf.h
"
10
11
namespace
adtf
12
{
13
namespace
streaming
14
{
15
namespace
ant
16
{
17
21
class
cRuntimeBehaviour
22
{
24
A_UTILS_D(
cRuntimeBehaviour
)
25
26
27
protected
:
29
cRuntimeBehaviour
();
31
virtual
~cRuntimeBehaviour
();
32
33
public
:
// implements IRuntimeBehaviour
35
tResult
GetRunners
(
ucom::ant::iobject_list<IRunner>
& lstRunners)
const
;
37
tResult
FindRunner
(
const
char
* strName,
ucom::ant::iobject_ptr<ucom::ant::IObject>
& pRunner)
const
;
39
tResult
GetInnerPipes
(
ucom::ant::iobject_list<ITriggerPipe>
& lstInnerpTriggerPipe)
const
;
40
51
virtual
tResult
RegisterRunner
(
const
ucom::ant::iobject_ptr<IRunner>
& pRunner);
52
64
virtual
tResult
RegisterRunner
(
const
char
* strName,
base::ant::IRunnable
& oRunnable);
65
74
virtual
tResult
UnregisterRunner
(
const
ucom::ant::iobject_ptr<IRunner>
& pRunner);
75
80
tResult
ReleaseRunners
();
81
89
virtual
tResult
RegisterInnerPipe
(
const
ucom::ant::iobject_ptr<ITriggerPipe>
& pTriggerPipe);
97
virtual
tResult
UnregisterInnerPipe
(
const
ucom::ant::iobject_ptr<ITriggerPipe>
& pTriggerPipe);
102
tResult
ReleaseTriggerPipes
();
103
};
104
112
template
<
typename
Interface>
113
class
runtime_behaviour
:
public
ucom::catwo::object
<IRuntimeBehaviour, Interface>,
public
cRuntimeBehaviour
114
{
115
public
:
117
tResult
GetRunners
(
ucom::ant::iobject_list<IRunner>
& lstRunners)
const override
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
137
using
ant::runtime_behaviour;
138
139
}
//namespace streaming
140
}
// namespace adtf
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:736
adtf::base::ant::IRunnable
Definition
runnable_intf.h:27
adtf::streaming::ant::cRuntimeBehaviour::cRuntimeBehaviour
cRuntimeBehaviour()
private _d-pointer
adtf::streaming::ant::cRuntimeBehaviour::ReleaseRunners
tResult ReleaseRunners()
adtf::streaming::ant::cRuntimeBehaviour::RegisterRunner
virtual tResult RegisterRunner(const char *strName, base::ant::IRunnable &oRunnable)
adtf::streaming::ant::cRuntimeBehaviour::FindRunner
tResult FindRunner(const char *strName, ucom::ant::iobject_ptr< ucom::ant::IObject > &pRunner) const
copydoc IRuntimeBehaviour::FindRunner
adtf::streaming::ant::cRuntimeBehaviour::RegisterRunner
virtual tResult RegisterRunner(const ucom::ant::iobject_ptr< IRunner > &pRunner)
adtf::streaming::ant::cRuntimeBehaviour::UnregisterInnerPipe
virtual tResult UnregisterInnerPipe(const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
adtf::streaming::ant::cRuntimeBehaviour::GetInnerPipes
tResult GetInnerPipes(ucom::ant::iobject_list< ITriggerPipe > &lstInnerpTriggerPipe) const
copydoc IRuntimeBehaviour::GetInnerPipes
adtf::streaming::ant::cRuntimeBehaviour::UnregisterRunner
virtual tResult UnregisterRunner(const ucom::ant::iobject_ptr< IRunner > &pRunner)
adtf::streaming::ant::cRuntimeBehaviour::ReleaseTriggerPipes
tResult ReleaseTriggerPipes()
adtf::streaming::ant::cRuntimeBehaviour::RegisterInnerPipe
virtual tResult RegisterInnerPipe(const ucom::ant::iobject_ptr< ITriggerPipe > &pTriggerPipe)
adtf::streaming::ant::cRuntimeBehaviour::~cRuntimeBehaviour
virtual ~cRuntimeBehaviour()
DTOR.
adtf::streaming::ant::cRuntimeBehaviour::GetRunners
tResult GetRunners(ucom::ant::iobject_list< IRunner > &lstRunners) const
copydoc IRuntimeBehaviour::GetRunners
adtf::streaming::ant::runtime_behaviour
Definition
runtime_behaviour.h:114
adtf::streaming::ant::runtime_behaviour::GetRunners
tResult GetRunners(ucom::ant::iobject_list< IRunner > &lstRunners) const override
Definition
runtime_behaviour.h:117
adtf::streaming::ant::runtime_behaviour::GetInnerPipes
tResult GetInnerPipes(ucom::ant::iobject_list< ITriggerPipe > &lstInnerTriggerPipes) const override
Definition
runtime_behaviour.h:127
adtf::streaming::ant::runtime_behaviour::FindRunner
tResult FindRunner(const char *strName, ucom::ant::iobject_ptr< adtf::ucom::ant::IObject > &pRunner) const override
Definition
runtime_behaviour.h:122
adtf::ucom::ant::iobject_ptr
Base object pointer to realize binary compatible reference counting in interface methods.
Definition
object_ptr_intf.h:112
adtf::ucom::catwo::object
Definition
object.h:397
adtf::streaming::ant
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition
bindingproxyoutport.h:16
adtf::streaming
Namespace for the ADTF Streaming SDK.
Definition
bindingproxyinport.h:14
adtf::ucom::ant::iobject_list
iobject_enum< T > iobject_list
Definition
object_list.h:387
adtf
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
runner_intf.h
runtime_behaviour_intf.h
src
libraries
streaming3
include
adtfstreaming3
runtime_behaviour.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220