|
ADTF
|
SampleDeserializer for ADTF 3 Samples with timestamp of nanoseconds resolution. This deserializer "only" memcpy the sample content from the input stream into the sample data buffer adtf_file::ReadSample::beginBufferWrite.
More...
#include <adtf3_sample_copy_deserializer.h>
Inherits adtf_file::SampleDeserializer.
Public Member Functions | |
| void | setStreamType (const StreamType &type) override |
| StreamType infomation to initialize deserializer if needed. | |
| void | deserialize (ReadSample &sample, InputStream &stream) override |
Deserialize a sample from stream. | |
Static Public Attributes | |
| static constexpr const char * | id = "sample_copy_serialization_ns.serialization.adtf.cid" |
| identifier for SampleCopyDeserializerNs and SampleCopySerializerNs | |
SampleDeserializer for ADTF 3 Samples with timestamp of nanoseconds resolution. This deserializer "only" memcpy the sample content from the input stream into the sample data buffer adtf_file::ReadSample::beginBufferWrite.
|
overridevirtual |
Deserialize a sample from stream.
| sample | the sample to deserialize to |
| stream | the stream to read from |
Implements adtf_file::SampleDeserializer.
|
overridevirtual |
StreamType infomation to initialize deserializer if needed.
| type |
Implements adtf_file::SampleDeserializer.