The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
More...
#include <Zivid/CameraHealth.h>
|
| | DMD () |
| | Default constructor.
|
| template<typename... Args> |
| | DMD (Args &&...args) |
| | Constructor taking variadic number of arguments.
|
| template<typename... Args> |
| void | set (Args &&...args) |
| | Set multiple arguments.
|
| template<typename... Args> |
| DMD | copyWith (Args &&...args) const |
| | Returns a copy of this object with the given argument(s) set to the new value(s)
|
| const Status & | status () const |
| | Get Status.
|
| Status & | status () |
| | Get Status.
|
| DMD & | set (const Status &value) |
| | Set Status.
|
| const Value & | value () const |
| | Get Value.
|
| Value & | value () |
| | Get Value.
|
| DMD & | set (const Value &value) |
| | Set Value.
|
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Status >::value, int >::type = 0> |
| const CameraHealth::Temperature::DMD::Status & | get () const |
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Value >::value, int >::type = 0> |
| const CameraHealth::Temperature::DMD::Value & | get () const |
| template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
| const CameraHealth::Temperature::DMD::Status & | get () const |
| template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
| const CameraHealth::Temperature::DMD::Value & | 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 DMD &other) const |
| | Equality operator.
|
| bool | operator!= (const DMD &other) const |
| | Inequality operator.
|
| std::string | toString () const |
| | Get the value as string.
|
The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
◆ Descendants
Initial value:
std::tuple<CameraHealth::Temperature::DMD::Status, CameraHealth::Temperature::DMD::Value>
◆ DMD() [1/2]
| Zivid::CameraHealth::Temperature::DMD::DMD |
( |
| ) |
|
◆ DMD() [2/2]
template<typename... Args>
| Zivid::CameraHealth::Temperature::DMD::DMD |
( |
Args &&... | args | ) |
|
|
inlineexplicit |
Constructor taking variadic number of arguments.
One or more descendant types can be provided. All types not provided will be set to their default value. The result is the same as default constructing DMD then invoking set(args).
The provided arguments must be descendants of DMD. These types can be provided:
◆ copyWith()
template<typename... Args>
| DMD Zivid::CameraHealth::Temperature::DMD::copyWith |
( |
Args &&... | args | ) |
const |
|
inline |
Returns a copy of this object with the given argument(s) set to the new value(s)
Creates a copy of this DMD object, then invokes set(args) on the copy, and finally returns the copy. This method does not modify the original object.
The provided arguments must be descendants of DMD. These types can be provided:
◆ forEach() [1/2]
template<typename F>
| void Zivid::CameraHealth::Temperature::DMD::forEach |
( |
const F & | f | ) |
|
|
inline |
Run the given function on each direct member with the value of the member as parameter.
◆ forEach() [2/2]
template<typename F>
| void Zivid::CameraHealth::Temperature::DMD::forEach |
( |
const F & | f | ) |
const |
|
inline |
Run the given function on each direct member with the value of the member as parameter.
◆ get() [1/4]
◆ get() [2/4]
◆ get() [3/4]
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
◆ get() [4/4]
template<size_t i, typename std::enable_if< i==1, int >::type = 0>
◆ operator!=()
| bool Zivid::CameraHealth::Temperature::DMD::operator!= |
( |
const DMD & | other | ) |
const |
◆ operator==()
| bool Zivid::CameraHealth::Temperature::DMD::operator== |
( |
const DMD & | other | ) |
const |
◆ set() [1/3]
template<typename... Args>
| void Zivid::CameraHealth::Temperature::DMD::set |
( |
Args &&... | args | ) |
|
|
inline |
Set multiple arguments.
The method invokes set(arg) with each of the provided arguments.
The provided arguments must be descendants of DMD. These types can be provided:
◆ set() [2/3]
| DMD & Zivid::CameraHealth::Temperature::DMD::set |
( |
const Status & | value | ) |
|
|
inline |
◆ set() [3/3]
| DMD & Zivid::CameraHealth::Temperature::DMD::set |
( |
const Value & | value | ) |
|
|
inline |
◆ status() [1/2]
| Status & Zivid::CameraHealth::Temperature::DMD::status |
( |
| ) |
|
|
inline |
◆ status() [2/2]
| const Status & Zivid::CameraHealth::Temperature::DMD::status |
( |
| ) |
const |
|
inline |
◆ toString()
| std::string Zivid::CameraHealth::Temperature::DMD::toString |
( |
| ) |
const |
◆ value() [1/2]
| Value & Zivid::CameraHealth::Temperature::DMD::value |
( |
| ) |
|
|
inline |
◆ value() [2/2]
| const Value & Zivid::CameraHealth::Temperature::DMD::value |
( |
| ) |
const |
|
inline |
◆ DataModel::Detail::Befriend< DMD >
| friend struct DataModel::Detail::Befriend< DMD > |
|
friend |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const DMD & | value ) |
|
friend |
Operator to send the value as string to a stream.
◆ description
| const char* Zivid::CameraHealth::Temperature::DMD::description |
|
staticconstexpr |
Initial value:{
R"description(The status of the DMD (Digital Micromirror Device)
temperature, in degrees Celsius.
- OK: Temperature in (0, 50)
- Suboptimal: Temperature in [50, 60]
- Error: Temperature < 0 or > 60
)description"
}
The description for this value.
◆ name
| const char* Zivid::CameraHealth::Temperature::DMD::name { "DMD" } |
|
staticconstexpr |
◆ nodeType
◆ path
| const char* Zivid::CameraHealth::Temperature::DMD::path { "Temperature/DMD" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: