ADTF
|
Interface for serializing samples. More...
Public Member Functions | |
ADTF_IID (ISampleSerialization, "sample_serialization.ant.streaming.adtf.iid") | |
definition of interface id | |
virtual tResult | SetStreamType (const ucom::ant::iobject_ptr< const IStreamType > &pType)=0 |
Set the stream type information. More... | |
virtual tResult | Serialize (const ISample &pSample, ucom::ant::IOutputStream &oStream)=0 |
Serializes a given sample into the given stream. More... | |
virtual tResult | Deserialize (const ucom::ant::IInputStream &oStream, ISample &pSample)=0 |
Deserializes a sample from a stream. More... | |
Public Member Functions inherited from IObject | |
ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Marks the IObject to be castable with the ucom_cast() More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IObject | |
~IObject ()=default | |
Protected destructor --> Use implemented Destroy() instead of delete! | |
Interface for serializing samples.
Definition at line 21 of file sample_serialization_intf.h.
|
pure virtual |
Deserializes a sample from a stream.
[in] | oStream | The input stream. |
[out] | pSample | The sample to deserialize the data to. |
|
pure virtual |
Serializes a given sample into the given stream.
[in] | pSample | The sample to serialize. |
[out] | oStream | The output stream. |
|
pure virtual |
Set the stream type information.
[in] | pType | The type. |