adtf_file_library
0.13.1
|
Interface class for samples that are written. More...
#include <sample.h>
Public Member Functions | |
virtual std::chrono::nanoseconds | getTimeStamp () const =0 |
Get the Time Stamp. More... | |
virtual uint32_t | getFlags () const =0 |
Get the Flags. More... | |
virtual uint32_t | getSubStreamId () const =0 |
Get the Sub Stream Id if set. More... | |
virtual std::pair< const void *, size_t > | beginBufferRead () const =0 |
Retrieve a pointer to the memory buffer for user data and size in bytes. More... | |
virtual void | endBufferRead () const =0 |
Ends reading from memory buffer retruned by beginBufferRead. | |
virtual void | iterateInfo (std::function< void(uint32_t key, DataType type, uint64_t raw_bytes)> functor) const =0 |
iterates all additional data information (if any) by calling the functor More... | |
Interface class for samples that are written.
|
pure virtual |
Retrieve a pointer to the memory buffer for user data and size in bytes.
Implemented in adtf_file::DefaultSample.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
iterates all additional data information (if any) by calling the functor
functor | the function to call for each addition sample info value |
Implemented in adtf_file::DefaultSample.