API
 
Loading...
Searching...
No Matches
MagAOX::app::cred2Temps Struct Reference

Structure holding the temperature values reported by the C-RED 2. More...

#include <cred2Utils.hpp>

Collaboration diagram for MagAOX::app::cred2Temps:
Collaboration graph

Public Member Functions

bool operator== (const cred2Temps &t) const
 Compare two cached temperature sets.
 
int setInvalid ()
 Mark all temperature values invalid.
 

Public Attributes

float motherboard { 0 }
 Motherboard temperature [C].
 
float frontend { 0 }
 Front-end temperature [C].
 
float powerboard { 0 }
 Power-board temperature [C].
 
float snake { 0 }
 Detector temperature [C].
 
float setpoint { 0 }
 Detector temperature setpoint [C].
 
float peltier { 0 }
 External TEC temperature [C].
 
float heatsink { 0 }
 Heatsink temperature [C].
 

Detailed Description

Structure holding the temperature values reported by the C-RED 2.

Definition at line 30 of file cred2Utils.hpp.

Member Function Documentation

◆ operator==()

bool MagAOX::app::cred2Temps::operator== ( const cred2Temps t) const
inline

Compare two cached temperature sets.

Parameters
[in]tthe values to compare against

Definition at line 41 of file cred2Utils.hpp.

References frontend, heatsink, motherboard, peltier, powerboard, setpoint, and snake.

◆ setInvalid()

int MagAOX::app::cred2Temps::setInvalid ( )
inline

Mark all temperature values invalid.

Definition at line 48 of file cred2Utils.hpp.

References frontend, heatsink, motherboard, peltier, powerboard, setpoint, and snake.

Referenced by MagAOX::app::cred2Ctrl::cred2Ctrl(), and MagAOX::app::cred2Ctrl::onPowerOff().

Member Data Documentation

◆ frontend

float MagAOX::app::cred2Temps::frontend { 0 }

Front-end temperature [C].

Definition at line 33 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ heatsink

float MagAOX::app::cred2Temps::heatsink { 0 }

Heatsink temperature [C].

Definition at line 38 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ motherboard

float MagAOX::app::cred2Temps::motherboard { 0 }

Motherboard temperature [C].

Definition at line 32 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ peltier

float MagAOX::app::cred2Temps::peltier { 0 }

External TEC temperature [C].

Definition at line 37 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ powerboard

float MagAOX::app::cred2Temps::powerboard { 0 }

Power-board temperature [C].

Definition at line 34 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ setpoint

float MagAOX::app::cred2Temps::setpoint { 0 }

Detector temperature setpoint [C].

Definition at line 36 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().

◆ snake

float MagAOX::app::cred2Temps::snake { 0 }

Detector temperature [C].

Definition at line 35 of file cred2Utils.hpp.

Referenced by MagAOX::app::cred2Ctrl::getTemps(), MagAOX::app::cred2Ctrl::onPowerOff(), operator==(), and setInvalid().


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