|
ADTF File Library
|
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. | |
| virtual uint32_t | getFlags () const =0 |
| Get the Flags. | |
| virtual uint32_t | getSubStreamId () const =0 |
| Get the Sub Stream Id if set. | |
| virtual std::pair< const void *, size_t > | beginBufferRead () const =0 |
| Retrieve a pointer to the memory buffer for user data and size in bytes. | |
| 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 | |
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 |
Ends reading from memory buffer retruned by beginBufferRead.
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.