ifw-fgf 1.0.0-pre1
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
fgf::andor::StatusParam Struct Reference

The State struct. More...

#include <statusParam.hpp>

Public Types

enum class  StatusEnum : short {
  STAT_STRIDE_CODE = 500 , STAT_OVERLAP_CODE , STAT_SENSOR_COOLING_CODE , STAT_SENSOR_TEMPERATURE_CODE ,
  STAT_TEMPERATURE_CTRL_CODE , STAT_TEMPERATURE_STAT_CODE , STAT_PIXEL_ENCODING_CODE , STAT_PIXEL_READOUT_RATE_CODE ,
  STAT_PRE_AMP_GAIN_CTRL_CODE , STAT_SIMPLE_PRE_AMP_GAIN_CTRL_CODE , STAT_CAMERA_STATUS_CODE , STAT_BIT_DEPTH_CODE ,
  STAT_ELECTRONIC_SHUTTERING_MODE_CODE , STAT_CMD_ERROR_TEXT_CODE , STAT_FAN_SPEED_CODE , STAT_METADATA_ENABLE_CODE ,
  STAT_TRIGGER_MODE_CODE
}
 
using StatusParamMap_t = boost::bimap<std::string, StatusParam::StatusEnum>
 

Static Public Member Functions

static std::optional< StatusParam::StatusEnumGetStatusParam (const std::string &param)
 Get state as an enumeration.
 
static std::optional< std::string > GetStatusParamStr (const StatusEnum param)
 Get state as an optional string.
 

Static Public Attributes

static StatusParamMap_t StatusParamMap
 

Detailed Description

The State struct.

This structure is used store the basic state information. It has a bidirectional maps used by classes to get the name or enumeration associated to a parameter. Methods are static so they can be used without an object.

Member Typedef Documentation

◆ StatusParamMap_t

Member Enumeration Documentation

◆ StatusEnum

enum class fgf::andor::StatusParam::StatusEnum : short
strong
Enumerator
STAT_STRIDE_CODE 
STAT_OVERLAP_CODE 
STAT_SENSOR_COOLING_CODE 
STAT_SENSOR_TEMPERATURE_CODE 
STAT_TEMPERATURE_CTRL_CODE 
STAT_TEMPERATURE_STAT_CODE 
STAT_PIXEL_ENCODING_CODE 
STAT_PIXEL_READOUT_RATE_CODE 
STAT_PRE_AMP_GAIN_CTRL_CODE 
STAT_SIMPLE_PRE_AMP_GAIN_CTRL_CODE 
STAT_CAMERA_STATUS_CODE 
STAT_BIT_DEPTH_CODE 
STAT_ELECTRONIC_SHUTTERING_MODE_CODE 
STAT_CMD_ERROR_TEXT_CODE 
STAT_FAN_SPEED_CODE 
STAT_METADATA_ENABLE_CODE 
STAT_TRIGGER_MODE_CODE 

Member Function Documentation

◆ GetStatusParam()

static std::optional< StatusParam::StatusEnum > fgf::andor::StatusParam::GetStatusParam ( const std::string & param)
inlinestatic

Get state as an enumeration.

Parameters
statestring containing the state
Returns

◆ GetStatusParamStr()

static std::optional< std::string > fgf::andor::StatusParam::GetStatusParamStr ( const StatusEnum param)
inlinestatic

Get state as an optional string.

Parameters
stateenumeration of the state
Returns

Member Data Documentation

◆ StatusParamMap

StatusParamMap_t fgf::andor::StatusParam::StatusParamMap
inlinestatic
Initial value:
=
boost::assign::list_of<StatusParam::StatusParamMap_t::relation>
constexpr auto STAT_PIXEL_READOUT_RATE_STR
Definition statusParam.hpp:24
constexpr auto STAT_TEMPERATURE_CTRL_STR
Definition statusParam.hpp:21
constexpr auto STAT_ELECTRONIC_SHUTTERING_MODE_STR
Definition statusParam.hpp:29
constexpr auto STAT_CAMERA_STATUS_STR
Definition statusParam.hpp:27
constexpr auto STAT_TEMPERATURE_STAT_STR
Definition statusParam.hpp:22
constexpr auto STAT_SENSOR_TEMPERATURE_STR
Definition statusParam.hpp:20
constexpr auto STAT_METADATA_ENABLE_STR
Definition statusParam.hpp:32
constexpr auto STAT_PRE_AMP_GAIN_CTRL_STR
Definition statusParam.hpp:25
constexpr auto STAT_SIMPLE_PRE_AMP_GAIN_CTRL_STR
Definition statusParam.hpp:26
constexpr auto STAT_SENSOR_COOLING_STR
Definition statusParam.hpp:19
constexpr auto STAT_BIT_DEPTH_STR
Definition statusParam.hpp:28
constexpr auto STAT_TRIGGER_MODE_STR
Definition statusParam.hpp:33
constexpr auto STAT_FAN_SPEED_STR
Definition statusParam.hpp:31
constexpr auto STAT_STRIDE_STR
Definition statusParam.hpp:17
constexpr auto STAT_CMD_ERROR_TEXT_STR
Definition statusParam.hpp:30
constexpr auto STAT_OVERLAP_STR
Definition statusParam.hpp:18
constexpr auto STAT_PIXEL_ENCODING_STR
Definition statusParam.hpp:23

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