|
| | 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.
|
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.