|
| FrameInfo () |
| Default constructor.
|
|
| FrameInfo (const std::string &fileName) |
| Construct FrameInfo by loading from file.
|
|
std::string | serialize () const |
| Serialize to a string.
|
|
template<typename... Args> |
| FrameInfo (Args &&...args) |
| Constructor taking variadic number of arguments.
|
|
template<typename... Args> |
void | set (Args &&...args) |
| Set multiple arguments.
|
|
template<typename... Args> |
FrameInfo | copyWith (Args &&...args) const |
| Returns a copy of this object with the given argument(s) set to the new value(s)
|
|
const Metrics & | metrics () const |
| Get Metrics.
|
|
Metrics & | metrics () |
| Get Metrics.
|
|
FrameInfo & | set (const Metrics &value) |
| Set Metrics.
|
|
FrameInfo & | set (const Metrics::AcquisitionTime &value) |
| Set Metrics::AcquisitionTime.
|
|
FrameInfo & | set (const Metrics::CaptureTime &value) |
| Set Metrics::CaptureTime.
|
|
const SoftwareVersion & | softwareVersion () const |
| Get SoftwareVersion.
|
|
SoftwareVersion & | softwareVersion () |
| Get SoftwareVersion.
|
|
FrameInfo & | set (const SoftwareVersion &value) |
| Set SoftwareVersion.
|
|
FrameInfo & | set (const SoftwareVersion::Core &value) |
| Set SoftwareVersion::Core.
|
|
const SystemInfo & | systemInfo () const |
| Get SystemInfo.
|
|
SystemInfo & | systemInfo () |
| Get SystemInfo.
|
|
FrameInfo & | set (const SystemInfo &value) |
| Set SystemInfo.
|
|
FrameInfo & | set (const SystemInfo::CPU &value) |
| Set SystemInfo::CPU.
|
|
FrameInfo & | set (const SystemInfo::CPU::Model &value) |
| Set SystemInfo::CPU::Model.
|
|
FrameInfo & | set (const SystemInfo::ComputeDevice &value) |
| Set SystemInfo::ComputeDevice.
|
|
FrameInfo & | set (const SystemInfo::ComputeDevice::Model &value) |
| Set SystemInfo::ComputeDevice::Model.
|
|
FrameInfo & | set (const SystemInfo::ComputeDevice::Vendor &value) |
| Set SystemInfo::ComputeDevice::Vendor.
|
|
FrameInfo & | set (const SystemInfo::OperatingSystem &value) |
| Set SystemInfo::OperatingSystem.
|
|
const TimeStamp & | timeStamp () const |
| Get TimeStamp.
|
|
TimeStamp & | timeStamp () |
| Get TimeStamp.
|
|
FrameInfo & | set (const TimeStamp &value) |
| Set TimeStamp.
|
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::Metrics >::value, int >::type = 0> |
const FrameInfo::Metrics & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::Metrics::AcquisitionTime >::value, int >::type = 0> |
const FrameInfo::Metrics::AcquisitionTime & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::Metrics::CaptureTime >::value, int >::type = 0> |
const FrameInfo::Metrics::CaptureTime & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SoftwareVersion >::value, int >::type = 0> |
const FrameInfo::SoftwareVersion & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SoftwareVersion::Core >::value, int >::type = 0> |
const FrameInfo::SoftwareVersion::Core & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo >::value, int >::type = 0> |
const FrameInfo::SystemInfo & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::CPU >::value, int >::type = 0> |
const FrameInfo::SystemInfo::CPU & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::CPU::Model >::value, int >::type = 0> |
const FrameInfo::SystemInfo::CPU::Model & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::ComputeDevice >::value, int >::type = 0> |
const FrameInfo::SystemInfo::ComputeDevice & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::ComputeDevice::Model >::value, int >::type = 0> |
const FrameInfo::SystemInfo::ComputeDevice::Model & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::ComputeDevice::Vendor >::value, int >::type = 0> |
const FrameInfo::SystemInfo::ComputeDevice::Vendor & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::SystemInfo::OperatingSystem >::value, int >::type = 0> |
const FrameInfo::SystemInfo::OperatingSystem & | get () const |
|
template<typename T , typename std::enable_if< std::is_same< T, FrameInfo::TimeStamp >::value, int >::type = 0> |
const FrameInfo::TimeStamp & | get () const |
|
template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
const FrameInfo::Metrics & | get () const |
|
template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
const FrameInfo::SoftwareVersion & | get () const |
|
template<size_t i, typename std::enable_if< i==2, int >::type = 0> |
const FrameInfo::SystemInfo & | get () const |
|
template<size_t i, typename std::enable_if< i==3, int >::type = 0> |
const FrameInfo::TimeStamp & | get () const |
|
template<typename F > |
void | forEach (const F &f) const |
| Run the given function on each direct member with the value of the member as parameter.
|
|
template<typename F > |
void | forEach (const F &f) |
| Run the given function on each direct member with the value of the member as parameter.
|
|
bool | operator== (const FrameInfo &other) const |
| Equality operator.
|
|
bool | operator!= (const FrameInfo &other) const |
| Inequality operator.
|
|
std::string | toString () const |
| Get the value as string.
|
|
void | save (const std::string &fileName) const |
| Save to the given file.
|
|
void | load (const std::string &fileName) |
| Load from the given file.
|
|
Various information for a frame.