|
Zivid
1.0.1+3607.8a7510c4
Zivid API
|
The time of frame capture More...
#include <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 (ValueType value) noexcept(std::is_nothrow_move_constructible< ValueType >::value) |
| Constructor More... | |
| const ValueType & | value () const |
| Get the value More... | |
| Range< ValueType > | range () const |
| The range of valid values More... | |
| void | setFromString (const std::string &value) |
| Set the value from string 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... | |
Static Public Attributes | |
| static constexpr bool | isContainer {false} |
| Check if it contains child members More... | |
| static constexpr const char * | path {"TimeStamp"} |
| Get the path More... | |
| static constexpr const char * | name {"TimeStamp"} |
| Get the name More... | |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const TimeStamp &value) |
| Operator to serialize the value to a stream More... | |
| std::istream & | operator>> (std::istream &stream, TimeStamp &value) |
| Operator to set the value from 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
|
inlineexplicitnoexcept |
Constructor
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
|
inline |
Comparison operator
| void Zivid::FrameInfo::TimeStamp::setFromString | ( | const std::string & | value | ) |
Set the value from string
| std::string Zivid::FrameInfo::TimeStamp::toString | ( | ) | const |
Get the value as string
|
inline |
Get the value
|
friend |
Operator to serialize the value to a stream
|
friend |
Operator to set the value from a stream
|
static |
Check if it contains child members
|
static |
Get the name
|
static |
Get the path
1.8.13