The status of the LED temperature, in degrees Celsius.
More...
#include <Zivid/CameraHealth.h>
|
| | LED () |
| | Default constructor.
|
| template<typename... Args> |
| | LED (Args &&...args) |
| | Constructor taking variadic number of arguments.
|
| template<typename... Args> |
| void | set (Args &&...args) |
| | Set multiple arguments.
|
| template<typename... Args> |
| LED | 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.
|
| LED & | set (const Status &value) |
| | Set Status.
|
| const Value & | value () const |
| | Get Value.
|
| Value & | value () |
| | Get Value.
|
| LED & | set (const Value &value) |
| | Set Value.
|
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Status >::value, int >::type = 0> |
| const CameraHealth::Temperature::LED::Status & | get () const |
| template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Value >::value, int >::type = 0> |
| const CameraHealth::Temperature::LED::Value & | get () const |
| template<size_t i, typename std::enable_if< i==0, int >::type = 0> |
| const CameraHealth::Temperature::LED::Status & | get () const |
| template<size_t i, typename std::enable_if< i==1, int >::type = 0> |
| const CameraHealth::Temperature::LED::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 LED &other) const |
| | Equality operator.
|
| bool | operator!= (const LED &other) const |
| | Inequality operator.
|
| std::string | toString () const |
| | Get the value as string.
|
The status of the LED temperature, in degrees Celsius.
◆ Descendants
Initial value:
std::tuple<CameraHealth::Temperature::LED::Status, CameraHealth::Temperature::LED::Value>
◆ LED() [1/2]
| Zivid::CameraHealth::Temperature::LED::LED |
( |
| ) |
|
◆ LED() [2/2]
template<typename... Args>
| Zivid::CameraHealth::Temperature::LED::LED |
( |
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 LED then invoking set(args).
The provided arguments must be descendants of LED. These types can be provided:
◆ copyWith()
template<typename... Args>
| LED Zivid::CameraHealth::Temperature::LED::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 LED 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 LED. These types can be provided:
◆ forEach() [1/2]
template<typename F>
| void Zivid::CameraHealth::Temperature::LED::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::LED::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::LED::operator!= |
( |
const LED & | other | ) |
const |
◆ operator==()
| bool Zivid::CameraHealth::Temperature::LED::operator== |
( |
const LED & | other | ) |
const |
◆ set() [1/3]
template<typename... Args>
| void Zivid::CameraHealth::Temperature::LED::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 LED. These types can be provided:
◆ set() [2/3]
| LED & Zivid::CameraHealth::Temperature::LED::set |
( |
const Status & | value | ) |
|
|
inline |
◆ set() [3/3]
| LED & Zivid::CameraHealth::Temperature::LED::set |
( |
const Value & | value | ) |
|
|
inline |
◆ status() [1/2]
| Status & Zivid::CameraHealth::Temperature::LED::status |
( |
| ) |
|
|
inline |
◆ status() [2/2]
| const Status & Zivid::CameraHealth::Temperature::LED::status |
( |
| ) |
const |
|
inline |
◆ toString()
| std::string Zivid::CameraHealth::Temperature::LED::toString |
( |
| ) |
const |
◆ value() [1/2]
| Value & Zivid::CameraHealth::Temperature::LED::value |
( |
| ) |
|
|
inline |
◆ value() [2/2]
| const Value & Zivid::CameraHealth::Temperature::LED::value |
( |
| ) |
const |
|
inline |
◆ DataModel::Detail::Befriend< LED >
| friend struct DataModel::Detail::Befriend< LED > |
|
friend |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | stream, |
|
|
const LED & | value ) |
|
friend |
Operator to send the value as string to a stream.
◆ description
| const char* Zivid::CameraHealth::Temperature::LED::description |
|
staticconstexpr |
Initial value:{
R"description(The status of the LED temperature, in degrees Celsius.
- OK: Temperature in (0, 60)
- Suboptimal: Temperature in [60, 70]
- Error: Temperature < 0 or > 70
)description"
}
The description for this value.
◆ name
| const char* Zivid::CameraHealth::Temperature::LED::name { "LED" } |
|
staticconstexpr |
◆ nodeType
◆ path
| const char* Zivid::CameraHealth::Temperature::LED::path { "Temperature/LED" } |
|
staticconstexpr |
The full path for this value.
The documentation for this class was generated from the following file: