Rerun C++ SDK
|
Component: Timestamp inside a archetypes::AssetVideo
.
More...
#include <rerun/components/video_timestamp.hpp>
Public Member Functions | |
template<typename TRep , typename TPeriod > | |
VideoTimestamp (std::chrono::duration< TRep, TPeriod > time) | |
Creates a new VideoTimestamp from a presentation timestamp as a chrono duration. | |
VideoTimestamp (rerun::datatypes::VideoTimestamp timestamp_) | |
VideoTimestamp & | operator= (rerun::datatypes::VideoTimestamp timestamp_) |
VideoTimestamp (int64_t timestamp_ns_) | |
VideoTimestamp & | operator= (int64_t timestamp_ns_) |
operator rerun::datatypes::VideoTimestamp () const | |
Cast to the underlying VideoTimestamp datatype. | |
Static Public Member Functions | |
static VideoTimestamp | from_seconds (double seconds) |
Creates a new VideoTimestamp from a presentation timestamp in seconds. | |
static VideoTimestamp | from_milliseconds (double milliseconds) |
Creates a new VideoTimestamp from a presentation timestamp in milliseconds. | |
static VideoTimestamp | from_nanoseconds (int64_t nanoseconds) |
Creates a new VideoTimestamp from a presentation timestamp in nanoseconds. | |
Public Attributes | |
rerun::datatypes::VideoTimestamp | timestamp |
Component: Timestamp inside a archetypes::AssetVideo
.