Zivid C++ API 2.19.0+b5c53d0f-1
Zivid::CameraHealth Class Reference

Result of running the camera's health checks. Each check has a Status (severity) and a Value (the underlying measurement, when available). The Overall field aggregates the worst severity across all populated checks. More...

#include <Zivid/CameraHealth.h>

Classes

class  Fan
 The status of the camera's fan. More...
class  InfieldVerification
 The status of the camera's most recent infield verification. More...
class  MaxTransferSpeed
 The end-to-end link speed between the camera and the host computer, defined as the minimum of the camera's link speed and the PC's link speed. The possible link speeds are 10 Mbps, 100 Mbps, 1 Gbps, 2.5 Gbps, 5 Gbps, 10 Gbps, 14 Gbps, 20 Gbps, 25 Gbps, 40 Gbps, 50 Gbps, 56 Gbps, 80 Gbps, 100 Gbps, 200 Gbps, 400 Gbps, 800 Gbps and 1.6 Tbps. More...
class  Memory
 The status of the camera's memory test. More...
class  Overall
 The aggregated severity across all checks, taking the highest-precedence severity among them. Precedence from highest to lowest is Error, Unknown, Suboptimal, OK: a failing check is the most important to surface, and a check whose outcome could not be determined (Unknown) takes precedence over a Suboptimal one. More...
class  Temperature
 The status of the camera's temperatures. Each sub-status reflects the temperature of a specific component. More...

Public Types

using Descendants

Public Member Functions

 CameraHealth ()
 Default constructor.
 CameraHealth (const std::string &fileName)
 Construct CameraHealth by loading from file.
std::string serialize () const
 Serialize to a string.
template<typename... Args>
 CameraHealth (Args &&...args)
 Constructor taking variadic number of arguments.
template<typename... Args>
void set (Args &&...args)
 Set multiple arguments.
template<typename... Args>
CameraHealth copyWith (Args &&...args) const
 Returns a copy of this object with the given argument(s) set to the new value(s)
const Fan & fan () const
 Get Fan.
Fan & fan ()
 Get Fan.
CameraHealth & set (const Fan &value)
 Set Fan.
CameraHealth & set (const Fan::Status &value)
 Set Fan::Status.
CameraHealth & set (const Fan::Value &value)
 Set Fan::Value.
const InfieldVerification & infieldVerification () const
 Get InfieldVerification.
InfieldVerification & infieldVerification ()
 Get InfieldVerification.
CameraHealth & set (const InfieldVerification &value)
 Set InfieldVerification.
CameraHealth & set (const InfieldVerification::Status &value)
 Set InfieldVerification::Status.
CameraHealth & set (const InfieldVerification::Value &value)
 Set InfieldVerification::Value.
const MaxTransferSpeed & maxTransferSpeed () const
 Get MaxTransferSpeed.
MaxTransferSpeed & maxTransferSpeed ()
 Get MaxTransferSpeed.
CameraHealth & set (const MaxTransferSpeed &value)
 Set MaxTransferSpeed.
CameraHealth & set (const MaxTransferSpeed::Status &value)
 Set MaxTransferSpeed::Status.
CameraHealth & set (const MaxTransferSpeed::Value &value)
 Set MaxTransferSpeed::Value.
const Memory & memory () const
 Get Memory.
Memory & memory ()
 Get Memory.
CameraHealth & set (const Memory &value)
 Set Memory.
CameraHealth & set (const Memory::Status &value)
 Set Memory::Status.
CameraHealth & set (const Memory::Value &value)
 Set Memory::Value.
const Overall & overall () const
 Get Overall.
Overall & overall ()
 Get Overall.
CameraHealth & set (const Overall &value)
 Set Overall.
const Temperature & temperature () const
 Get Temperature.
Temperature & temperature ()
 Get Temperature.
CameraHealth & set (const Temperature &value)
 Set Temperature.
CameraHealth & set (const Temperature::DMD &value)
 Set Temperature::DMD.
CameraHealth & set (const Temperature::DMD::Status &value)
 Set Temperature::DMD::Status.
CameraHealth & set (const Temperature::DMD::Value &value)
 Set Temperature::DMD::Value.
CameraHealth & set (const Temperature::LED &value)
 Set Temperature::LED.
CameraHealth & set (const Temperature::LED::Status &value)
 Set Temperature::LED::Status.
CameraHealth & set (const Temperature::LED::Value &value)
 Set Temperature::LED::Value.
CameraHealth & set (const Temperature::Lens &value)
 Set Temperature::Lens.
CameraHealth & set (const Temperature::Lens::Status &value)
 Set Temperature::Lens::Status.
CameraHealth & set (const Temperature::Lens::Value &value)
 Set Temperature::Lens::Value.
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan >::value, int >::type = 0>
const CameraHealth::Fan & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Status >::value, int >::type = 0>
const CameraHealth::Fan::Status & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Value >::value, int >::type = 0>
const CameraHealth::Fan::Value & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification >::value, int >::type = 0>
const CameraHealth::InfieldVerification & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Status >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Status & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Value >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Value & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Status >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Status & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Value >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Value & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory >::value, int >::type = 0>
const CameraHealth::Memory & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Status >::value, int >::type = 0>
const CameraHealth::Memory::Status & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Value >::value, int >::type = 0>
const CameraHealth::Memory::Value & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Overall >::value, int >::type = 0>
const CameraHealth::Overall & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature >::value, int >::type = 0>
const CameraHealth::Temperature & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD >::value, int >::type = 0>
const CameraHealth::Temperature::DMD & get () const
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<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED >::value, int >::type = 0>
const CameraHealth::Temperature::LED & get () const
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<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens >::value, int >::type = 0>
const CameraHealth::Temperature::Lens & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Status >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Status & get () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Value >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Value & get () const
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const CameraHealth::Fan & get () const
template<size_t i, typename std::enable_if< i==1, int >::type = 0>
const CameraHealth::InfieldVerification & get () const
template<size_t i, typename std::enable_if< i==2, int >::type = 0>
const CameraHealth::MaxTransferSpeed & get () const
template<size_t i, typename std::enable_if< i==3, int >::type = 0>
const CameraHealth::Memory & get () const
template<size_t i, typename std::enable_if< i==4, int >::type = 0>
const CameraHealth::Overall & get () const
template<size_t i, typename std::enable_if< i==5, int >::type = 0>
const CameraHealth::Temperature & 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 CameraHealth &other) const
 Equality operator.
bool operator!= (const CameraHealth &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.

Static Public Member Functions

static CameraHealth fromSerialized (const std::string &value)
 Construct a new CameraHealth instance from a previously serialized string.

Static Public Attributes

static constexpr DataModel::NodeType nodeType = DataModel::NodeType::group
 The type of this node.
static constexpr const char * path { "" }
 The full path for this value.
static constexpr const char * name { "CameraHealth" }
 The name of this value.
static constexpr const char * description
 The description for this value.
static constexpr size_t version { 1 }

Friends

struct DataModel::Detail::Befriend< CameraHealth >
std::ostream & operator<< (std::ostream &stream, const CameraHealth &value)
 Operator to send the value as string to a stream.

Detailed Description

Result of running the camera's health checks. Each check has a Status (severity) and a Value (the underlying measurement, when available). The Overall field aggregates the worst severity across all populated checks.

Status values:

  • OK: Optimal.
  • Suboptimal: Degraded but functional.
  • Error: Faulty or out of spec.
  • Unknown: Check was not performed, or its outcome could not be determined.

Member Typedef Documentation

◆ Descendants

Initial value:
std::tuple<
Severity of the fan check.
Definition CameraHealth.h:161
Whether the fan is operating as expected, or stopped unexpectedly.
Definition CameraHealth.h:255
The status of the camera's fan.
Definition CameraHealth.h:138
Severity of the infield verification check.
Definition CameraHealth.h:603
Time of the most recent infield verification.
Definition CameraHealth.h:699
The status of the camera's most recent infield verification.
Definition CameraHealth.h:578
Severity of the max transfer speed check.
Definition CameraHealth.h:1065
Max transfer speed in megabits per second (Mbps).
Definition CameraHealth.h:1161
The end-to-end link speed between the camera and the host computer, defined as the minimum of the cam...
Definition CameraHealth.h:1034
Severity of the memory check.
Definition CameraHealth.h:1510
Number of memory errors detected by the memory test.
Definition CameraHealth.h:1604
The status of the camera's memory test.
Definition CameraHealth.h:1487
The aggregated severity across all checks, taking the highest-precedence severity among them....
Definition CameraHealth.h:1929
Severity of the DMD temperature check.
Definition CameraHealth.h:2086
DMD temperature in degrees Celsius.
Definition CameraHealth.h:2183
The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
Definition CameraHealth.h:2060
Severity of the LED temperature check.
Definition CameraHealth.h:2538
LED temperature in degrees Celsius.
Definition CameraHealth.h:2635
The status of the LED temperature, in degrees Celsius.
Definition CameraHealth.h:2513
Severity of the lens temperature check.
Definition CameraHealth.h:2990
Lens temperature in degrees Celsius.
Definition CameraHealth.h:3087
The status of the lens temperature, in degrees Celsius.
Definition CameraHealth.h:2965
The status of the camera's temperatures. Each sub-status reflects the temperature of a specific compo...
Definition CameraHealth.h:2032

Constructor & Destructor Documentation

◆ CameraHealth() [1/3]

Zivid::CameraHealth::CameraHealth ( )

Default constructor.

◆ CameraHealth() [2/3]

Zivid::CameraHealth::CameraHealth ( const std::string & fileName)
explicit

Construct CameraHealth by loading from file.

◆ CameraHealth() [3/3]

Member Function Documentation

◆ copyWith()

◆ fan() [1/2]

Fan & Zivid::CameraHealth::fan ( )
inline

Get Fan.

◆ fan() [2/2]

const Fan & Zivid::CameraHealth::fan ( ) const
inline

Get Fan.

◆ forEach() [1/2]

template<typename F>
void Zivid::CameraHealth::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::forEach ( const F & f) const
inline

Run the given function on each direct member with the value of the member as parameter.

◆ fromSerialized()

CameraHealth Zivid::CameraHealth::fromSerialized ( const std::string & value)
staticnodiscard

Construct a new CameraHealth instance from a previously serialized string.

See also serialize.

◆ get() [1/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan >::value, int >::type = 0>
const CameraHealth::Fan & Zivid::CameraHealth::get ( ) const
inline

◆ get() [2/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Status >::value, int >::type = 0>
const CameraHealth::Fan::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [3/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Value >::value, int >::type = 0>
const CameraHealth::Fan::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [4/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification >::value, int >::type = 0>
const CameraHealth::InfieldVerification & Zivid::CameraHealth::get ( ) const
inline

◆ get() [5/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Status >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [6/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Value >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [7/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed & Zivid::CameraHealth::get ( ) const
inline

◆ get() [8/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Status >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [9/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Value >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [10/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory >::value, int >::type = 0>
const CameraHealth::Memory & Zivid::CameraHealth::get ( ) const
inline

◆ get() [11/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Status >::value, int >::type = 0>
const CameraHealth::Memory::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [12/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Value >::value, int >::type = 0>
const CameraHealth::Memory::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [13/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Overall >::value, int >::type = 0>
const CameraHealth::Overall & Zivid::CameraHealth::get ( ) const
inline

◆ get() [14/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature >::value, int >::type = 0>
const CameraHealth::Temperature & Zivid::CameraHealth::get ( ) const
inline

◆ get() [15/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD >::value, int >::type = 0>
const CameraHealth::Temperature::DMD & Zivid::CameraHealth::get ( ) const
inline

◆ get() [16/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Status >::value, int >::type = 0>
const CameraHealth::Temperature::DMD::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [17/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Value >::value, int >::type = 0>
const CameraHealth::Temperature::DMD::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [18/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED >::value, int >::type = 0>
const CameraHealth::Temperature::LED & Zivid::CameraHealth::get ( ) const
inline

◆ get() [19/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Status >::value, int >::type = 0>
const CameraHealth::Temperature::LED::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [20/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Value >::value, int >::type = 0>
const CameraHealth::Temperature::LED::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [21/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens >::value, int >::type = 0>
const CameraHealth::Temperature::Lens & Zivid::CameraHealth::get ( ) const
inline

◆ get() [22/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Status >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Status & Zivid::CameraHealth::get ( ) const
inline

◆ get() [23/29]

template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Value >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Value & Zivid::CameraHealth::get ( ) const
inline

◆ get() [24/29]

template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const CameraHealth::Fan & Zivid::CameraHealth::get ( ) const
inline

◆ get() [25/29]

template<size_t i, typename std::enable_if< i==1, int >::type = 0>
const CameraHealth::InfieldVerification & Zivid::CameraHealth::get ( ) const
inline

◆ get() [26/29]

template<size_t i, typename std::enable_if< i==2, int >::type = 0>
const CameraHealth::MaxTransferSpeed & Zivid::CameraHealth::get ( ) const
inline

◆ get() [27/29]

template<size_t i, typename std::enable_if< i==3, int >::type = 0>
const CameraHealth::Memory & Zivid::CameraHealth::get ( ) const
inline

◆ get() [28/29]

template<size_t i, typename std::enable_if< i==4, int >::type = 0>
const CameraHealth::Overall & Zivid::CameraHealth::get ( ) const
inline

◆ get() [29/29]

template<size_t i, typename std::enable_if< i==5, int >::type = 0>
const CameraHealth::Temperature & Zivid::CameraHealth::get ( ) const
inline

◆ infieldVerification() [1/2]

InfieldVerification & Zivid::CameraHealth::infieldVerification ( )
inline

◆ infieldVerification() [2/2]

const InfieldVerification & Zivid::CameraHealth::infieldVerification ( ) const
inline

◆ load()

void Zivid::CameraHealth::load ( const std::string & fileName)

Load from the given file.

◆ maxTransferSpeed() [1/2]

MaxTransferSpeed & Zivid::CameraHealth::maxTransferSpeed ( )
inline

◆ maxTransferSpeed() [2/2]

const MaxTransferSpeed & Zivid::CameraHealth::maxTransferSpeed ( ) const
inline

◆ memory() [1/2]

Memory & Zivid::CameraHealth::memory ( )
inline

Get Memory.

◆ memory() [2/2]

const Memory & Zivid::CameraHealth::memory ( ) const
inline

Get Memory.

◆ operator!=()

bool Zivid::CameraHealth::operator!= ( const CameraHealth & other) const

Inequality operator.

◆ operator==()

bool Zivid::CameraHealth::operator== ( const CameraHealth & other) const

Equality operator.

◆ overall() [1/2]

Overall & Zivid::CameraHealth::overall ( )
inline

Get Overall.

◆ overall() [2/2]

const Overall & Zivid::CameraHealth::overall ( ) const
inline

Get Overall.

◆ save()

void Zivid::CameraHealth::save ( const std::string & fileName) const

Save to the given file.

◆ serialize()

std::string Zivid::CameraHealth::serialize ( ) const

Serialize to a string.

See also fromSerialized. The returned string is formatted in YAML, and is compatible with the contents of files saved using save.

◆ set() [1/24]

◆ set() [2/24]

CameraHealth & Zivid::CameraHealth::set ( const Fan & value)
inline

Set Fan.

◆ set() [3/24]

CameraHealth & Zivid::CameraHealth::set ( const Fan::Status & value)
inline

◆ set() [4/24]

CameraHealth & Zivid::CameraHealth::set ( const Fan::Value & value)
inline

Set Fan::Value.

◆ set() [5/24]

CameraHealth & Zivid::CameraHealth::set ( const InfieldVerification & value)
inline

◆ set() [6/24]

CameraHealth & Zivid::CameraHealth::set ( const InfieldVerification::Status & value)
inline

◆ set() [7/24]

CameraHealth & Zivid::CameraHealth::set ( const InfieldVerification::Value & value)
inline

◆ set() [8/24]

CameraHealth & Zivid::CameraHealth::set ( const MaxTransferSpeed & value)
inline

◆ set() [9/24]

CameraHealth & Zivid::CameraHealth::set ( const MaxTransferSpeed::Status & value)
inline

◆ set() [10/24]

CameraHealth & Zivid::CameraHealth::set ( const MaxTransferSpeed::Value & value)
inline

◆ set() [11/24]

CameraHealth & Zivid::CameraHealth::set ( const Memory & value)
inline

Set Memory.

◆ set() [12/24]

CameraHealth & Zivid::CameraHealth::set ( const Memory::Status & value)
inline

◆ set() [13/24]

CameraHealth & Zivid::CameraHealth::set ( const Memory::Value & value)
inline

◆ set() [14/24]

CameraHealth & Zivid::CameraHealth::set ( const Overall & value)
inline

Set Overall.

◆ set() [15/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature & value)
inline

◆ set() [16/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::DMD & value)
inline

◆ set() [17/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::DMD::Status & value)
inline

◆ set() [18/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::DMD::Value & value)
inline

◆ set() [19/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::LED & value)
inline

◆ set() [20/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::LED::Status & value)
inline

◆ set() [21/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::LED::Value & value)
inline

◆ set() [22/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::Lens & value)
inline

◆ set() [23/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::Lens::Status & value)
inline

◆ set() [24/24]

CameraHealth & Zivid::CameraHealth::set ( const Temperature::Lens::Value & value)
inline

◆ temperature() [1/2]

Temperature & Zivid::CameraHealth::temperature ( )
inline

◆ temperature() [2/2]

const Temperature & Zivid::CameraHealth::temperature ( ) const
inline

◆ toString()

std::string Zivid::CameraHealth::toString ( ) const

Get the value as string.

◆ DataModel::Detail::Befriend< CameraHealth >

friend struct DataModel::Detail::Befriend< CameraHealth >
friend

◆ operator<<

std::ostream & operator<< ( std::ostream & stream,
const CameraHealth & value )
friend

Operator to send the value as string to a stream.

Member Data Documentation

◆ description

const char* Zivid::CameraHealth::description
staticconstexpr
Initial value:
{
R"description(Result of running the camera's health checks. Each check has a
`Status` (severity) and a `Value` (the underlying measurement, when
available). The `Overall` field aggregates the worst severity across
all populated checks.
Status values:
- OK: Optimal.
- Suboptimal: Degraded but functional.
- Error: Faulty or out of spec.
- Unknown: Check was not performed, or its outcome could not be determined.
)description"
}

The description for this value.

◆ name

const char* Zivid::CameraHealth::name { "CameraHealth" }
staticconstexpr

The name of this value.

◆ nodeType

DataModel::NodeType Zivid::CameraHealth::nodeType = DataModel::NodeType::group
staticconstexpr

The type of this node.

◆ path

const char* Zivid::CameraHealth::path { "" }
staticconstexpr

The full path for this value.

◆ version

size_t Zivid::CameraHealth::version { 1 }
staticconstexpr

The documentation for this class was generated from the following file: