ADTF
Loading...
Searching...
No Matches
pin.h
Go to the documentation of this file.
1
7
#pragma once
8
9
#include "
named_graph_object.h
"
10
#include "
triggerpipe.h
"
11
#include "
pin_intf.h
"
12
#include "
inpin_intf.h
"
13
#include "
outpin_intf.h
"
14
15
#include <
adtfucom3/adtf_ucom3.h
>
16
#include <
adtfbase/runnable_intf.h
>
17
18
#include <memory>
19
20
namespace
adtf
21
{
22
namespace
streaming
23
{
24
namespace
ant
25
{
26
32
class
cInPin
:
public
trigger_pipe_item
<INamedGraphObject, IPin, IInPin>
33
{
35
A_UTILS_D(
cInPin
)
36
37
public
:
39
cInPin
();
42
cInPin
(
const
char
* strName);
44
virtual
~cInPin
();
45
46
public
:
// implements IPin
47
tResult
GetType(
ucom::ant::iobject_ptr<const IStreamType>
& pStreamType)
const override
;
48
49
bool
IsConnected()
const override
;
50
tResult
SetActive()
override
;
51
tResult
SetInactive()
override
;
52
53
tResult
Disconnect()
override
;
54
tResult
GetSampleStream(
ucom::ant::iobject_ptr<ISampleStream>
& pSampleStream)
const override
;
55
56
public
:
// implements IInPin
57
tResult
Connect(
const
ucom::ant::iobject_ptr<ISampleStream>
& pSampleStream)
override
;
58
59
public
:
70
tResult
RegisterStreamer
(
ISampleReader
& pStreamReader);
71
84
tResult
UnregisterStreamer
(
ISampleStreamer
& pStreamReader);
85
};
86
92
class
cOutPin
:
public
trigger_pipe_item
<INamedGraphObject, IPin, IOutPin>
93
{
95
A_UTILS_D(
cOutPin
)
96
97
public
:
99
cOutPin
();
102
cOutPin
(
const
char
* strName);
104
virtual
~cOutPin
();
105
106
public
:
// implements IPin
107
tResult
GetType(
ucom::ant::iobject_ptr<const IStreamType>
& pStreamType)
const override
;
108
109
bool
IsConnected()
const override
;
110
tResult
SetActive()
override
;
111
tResult
SetInactive()
override
;
112
113
tResult
Disconnect();
114
tResult
GetSampleStream(
ucom::ant::iobject_ptr<ISampleStream>
& pSampleStream)
const override
;
115
116
public
:
// implements IOutPin
117
tResult
Connect(
const
ucom::ant::iobject_ptr<ISampleStream>
& pSampleStream)
override
;
118
119
public
:
130
tResult
RegisterStreamer
(
ISampleWriter
& pStreamWriter);
143
tResult
UnregisterStreamer
(
ISampleStreamer
& pStreamWriter);
144
};
145
151
class
cConfigurableInPin
:
public
ucom::catwo::object
<cInPin, adtf::base::configuration<>>
152
{
153
public
:
155
cConfigurableInPin
() =
default
;
158
cConfigurableInPin
(
const
char
* strName);
159
};
160
166
class
cConfigurableOutPin
:
public
ucom::catwo::object
<cOutPin, adtf::base::configuration<>>
167
{
168
public
:
170
cConfigurableOutPin
() =
default
;
173
cConfigurableOutPin
(
const
char
* strName);
174
};
175
176
}
// namespace ant
177
178
namespace
flash
179
{
180
181
class
cInPin :
182
public
trigger_pipe_item
<ant::INamedGraphObject, ant::IPin, flash::IStreamerPin, ant::IInPin>
183
{
184
public
:
185
cInPin();
186
cInPin(
const
char
* strName);
187
~cInPin();
188
189
public
:
190
tResult
GetType(
ucom::ant::iobject_ptr<const ant::IStreamType>
& pStreamType)
const override
;
191
bool
IsConnected()
const override
;
192
tResult
SetActive()
override
;
193
tResult
SetInactive()
override
;
194
tResult
Connect(
const
ucom::ant::iobject_ptr<ant::ISampleStream>
& pSampleStream)
override
;
195
tResult
Disconnect()
override
;
196
tResult
GetSampleStream(
ucom::ant::iobject_ptr<ant::ISampleStream>
& pSampleStream)
const override
;
197
198
tResult
RegisterStreamer(
flash::ISampleStreamer
& oStreamer)
override
;
199
tResult
UnregisterStreamer(
flash::ISampleStreamer
& oStreamer)
override
;
200
201
protected
:
202
class
cImplementation;
203
std::unique_ptr<cImplementation> m_pImplementation;
204
};
205
206
class
cOutPin :
207
public
trigger_pipe_item
<ant::INamedGraphObject, ant::IPin, flash::IStreamerPin, ant::IOutPin>
208
{
209
public
:
210
cOutPin();
211
cOutPin(
const
char
* strName);
212
~cOutPin();
213
214
public
:
215
tResult
GetType(
ucom::ant::iobject_ptr<const ant::IStreamType>
& pStreamType)
const override
;
216
bool
IsConnected()
const override
;
217
tResult
SetActive()
override
;
218
tResult
SetInactive()
override
;
219
tResult
Connect(
const
ucom::ant::iobject_ptr<ant::ISampleStream>
& pSampleStream)
override
;
220
tResult
Disconnect()
override
;
221
tResult
GetSampleStream(
ucom::ant::iobject_ptr<ant::ISampleStream>
& pSampleStream)
const override
;
222
223
tResult
RegisterStreamer(
flash::ISampleStreamer
& oStreamer)
override
;
224
tResult
UnregisterStreamer(
flash::ISampleStreamer
& oStreamer)
override
;
225
226
protected
:
227
class
cImplementation;
228
std::unique_ptr<cImplementation> m_pImplementation;
229
};
230
231
class
cConfigurableInPin :
public
ucom::catwo::object
<cInPin, adtf::base::configuration<>>
232
{
233
public
:
234
cConfigurableInPin();
235
cConfigurableInPin(
const
char
* strName);
236
};
237
238
class
cConfigurableOutPin :
public
ucom::catwo::object
<cOutPin, adtf::base::configuration<>>
239
{
240
public
:
241
cConfigurableOutPin();
242
cConfigurableOutPin(
const
char
* strName);
243
};
244
245
}
// namespace flash
246
247
namespace
quiet
248
{
249
250
using
flash::cInPin;
251
using
flash::cOutPin;
252
using
flash::cConfigurableInPin;
253
using
flash::cConfigurableOutPin;
254
255
}
// namespace quiet
256
257
using
quiet::cInPin;
258
using
quiet::cOutPin;
259
using
quiet::cConfigurableInPin;
260
using
quiet::cConfigurableOutPin;
261
262
}
// namespace streaming
263
}
// namespace adtf
adtf_ucom3.h
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:736
adtf::streaming::ant::ISampleReader
Definition
samplestreamer_intf.h:55
adtf::streaming::ant::ISampleStreamer
Local Sample Streamer Interface. This interface is only used to create a cInPin and cOutPin in a gene...
Definition
samplestreamer_intf.h:29
adtf::streaming::ant::ISampleWriter
Definition
samplestreamer_intf.h:76
adtf::streaming::ant::cConfigurableInPin::cConfigurableInPin
cConfigurableInPin(const char *strName)
adtf::streaming::ant::cConfigurableInPin::cConfigurableInPin
cConfigurableInPin()=default
CTOR.
adtf::streaming::ant::cConfigurableOutPin::cConfigurableOutPin
cConfigurableOutPin()=default
CTOR.
adtf::streaming::ant::cConfigurableOutPin::cConfigurableOutPin
cConfigurableOutPin(const char *strName)
adtf::streaming::ant::cInPin::RegisterStreamer
tResult RegisterStreamer(ISampleReader &pStreamReader)
adtf::streaming::ant::cInPin::cInPin
cInPin()
private dPointer
adtf::streaming::ant::cInPin::UnregisterStreamer
tResult UnregisterStreamer(ISampleStreamer &pStreamReader)
adtf::streaming::ant::cInPin::cInPin
cInPin(const char *strName)
adtf::streaming::ant::cInPin::~cInPin
virtual ~cInPin()
DTOR.
adtf::streaming::ant::cOutPin::RegisterStreamer
tResult RegisterStreamer(ISampleWriter &pStreamWriter)
adtf::streaming::ant::cOutPin::cOutPin
cOutPin()
private dPointer
adtf::streaming::ant::cOutPin::cOutPin
cOutPin(const char *strName)
adtf::streaming::ant::cOutPin::UnregisterStreamer
tResult UnregisterStreamer(ISampleStreamer &pStreamWriter)
adtf::streaming::ant::cOutPin::~cOutPin
virtual ~cOutPin()
DTOR.
adtf::streaming::flash::ISampleStreamer
Definition
samplestreamer_intf.h:130
adtf::streaming::trigger_pipe_item< INamedGraphObject, IPin, IInPin >::trigger_pipe_item
trigger_pipe_item()=default
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
inpin_intf.h
named_graph_object.h
adtf::streaming::ant
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition
bindingproxyoutport.h:16
adtf::streaming::flash
Namespace for all functionality of the ADTF Streaming SDK provided since v3.5.
Definition
filterbase.h:255
adtf::streaming
Namespace for the ADTF Streaming SDK.
Definition
bindingproxyinport.h:14
adtf
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
outpin_intf.h
pin_intf.h
runnable_intf.h
triggerpipe.h
src
libraries
streaming3
include
adtfstreaming3
pin.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220