Zivid C++ API 2.9.0+4dbba385-1
Defining the Future of 3D Machine Vision
|
The time of frame capture More...
#include <Zivid/FrameInfo.h>
Public Types | |
using | ValueType = std::chrono::system_clock::time_point |
The type of the underlying value More... | |
Public Member Functions | |
TimeStamp ()=default | |
Default constructor More... | |
constexpr | TimeStamp (std::chrono::system_clock::time_point value) |
Constructor More... | |
std::chrono::system_clock::time_point | value () const |
Get the value More... | |
std::string | toString () const |
Get the value as string More... | |
bool | operator== (const TimeStamp &other) const |
Comparison operator More... | |
bool | operator!= (const TimeStamp &other) const |
Comparison operator More... | |
bool | operator< (const TimeStamp &other) const |
Comparison operator More... | |
bool | operator> (const TimeStamp &other) const |
Comparison operator More... | |
bool | operator<= (const TimeStamp &other) const |
Comparison operator More... | |
bool | operator>= (const TimeStamp &other) const |
Comparison operator More... | |
Static Public Member Functions | |
static constexpr Range< std::chrono::system_clock::time_point > | validRange () |
The range of valid values for TimeStamp More... | |
Static Public Attributes | |
static constexpr DataModel::NodeType | nodeType = DataModel::NodeType::leafValue |
The type of this node More... | |
static constexpr const char * | path { "TimeStamp" } |
The full path for this value More... | |
static constexpr const char * | name { "TimeStamp" } |
The name of this value More... | |
static constexpr const char * | description { R"description(The time of frame capture)description" } |
The description for this value More... | |
Friends | |
struct | DataModel::Detail::Befriend< TimeStamp > |
std::ostream & | operator<< (std::ostream &stream, const TimeStamp &value) |
Operator to serialize the value to a stream More... | |
The time of frame capture
using Zivid::FrameInfo::TimeStamp::ValueType = std::chrono::system_clock::time_point |
The type of the underlying value
|
default |
Default constructor
|
inlineexplicitconstexpr |
Constructor
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
std::string Zivid::FrameInfo::TimeStamp::toString | ( | ) | const |
Get the value as string
|
inlinestaticconstexpr |
The range of valid values for TimeStamp
std::chrono::system_clock::time_point Zivid::FrameInfo::TimeStamp::value | ( | ) | const |
Get the value
|
friend |
|
friend |
Operator to serialize the value to a stream
|
staticconstexpr |
The description for this value
|
staticconstexpr |
The name of this value
|
staticconstexpr |
The type of this node
|
staticconstexpr |
The full path for this value