Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::VideoTimestamp Struct Reference

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_)
 
VideoTimestampoperator= (rerun::datatypes::VideoTimestamp timestamp_)
 
 VideoTimestamp (int64_t timestamp_ns_)
 
VideoTimestampoperator= (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
 

Detailed Description

Component: Timestamp inside a archetypes::AssetVideo.


The documentation for this struct was generated from the following file: