ADTF
Loading...
Searching...
No Matches
sample_serialization_intf.h
Go to the documentation of this file.
1
7
#pragma once
8
#include "
streamtype_intf.h
"
9
#include "
sample_intf.h
"
10
11
namespace
adtf
12
{
13
namespace
streaming
14
{
15
namespace
ant
16
{
17
21
class
ISampleSerialization
:
public
ucom::ant::IObject
22
{
23
public
:
25
ADTF_IID
(
ISampleSerialization
,
"sample_serialization.ant.streaming.adtf.iid"
);
26
27
public
:
33
virtual
tResult
SetStreamType
(
const
ucom::ant::iobject_ptr<const IStreamType>
& pType) = 0;
34
41
virtual
tResult
Serialize
(
const
ISample
& pSample,
ucom::ant::IOutputStream
& oStream) = 0;
42
49
virtual
tResult
Deserialize
(
const
ucom::ant::IInputStream
& oStream,
ISample
& pSample) = 0;
50
};
51
52
}
53
54
using
ant::ISampleSerialization
;
55
56
}
57
}
tResult
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition
result.h:736
adtf::streaming::ant::ISampleSerialization
Definition
sample_serialization_intf.h:22
adtf::streaming::ant::ISampleSerialization::Deserialize
virtual tResult Deserialize(const ucom::ant::IInputStream &oStream, ISample &pSample)=0
adtf::streaming::ant::ISampleSerialization::Serialize
virtual tResult Serialize(const ISample &pSample, ucom::ant::IOutputStream &oStream)=0
adtf::streaming::ant::ISampleSerialization::SetStreamType
virtual tResult SetStreamType(const ucom::ant::iobject_ptr< const IStreamType > &pType)=0
adtf::streaming::ant::ISampleSerialization::ADTF_IID
ADTF_IID(ISampleSerialization, "sample_serialization.ant.streaming.adtf.iid")
definition of interface id
adtf::streaming::ant::ISample
Definition
sample_intf.h:34
adtf::ucom::ant::IInputStream
Definition
stream_intf.h:24
adtf::ucom::ant::IObject
Definition
object_intf.h:33
adtf::ucom::ant::IOutputStream
Definition
stream_intf.h:54
adtf::ucom::ant::iobject_ptr
Base object pointer to realize binary compatible reference counting in interface methods.
Definition
object_ptr_intf.h:112
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
Namespace for all functionality provided by ADTF and its SDKs.
Definition
adtf_client_connector.h:14
sample_intf.h
streamtype_intf.h
src
libraries
streaming3
include
adtfstreaming3
sample_serialization_intf.h
Copyright © CARIAD SE. All rights reserved | Generated on Thu Aug 6 2026 by doxygen 1.13.2 | GIT Commit Hash: 07d2f84367192978b2a55ca6aee7f968758b7220