ADTF
Loading...
Searching...
No Matches
sampleinstream_intf.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
samplestreamaccess_intf.h
"
9
#include "
streamitem_intf.h
"
10
11
#include <
adtfucom3/adtf_ucom3.h
>
12
13
namespace
adtf
14
{
15
namespace
streaming
16
{
17
namespace
ant
18
{
26
class
ISampleInStream
:
public
adtf::ucom::ant::IObject
27
{
28
protected
:
30
~ISampleInStream
() =
default
;
31
public
:
33
ADTF_IID
(
ISampleInStream
,
"sampleinstream.ant.streaming.adtf.iid"
);
34
35
public
:
37
template
<
typename
T>
38
using
iobject_ptr
= adtf::ucom::ant::iobject_ptr < T >;
39
40
public
:
45
virtual
ISampleStreamAccess::tMode
GetMode
()
const
= 0;
46
52
virtual
tResult
SetStreamError
(
const
tResult
& oError) = 0;
53
68
virtual
tResult
Read
(
IStreamItem
& oItem, tTimeStamp tmTimeOut = 0)
const
= 0;
69
};
70
80
inline
const
ISampleInStream
&
operator >>
(
const
ISampleInStream
& oStreamReader,
81
IStreamItem
& oItem)
82
{
83
oStreamReader.
Read
(oItem, 0);
84
return
oStreamReader;
85
}
86
}
//namespace ant
87
89
using
ant::ISampleInStream;
90
91
}
//namespac streaming
92
}
//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::ISampleInStream
Definition
sampleinstream_intf.h:27
adtf::streaming::ant::ISampleInStream::ADTF_IID
ADTF_IID(ISampleInStream, "sampleinstream.ant.streaming.adtf.iid")
Definition of interface id.
adtf::streaming::ant::ISampleInStream::SetStreamError
virtual tResult SetStreamError(const tResult &oError)=0
adtf::streaming::ant::ISampleInStream::~ISampleInStream
~ISampleInStream()=default
not destructable
adtf::streaming::ant::ISampleInStream::GetMode
virtual ISampleStreamAccess::tMode GetMode() const =0
adtf::streaming::ant::ISampleInStream::Read
virtual tResult Read(IStreamItem &oItem, tTimeStamp tmTimeOut=0) const =0
adtf::streaming::ant::ISampleInStream::iobject_ptr
adtf::ucom::ant::iobject_ptr< T > iobject_ptr
used iobject_ptr
Definition
sampleinstream_intf.h:38
adtf::streaming::ant::ISampleStreamAccess::tMode
tMode
Definition
samplestreamaccess_intf.h:26
adtf::streaming::ant::IStreamItem
Definition
streamitem_intf.h:25
adtf::ucom::ant::IObject
Definition
object_intf.h:33
adtf::streaming::ant
Namespace for all functionality of the ADTF Streaming SDK provided since v3.0.
Definition
bindingproxyoutport.h:16
adtf::streaming::ant::operator>>
const ISampleInStream & operator>>(const ISampleInStream &oStreamReader, IStreamItem &oItem)
Definition
sampleinstream_intf.h:80
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
samplestreamaccess_intf.h
streamitem_intf.h
src
libraries
streaming3
include
adtfstreaming3
sampleinstream_intf.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220