Standard Sample Copy Serializer implementation for ADTF 3 Samples with timestamps of nanoseconds resolution This serializer "only" memcpy the sample content from the sample data buffer adtf_file::WriteSample::beginBufferRead into the output stream.
More...
#include <adtf3_sample_copy_serializer.h>
|
| std::string | getId () const override |
| | Get the Id of the sample serializer.
|
| |
| void | setStreamType (const StreamType &stream_type) override |
| | Set the Stream Type and the serialization state of the serializer.
|
| |
| void | serialize (const WriteSample &sample, OutputStream &stream) override |
| | Serializes the sample into the given stream. These samples usually are described by the previous set stream type.
|
| |
Standard Sample Copy Serializer implementation for ADTF 3 Samples with timestamps of nanoseconds resolution This serializer "only" memcpy the sample content from the sample data buffer adtf_file::WriteSample::beginBufferRead into the output stream.
◆ getId()
| std::string adtf_file::adtf3::SampleCopySerializerNs::getId |
( |
| ) |
const |
|
overridevirtual |
◆ serialize()
Serializes the sample into the given stream. These samples usually are described by the previous set stream type.
- Parameters
-
| sample | the sample to serialize. |
| stream | the stream to write to. |
Implements adtf_file::SampleSerializer.
◆ setStreamType()
| void adtf_file::adtf3::SampleCopySerializerNs::setStreamType |
( |
const StreamType & | stream_type | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: