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
11namespace adtf
12{
13namespace streaming
14{
15namespace ant
16{
17
22{
23 public:
25 ADTF_IID(ISampleSerialization, "sample_serialization.ant.streaming.adtf.iid");
26
27 public:
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
55
56}
57}
A_UTILS_NS::cResult tResult
For backwards compatibility and to bring latest version into scope.
Definition result.h:736
Definition sample_serialization_intf.h:22
virtual tResult Deserialize(const ucom::ant::IInputStream &oStream, ISample &pSample)=0
virtual tResult Serialize(const ISample &pSample, ucom::ant::IOutputStream &oStream)=0
virtual tResult SetStreamType(const ucom::ant::iobject_ptr< const IStreamType > &pType)=0
ADTF_IID(ISampleSerialization, "sample_serialization.ant.streaming.adtf.iid")
definition of interface id
Definition sample_intf.h:34
Definition stream_intf.h:24
Definition object_intf.h:33
Definition stream_intf.h:54
Base object pointer to realize binary compatible reference counting in interface methods.
Definition object_ptr_intf.h:112
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
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtf_client_connector.h:14