![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Stream/BackgroundThreadConsumer.h>
Helper struct uses as container for the BackgroundThreadQueue data elements. More...
Helper struct uses as container for the BackgroundThreadQueue data elements.
It allows to carry stream data's timestamps along.
Public Member Functions | |
| TimestampedPayload (std::unique_ptr< T > data, unsigned long long tDev=0, unsigned long long tArr=0) | |
| TimestampedPayload (std::shared_ptr< const T > data, unsigned long long tDev=0, unsigned long long tArr=0) | |
Public Attributes | |
| unsigned long long | timestampDevice |
| Timestamp of the streaming device, in milliseconds. | |
| unsigned long long | timestampArrival |
| Timestamp when the data is received in ImFusion framework, in milliseconds. | |
| std::shared_ptr< const T > | payload |
| The actual data, e.g. SharedImage. | |