|
ADTF
|
#include <sample_serialization_intf.h>
Inherits adtf::ucom::ant::IObject.
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 |
| virtual tResult | Serialize (const ISample &pSample, ucom::ant::IOutputStream &oStream)=0 |
| virtual tResult | Deserialize (const ucom::ant::IInputStream &oStream, ISample &pSample)=0 |
Public Member Functions inherited from adtf::ucom::ant::IObject | |
| ADTF_IID (IObject, "object.ant.ucom.adtf.iid") | |
Additional Inherited Members | |
Protected Member Functions inherited from adtf::ucom::ant::IObject | |
| ~IObject ()=default | |
| Protected destructor --> Only the final implementation can be destroyed! | |
Interface for serializing samples.
|
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. |