Zivid C++ API 2.18.0+1b44dbef-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. 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 Fanfan () const
 Get Fan.
Fanfan ()
 Get Fan.
CameraHealthset (const Fan &value)
 Set Fan.
CameraHealthset (const Fan::Status &value)
 Set Fan::Status.
CameraHealthset (const Fan::Value &value)
 Set Fan::Value.
const InfieldVerificationinfieldVerification () const
 Get InfieldVerification.
InfieldVerificationinfieldVerification ()
 Get InfieldVerification.
CameraHealthset (const InfieldVerification &value)
 Set InfieldVerification.
CameraHealthset (const InfieldVerification::Status &value)
 Set InfieldVerification::Status.
CameraHealthset (const InfieldVerification::Value &value)
 Set InfieldVerification::Value.
const MaxTransferSpeedmaxTransferSpeed () const
 Get MaxTransferSpeed.
MaxTransferSpeedmaxTransferSpeed ()
 Get MaxTransferSpeed.
CameraHealthset (const MaxTransferSpeed &value)
 Set MaxTransferSpeed.
CameraHealthset (const MaxTransferSpeed::Status &value)
 Set MaxTransferSpeed::Status.
CameraHealthset (const MaxTransferSpeed::Value &value)
 Set MaxTransferSpeed::Value.
const Memorymemory () const
 Get Memory.
Memorymemory ()
 Get Memory.
CameraHealthset (const Memory &value)
 Set Memory.
CameraHealthset (const Memory::Status &value)
 Set Memory::Status.
CameraHealthset (const Memory::Value &value)
 Set Memory::Value.
const Overalloverall () const
 Get Overall.
Overalloverall ()
 Get Overall.
CameraHealthset (const Overall &value)
 Set Overall.
const Temperaturetemperature () const
 Get Temperature.
Temperaturetemperature ()
 Get Temperature.
CameraHealthset (const Temperature &value)
 Set Temperature.
CameraHealthset (const Temperature::DMD &value)
 Set Temperature::DMD.
CameraHealthset (const Temperature::DMD::Status &value)
 Set Temperature::DMD::Status.
CameraHealthset (const Temperature::DMD::Value &value)
 Set Temperature::DMD::Value.
CameraHealthset (const Temperature::LED &value)
 Set Temperature::LED.
CameraHealthset (const Temperature::LED::Status &value)
 Set Temperature::LED::Status.
CameraHealthset (const Temperature::LED::Value &value)
 Set Temperature::LED::Value.
CameraHealthset (const Temperature::Lens &value)
 Set Temperature::Lens.
CameraHealthset (const Temperature::Lens::Status &value)
 Set Temperature::Lens::Status.
CameraHealthset (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::Fanget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Status >::value, int >::type = 0>
const CameraHealth::Fan::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Fan::Value >::value, int >::type = 0>
const CameraHealth::Fan::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification >::value, int >::type = 0>
const CameraHealth::InfieldVerificationget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Status >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::InfieldVerification::Value >::value, int >::type = 0>
const CameraHealth::InfieldVerification::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeedget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Status >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::MaxTransferSpeed::Value >::value, int >::type = 0>
const CameraHealth::MaxTransferSpeed::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory >::value, int >::type = 0>
const CameraHealth::Memoryget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Status >::value, int >::type = 0>
const CameraHealth::Memory::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Memory::Value >::value, int >::type = 0>
const CameraHealth::Memory::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Overall >::value, int >::type = 0>
const CameraHealth::Overallget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature >::value, int >::type = 0>
const CameraHealth::Temperatureget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD >::value, int >::type = 0>
const CameraHealth::Temperature::DMDget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Status >::value, int >::type = 0>
const CameraHealth::Temperature::DMD::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::DMD::Value >::value, int >::type = 0>
const CameraHealth::Temperature::DMD::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED >::value, int >::type = 0>
const CameraHealth::Temperature::LEDget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Status >::value, int >::type = 0>
const CameraHealth::Temperature::LED::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::LED::Value >::value, int >::type = 0>
const CameraHealth::Temperature::LED::Valueget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens >::value, int >::type = 0>
const CameraHealth::Temperature::Lensget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Status >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Statusget () const
template<typename T, typename std::enable_if< std::is_same< T, CameraHealth::Temperature::Lens::Value >::value, int >::type = 0>
const CameraHealth::Temperature::Lens::Valueget () const
template<size_t i, typename std::enable_if< i==0, int >::type = 0>
const CameraHealth::Fanget () const
template<size_t i, typename std::enable_if< i==1, int >::type = 0>
const CameraHealth::InfieldVerificationget () const
template<size_t i, typename std::enable_if< i==2, int >::type = 0>
const CameraHealth::MaxTransferSpeedget () const
template<size_t i, typename std::enable_if< i==3, int >::type = 0>
const CameraHealth::Memoryget () const
template<size_t i, typename std::enable_if< i==4, int >::type = 0>
const CameraHealth::Overallget () const
template<size_t i, typename std::enable_if< i==5, int >::type = 0>
const CameraHealth::Temperatureget () 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:1059
Max transfer speed in megabits per second (Mbps).
Definition CameraHealth.h:1155
The end-to-end link speed between the camera and the host computer, defined as the minimum of the cam...
Definition CameraHealth.h:1031
Severity of the memory check.
Definition CameraHealth.h:1504
Number of memory errors detected by the memory test.
Definition CameraHealth.h:1598
The status of the camera's memory test.
Definition CameraHealth.h:1481
The aggregated severity across all checks, taking the highest-precedence severity among them....
Definition CameraHealth.h:1923
Severity of the DMD temperature check.
Definition CameraHealth.h:2080
DMD temperature in degrees Celsius.
Definition CameraHealth.h:2177
The status of the DMD (Digital Micromirror Device) temperature, in degrees Celsius.
Definition CameraHealth.h:2054
Severity of the LED temperature check.
Definition CameraHealth.h:2532
LED temperature in degrees Celsius.
Definition CameraHealth.h:2629
The status of the LED temperature, in degrees Celsius.
Definition CameraHealth.h:2507
Severity of the lens temperature check.
Definition CameraHealth.h:2984
Lens temperature in degrees Celsius.
Definition CameraHealth.h:3081
The status of the lens temperature, in degrees Celsius.
Definition CameraHealth.h:2959
The status of the camera's temperatures. Each sub-status reflects the temperature of a specific compo...
Definition CameraHealth.h:2026

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: