API
MagAOX::app::dev::stdCamera< derivedT > Class Template Reference

MagAO-X standard camera interface. More...

#include <stdCamera.hpp>

Collaboration diagram for MagAOX::app::dev::stdCamera< derivedT >:
Collaboration graph

Classes

struct  roi
 

Public Member Functions

 ~stdCamera () noexcept
 Destructor, destroys the PdvDev structure. More...
 
void setupConfig (mx::app::appConfigurator &config)
 Setup the configuration system. More...
 
void loadConfig (mx::app::appConfigurator &config)
 load the configuration system results More...
 
int appStartup ()
 Startup function. More...
 
int appLogic ()
 Application logic. More...
 
int onPowerOff ()
 Actions on power off. More...
 
int whilePowerOff ()
 Actions while powered off. More...
 
int appShutdown ()
 Application shutdown. More...
 
Telemeter Interface
int recordCamera (bool force=false)
 

Protected Member Functions

int createReadoutSpeed (const mx::meta::trueFalseT< true > &t)
 
int createReadoutSpeed (const mx::meta::trueFalseT< false > &f)
 
int createVShiftSpeed (const mx::meta::trueFalseT< true > &t)
 
int createVShiftSpeed (const mx::meta::trueFalseT< false > &f)
 

Protected Attributes

Configurable Parameters
cameraConfigMap m_cameraModes
 Map holding the possible camera mode configurations. More...
 
std::string m_startupMode
 The camera mode to load during first init after a power-on. More...
 
float m_startupTemp {-999}
 The temperature to set after a power-on. Set to <= -999 to not use [default]. More...
 
std::string m_defaultReadoutSpeed
 The default readout speed of the camera. More...
 
std::string m_defaultVShiftSpeed
 The default readout speed of the camera. More...
 
Temperature Control Interface
float m_minTemp {-60}
 
float m_maxTemp {30}
 
float m_stepTemp {0}
 
float m_ccdTemp {-999}
 The current temperature, in C. More...
 
float m_ccdTempSetpt {-999}
 The desired temperature, in C. More...
 
bool m_tempControlStatus {false}
 Whether or not temperature control is active. More...
 
bool m_tempControlStatusSet {false}
 Desired state of temperature control. More...
 
bool m_tempControlOnTarget {false}
 Whether or not the temperature control system is on its target temperature. More...
 
std::string m_tempControlStatusStr
 Camera specific description of temperature control status. More...
 
pcf::IndiProperty m_indiP_temp
 
pcf::IndiProperty m_indiP_tempcont
 
pcf::IndiProperty m_indiP_tempstat
 
Readout Control
std::vector< std::string > m_readoutSpeedNames
 
std::vector< std::string > m_readoutSpeedNameLabels
 
std::string m_readoutSpeedName
 The current readout speed name. More...
 
std::string m_readoutSpeedNameSet
 The user requested readout speed name, to be set by derived() More...
 
std::vector< std::string > m_vShiftSpeedNames
 
std::vector< std::string > m_vShiftSpeedNameLabels
 
std::string m_vShiftSpeedName
 The current vshift speed name. More...
 
std::string m_vShiftSpeedNameSet
 The user requested vshift speed name, to be set by derived() More...
 
float m_adcSpeed {0}
 
float m_vshiftSpeed {0}
 
float m_emGain {1}
 The camera's current EM gain (if available). More...
 
float m_emGainSet {1}
 The camera's EM gain, as set by the user. More...
 
float m_maxEMGain {1}
 The configurable maximum EM gain. To be enforced in derivedT. More...
 
pcf::IndiProperty m_indiP_readoutSpeed
 
pcf::IndiProperty m_indiP_vShiftSpeed
 
pcf::IndiProperty m_indiP_emGain
 
Exposure Control
float m_minExpTime {0}
 The minimum exposure time, used for INDI attributes. More...
 
float m_maxExpTime {std::numeric_limits<float>::max()}
 The maximum exposure time, used for INDI attributes. More...
 
float m_stepExpTime {0}
 The maximum exposure time stepsize, used for INDI attributes. More...
 
float m_expTime {0}
 The current exposure time, in seconds. More...
 
float m_expTimeSet {0}
 The exposure time, in seconds, as set by user. More...
 
float m_minFPS {0}
 The minimum FPS, used for INDI attributes. More...
 
float m_maxFPS {std::numeric_limits<float>::max()}
 The maximum FPS, used for INDI attributes. More...
 
float m_stepFPS {0}
 The FPS step size, used for INDI attributes. More...
 
float m_fps {0}
 The current FPS. More...
 
float m_fpsSet {0}
 The commanded fps, as set by user. More...
 
pcf::IndiProperty m_indiP_exptime
 
pcf::IndiProperty m_indiP_fps
 
External Synchronization
bool m_synchroSet {false}
 Target status of m_synchro. More...
 
bool m_synchro {false}
 Status of synchronization, true is on, false is off. More...
 
pcf::IndiProperty m_indiP_synchro
 
Modes
std::string m_modeName
 The current mode name. More...
 
std::string m_nextMode
 The mode to be set by the next reconfiguration. More...
 
pcf::IndiProperty m_indiP_mode
 Property used to report the current mode. More...
 
pcf::IndiProperty m_indiP_reconfig
 Request switch which forces the framegrabber to go through the reconfigure process. More...
 
ROIs

ROI controls are exposed if derivedT::c_stdCamera_usesROI==true

roi m_currentROI
 
roi m_nextROI
 
roi m_lastROI
 
float m_minROIx {0}
 
float m_maxROIx {1023}
 
float m_stepROIx {0}
 
float m_minROIy {0}
 
float m_maxROIy {1023}
 
float m_stepROIy {0}
 
int m_minROIWidth {1}
 
int m_maxROIWidth {1024}
 
int m_stepROIWidth {1}
 
int m_minROIHeight {1}
 
int m_maxROIHeight {1024}
 
int m_stepROIHeight {1}
 
int m_minROIBinning_x {1}
 
int m_maxROIBinning_x {4}
 
int m_stepROIBinning_x {1}
 
int m_minROIBinning_y {1}
 
int m_maxROIBinning_y {4}
 
int m_stepROIBinning_y {1}
 
float m_default_x {0}
 Power-on ROI center x coordinate. More...
 
float m_default_y {0}
 Power-on ROI center y coordinate. More...
 
int m_default_w {0}
 Power-on ROI width. More...
 
int m_default_h {0}
 Power-on ROI height. More...
 
int m_default_bin_x {1}
 Power-on ROI x binning. More...
 
int m_default_bin_y {1}
 Power-on ROI y binning. More...
 
float m_full_x {0}
 The full ROI center x coordinate. More...
 
float m_full_y {0}
 The full ROI center y coordinate. More...
 
int m_full_w {0}
 The full ROI width. More...
 
int m_full_h {0}
 The full ROI height. More...
 
int m_full_bin_x {1}
 The x-binning in the full ROI. More...
 
int m_full_bin_y {1}
 The y-binning in the full ROI. More...
 
float m_full_currbin_x {0}
 The current-binning full ROI center x coordinate. More...
 
float m_full_currbin_y {0}
 The current-binning full ROI center y coordinate. More...
 
int m_full_currbin_w {0}
 The current-binning full ROI width. More...
 
int m_full_currbin_h {0}
 The current-binning full ROI height. More...
 
pcf::IndiProperty m_indiP_roi_x
 Property used to set the ROI x center coordinate. More...
 
pcf::IndiProperty m_indiP_roi_y
 Property used to set the ROI x center coordinate. More...
 
pcf::IndiProperty m_indiP_roi_w
 Property used to set the ROI width. More...
 
pcf::IndiProperty m_indiP_roi_h
 Property used to set the ROI height. More...
 
pcf::IndiProperty m_indiP_roi_bin_x
 Property used to set the ROI x binning. More...
 
pcf::IndiProperty m_indiP_roi_bin_y
 Property used to set the ROI y binning. More...
 
pcf::IndiProperty m_indiP_fullROI
 Property used to preset the full ROI dimensions. More...
 
pcf::IndiProperty m_indiP_roi_check
 Property used to trigger checking the target ROI. More...
 
pcf::IndiProperty m_indiP_roi_set
 Property used to trigger setting the ROI. More...
 
pcf::IndiProperty m_indiP_roi_full
 Property used to trigger setting the full ROI. More...
 
pcf::IndiProperty m_indiP_roi_fullbin
 Property used to trigger setting the full in current binning ROI. More...
 
pcf::IndiProperty m_indiP_roi_loadlast
 Property used to trigger loading the last ROI as the target. More...
 
pcf::IndiProperty m_indiP_roi_last
 Property used to trigger setting the last ROI. More...
 
pcf::IndiProperty m_indiP_roi_default
 Property used to trigger setting the default and startup ROI. More...
 
Crop Mode

Crop mode controls are exposed if derivedT::c_stdCamera_cropMode==true

bool m_cropMode {false}
 Status of crop mode ROIs, if enabled for this camera. More...
 
bool m_cropModeSet {false}
 Desired status of crop mode ROIs, if enabled for this camera. More...
 
pcf::IndiProperty m_indiP_cropMode
 Property used to toggle crop mode on and off. More...
 
Shutter Control

Shutter controls are exposed if derivedT::c_stdCamera_hasShutter == true.

std::string m_shutterStatus {"UNKNOWN"}
 
int m_shutterState {-1}
 
pcf::IndiProperty m_indiP_shutterStatus
 State of the shutter. 0 = shut, 1 = open, -1 = unknown. More...
 
pcf::IndiProperty m_indiP_shutter
 Property used to control the shutter, a switch. More...
 
State String

The State string is exposed if derivedT::c_stdCamera_usesStateString is true.

pcf::IndiProperty m_indiP_stateString
 

Private Member Functions

derivedT & derived ()
 

INDI

int newCallBack_stdCamera (const pcf::IndiProperty &ipRecv)
 The callback function for stdCamera properties. More...
 
int setTempSetPt (const mx::meta::trueFalseT< true > &t)
 Interface to setTempSetPt when the derivedT has temperature control. More...
 
int setTempSetPt (const mx::meta::trueFalseT< false > &f)
 Interface to setTempSetPt when the derivedT does not have temperature control. More...
 
int newCallBack_temp (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW CCD temp request. More...
 
int setTempControl (const mx::meta::trueFalseT< true > &t)
 Interface to setTempControl when the derivedT has temperature control. More...
 
int setTempControl (const mx::meta::trueFalseT< false > &f)
 Interface to setTempControl when the derivedT does not have temperature control. More...
 
int newCallBack_temp_controller (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW CCD temp control request. More...
 
int setReadoutSpeed (const mx::meta::trueFalseT< true > &t)
 Interface to setReadoutSpeed when the derivedT has readout speed control. More...
 
int setReadoutSpeed (const mx::meta::trueFalseT< false > &f)
 Interface to setReadoutSpeed when the derivedT does not have readout speed control. More...
 
int newCallBack_readoutSpeed (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW readout speed request. More...
 
int setVShiftSpeed (const mx::meta::trueFalseT< true > &t)
 Interface to setVShiftSpeed when the derivedT has vshift speed control. More...
 
int setVShiftSpeed (const mx::meta::trueFalseT< false > &f)
 Interface to setVShiftSpeed when the derivedT does not have vshift speed control. More...
 
int newCallBack_vShiftSpeed (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW vshift speed request. More...
 
int setEMGain (const mx::meta::trueFalseT< true > &t)
 Interface to setEMGain when the derivedT has EM Gain. More...
 
int setEMGain (const mx::meta::trueFalseT< false > &f)
 Interface to setEMGain when the derivedT does not have EM Gain. More...
 
int newCallBack_emgain (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW EM gain request. More...
 
int setExpTime (const mx::meta::trueFalseT< true > &t)
 Interface to setExpTime when the derivedT uses exposure time controls. More...
 
int setExpTime (const mx::meta::trueFalseT< false > &f)
 Interface to setExptime when the derivedT does not use exposure time controls. More...
 
int newCallBack_exptime (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW exposure time request. More...
 
int setFPS (const mx::meta::trueFalseT< true > &t)
 Interface to setFPS when the derivedT uses FPS controls. More...
 
int setFPS (const mx::meta::trueFalseT< false > &f)
 Interface to setFPS when the derivedT does not use FPS controls. More...
 
int newCallBack_fps (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW fps request. More...
 
int setSynchro (const mx::meta::trueFalseT< true > &t)
 Interface to setSynchro when the derivedT has synchronization. More...
 
int setSynchro (const mx::meta::trueFalseT< false > &f)
 Interface to setSynchro when the derivedT does not have synchronization. More...
 
int newCallBack_synchro (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW synchro request. More...
 
int newCallBack_mode (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW mode request. More...
 
int newCallBack_reconfigure (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW reconfigure request. More...
 
int setCropMode (const mx::meta::trueFalseT< true > &t)
 Interface to setCropMode when the derivedT has crop mode. More...
 
int setCropMode (const mx::meta::trueFalseT< false > &f)
 Interface to setCropMode when the derivedT does not have crop mode. More...
 
int newCallBack_cropMode (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW cropMode request. More...
 
int newCallBack_roi_x (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_x request. More...
 
int newCallBack_roi_y (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_y request. More...
 
int newCallBack_roi_w (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_w request. More...
 
int newCallBack_roi_h (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_h request. More...
 
int newCallBack_roi_bin_x (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW bin_x request. More...
 
int newCallBack_roi_bin_y (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW bin_y request. More...
 
int checkNextROI (const mx::meta::trueFalseT< true > &t)
 Interface to checkNextROI when the derivedT uses ROIs. More...
 
int checkNextROI (const mx::meta::trueFalseT< false > &f)
 Interface to checkNextROI when the derivedT does not use ROIs. More...
 
int newCallBack_roi_check (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_check request. More...
 
int setNextROI (const mx::meta::trueFalseT< true > &t)
 Interface to setNextROI when the derivedT uses ROIs. More...
 
int setNextROI (const mx::meta::trueFalseT< false > &f)
 Interface to setNextROI when the derivedT does not use ROIs. More...
 
int newCallBack_roi_set (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_set request. More...
 
int newCallBack_roi_full (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_full request. More...
 
int newCallBack_roi_fullbin (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_fullbin request. More...
 
int newCallBack_roi_loadlast (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_loadlast request. More...
 
int newCallBack_roi_last (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_last request. More...
 
int newCallBack_roi_default (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW roi_default request. More...
 
int setShutter (int ss, const mx::meta::trueFalseT< true > &t)
 Interface to setShutter when the derivedT has a shutter. More...
 
int setShutter (int ss, const mx::meta::trueFalseT< false > &f)
 Interface to setShutter when the derivedT does not have a shutter. More...
 
int newCallBack_shutter (const pcf::IndiProperty &ipRecv)
 Callback to process a NEW shutter request. More...
 
std::string stateString (const mx::meta::trueFalseT< true > &t)
 Interface to stateString when the derivedT provides it. More...
 
std::string stateString (const mx::meta::trueFalseT< false > &f)
 Interface to stateString when the derivedT does not provide it. More...
 
bool stateStringValid (const mx::meta::trueFalseT< true > &t)
 Interface to stateStringValid when the derivedT provides it. More...
 
bool stateStringValid (const mx::meta::trueFalseT< false > &f)
 Interface to stateStringValid when the derivedT does not provide it. More...
 
int updateINDI ()
 Update the INDI properties for this device controller. More...
 
static int st_newCallBack_stdCamera (void *app, const pcf::IndiProperty &ipRecv)
 The static callback function to be registered for stdCamera properties. More...
 

Detailed Description

template<class derivedT>
class MagAOX::app::dev::stdCamera< derivedT >

MagAO-X standard camera interface.

Implements the standard interface to a MagAO-X camera

The derived class derivedT must be a MagAOXApp<true>, and should declare this class a friend like so:

friend class dev::stdCamera<derivedT>;

int powerOnDefaults()

Temperature:

A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_tempControl = true; //or: false

which determines whether or not temperature controls are exposed. If this is true then the derived class must implement

int setTempControl(); // set temp control status according to m_tempControlStatusSet
int setTempSetPt(); // set the temperature set point accordin gto m_ccdTempSetpt
int setTempControl(const mx::meta::trueFalseT< true > &t)
Interface to setTempControl when the derivedT has temperature control.
Definition: stdCamera.hpp:1796
int setTempSetPt(const mx::meta::trueFalseT< true > &t)
Interface to setTempSetPt when the derivedT has temperature control.
Definition: stdCamera.hpp:1752

A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_temp = true; //or: false

which determines whether or not temperature reporting is exposed. Note that if c_stdCamera_tempControl == true, this setting does not matter, but the constexpr must still be defined. If true the INDI property temp_ccd will be updated from the value of m_ccdTemp.

Readout Speed: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_readoutSpeed = true; //or: false

which determines whether or not readout speed controls are exposed. If true, then the implementation should populate m_readoutSpeedNames and m_readoutSpeedNameLabels (vectors of strings) on construction to the allowed values. This facility is normally used to control both amplifier and readout/adc speed with names like "ccd_1MHz" and "emccd_17MHz".
If used (and true) the

int setReadoutSpeed(const mx::meta::trueFalseT< true > &t)
Interface to setReadoutSpeed when the derivedT has readout speed control.
Definition: stdCamera.hpp:1845

function must be define which sets the camera according to m_readoutSpeedNameSet. The implementation must also manage m_readoutSpeedName, keeping it up to date. The configuration setting camera.defaultReadoutSpeed is also exposed, and the implementation can set this default with m_defaultReadoutSpeed.

Vertical Shift Speed: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_vShiftSpeed = true; //or: false

which determines whether or not vertical shift speed controls are exposed. If true, then the implementation should populate m_vShiftSpeedNames and m_vShiftSpeedLabels (vectors of strings) on construction to the allowed values. This facility is normally used names like "0_3us" and "1_3us".
If used (and true) the

int setVShiftSpeed(const mx::meta::trueFalseT< true > &t)
Interface to setVShiftSpeed when the derivedT has vshift speed control.
Definition: stdCamera.hpp:1905

function must be defined which sets the camera according to m_vShiftSpeedNameSet. The implementation must also manage m_vShiftSpeedName, keeping it up to date. The configuration setting camera.defaultVShiftSpeed is also exposed, and the implementation can set this default with m_defaultVShiftSpeed.

Exposure Time: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_exptimeCtrl = true; //or: false
int setExpTime();
int setExpTime(const mx::meta::trueFalseT< true > &t)
Interface to setExpTime when the derivedT uses exposure time controls.
Definition: stdCamera.hpp:2007

FPS Control: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_fpsCtrl = true; //or: false

If that is set to true the derivedT must implement

int setFPS();
int setFPS(const mx::meta::trueFalseT< true > &t)
Interface to setFPS when the derivedT uses FPS controls.
Definition: stdCamera.hpp:2049

FPS Status: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_fps = true; //or: false

Note that the value of c_stdCamera_fps does not matter if c_stdCamera_fpsCtrl == true.

Synchro Control: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_synchro = true; //or: false

If that is set to true the derivedT must implement

int setSynchro();
int setSynchro(const mx::meta::trueFalseT< true > &t)
Interface to setSynchro when the derivedT has synchronization.
Definition: stdCamera.hpp:2091

EM Gain: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_emGain = true; //or: false

which determines whether or not EM gain controls are exposed. If the camera uses EM Gain, then a function

int setEMGain();
int setEMGain(const mx::meta::trueFalseT< true > &t)
Interface to setEMGain when the derivedT has EM Gain.
Definition: stdCamera.hpp:1965

must be defined which sets the camera EM Gain to m_emGainSet. The implementation must also keep m_emGain up to date. The value of m_maxEMGain should be set by the implementation and managed as needed.

Camera Modes: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_usesModes= true; //or: false

Regions of Interest A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_usesROI = true; //or: false

The default values of m_currentROI should be set before calling stdCamera::appStartup(). The derived class must implement:

int checkNextROI(); // verifies m_nextROI values and modifies to closest valid values if needed
int setNextROI(); // sets the ROI to the new target values.
int checkNextROI(const mx::meta::trueFalseT< true > &t)
Interface to checkNextROI when the derivedT uses ROIs.
Definition: stdCamera.hpp:2393
int setNextROI(const mx::meta::trueFalseT< true > &t)
Interface to setNextROI when the derivedT uses ROIs.
Definition: stdCamera.hpp:2434

Crop Mode ROIs: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_cropMode = true; //or: false

and the derived class must implement

int setCropMode(const mx::meta::trueFalseT< true > &t)
Interface to setCropMode when the derivedT has crop mode.
Definition: stdCamera.hpp:2210

which changes the crop mode according to m_cropModeSet.

Shutters: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_hasShutter = true; //or: false

and a funciton must defined

int setShutter(int);
int setShutter(int ss, const mx::meta::trueFalseT< true > &t)
Interface to setShutter when the derivedT has a shutter.
Definition: stdCamera.hpp:2664

which shuts the shutter if the argument is 0, opens it otherwise.

State: A static configuration variable must be defined in derivedT as

static constexpr bool c_stdCamera_usesStateString = true; //or: false

which determines whether the class provides a state string for dark management. If true, the following functions must be defined in derivedT:

std::string stateString(); //String capturing the current state. Must not include "__T".
bool stateStringValid(); //Whether or not the current state string is valid, i.e. not changing.
bool stateStringValid(const mx::meta::trueFalseT< true > &t)
Interface to stateStringValid when the derivedT provides it.
Definition: stdCamera.hpp:2725
std::string stateString(const mx::meta::trueFalseT< true > &t)
Interface to stateString when the derivedT provides it.
Definition: stdCamera.hpp:2711

The derived class must implement:

int powerOnDefaults(); // called on power-on after powerOnWaitElapsed has occurred.

Calls to this class's setupConfig, loadConfig, appStartup, appLogic, appShutdown onPowerOff, and whilePowerOff, must be placed in the derived class's functions of the same name.

Definition at line 231 of file stdCamera.hpp.


Class Documentation

◆ MagAOX::app::dev::stdCamera::roi

struct MagAOX::app::dev::stdCamera::roi

template<class derivedT>
struct MagAOX::app::dev::stdCamera< derivedT >::roi

Definition at line 357 of file stdCamera.hpp.

Collaboration diagram for MagAOX::app::dev::stdCamera< derivedT >::roi:
Collaboration graph
Class Members
int bin_x
int bin_y
int h
int w
float x
float y

Constructor & Destructor Documentation

◆ ~stdCamera()

template<class derivedT >
MagAOX::app::dev::stdCamera< derivedT >::~stdCamera
noexcept

Destructor, destroys the PdvDev structure.

Definition at line 972 of file stdCamera.hpp.

Member Function Documentation

◆ appLogic()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::appLogic

Application logic.

Checks the stdCamera thread

This should be called from the derived's appLogic() as in

with appropriate error checking.

Returns
0 on success
-1 on error, which is logged.

Definition at line 1484 of file stdCamera.hpp.

◆ appShutdown()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::appShutdown

Application shutdown.

Shuts down the stdCamera thread

with appropriate error checking.

Returns
0 on success
-1 on error, which is logged.

Definition at line 1687 of file stdCamera.hpp.

Referenced by MagAOX::app::cameraSim::appShutdown(), MagAOX::app::ocam2KCtrl::appShutdown(), MagAOX::app::qhyCtrl::appShutdown(), and MagAOX::app::zylaCtrl::appShutdown().

◆ appStartup()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::appStartup

Startup function.

This should be called in derivedT::appStartup as

with appropriate error checking.

You should set the default/startup values of m_currentROI as well as the min/max/step values for the ROI parameters before calling this function.

Returns
0 on success
-1 on error, which is logged.

Definition at line 1120 of file stdCamera.hpp.

◆ checkNextROI() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::checkNextROI ( const mx::meta::trueFalseT< false > &  f)

Interface to checkNextROI when the derivedT does not use ROIs.

Tag-dispatch resolution of c_stdCamera_usesROI==false will call this function. This prevents requiring derivedT to have its own checkNextROI().

Definition at line 2400 of file stdCamera.hpp.

◆ checkNextROI() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::checkNextROI ( const mx::meta::trueFalseT< true > &  t)

Interface to checkNextROI when the derivedT uses ROIs.

Tag-dispatch resolution of c_stdCamera_usesROI==true will call this function. Calls derivedT::checkNextROI.

Definition at line 2393 of file stdCamera.hpp.

◆ createReadoutSpeed() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::createReadoutSpeed ( const mx::meta::trueFalseT< false > &  f)
protected

◆ createReadoutSpeed() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::createReadoutSpeed ( const mx::meta::trueFalseT< true > &  t)
protected

Definition at line 1069 of file stdCamera.hpp.

◆ createVShiftSpeed() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::createVShiftSpeed ( const mx::meta::trueFalseT< false > &  f)
protected

◆ createVShiftSpeed() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::createVShiftSpeed ( const mx::meta::trueFalseT< true > &  t)
protected

Definition at line 1095 of file stdCamera.hpp.

◆ derived()

template<class derivedT >
derivedT& MagAOX::app::dev::stdCamera< derivedT >::derived ( )
inlineprivate

Definition at line 965 of file stdCamera.hpp.

◆ loadConfig()

template<class derivedT >
void MagAOX::app::dev::stdCamera< derivedT >::loadConfig ( mx::app::appConfigurator &  config)

load the configuration system results

This should be called in derivedT::loadConfig as

void loadConfig(mx::app::appConfigurator &config)
load the configuration system results
Definition: stdCamera.hpp:1019

with appropriate error checking.

Parameters
[in]configthe derived classes configurator

Definition at line 1019 of file stdCamera.hpp.

Referenced by MagAOX::app::andorCtrl::loadConfig(), MagAOX::app::cameraSim::loadConfig(), MagAOX::app::ocam2KCtrl::loadConfig(), MagAOX::app::picamCtrl::loadConfig(), MagAOX::app::qhyCtrl::loadConfig(), and MagAOX::app::zylaCtrl::loadConfig().

◆ newCallBack_cropMode()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_cropMode ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW cropMode request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2224 of file stdCamera.hpp.

◆ newCallBack_emgain()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_emgain ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW EM gain request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1979 of file stdCamera.hpp.

◆ newCallBack_exptime()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_exptime ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW exposure time request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2021 of file stdCamera.hpp.

◆ newCallBack_fps()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_fps ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW fps request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2063 of file stdCamera.hpp.

◆ newCallBack_mode()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_mode ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW mode request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2135 of file stdCamera.hpp.

◆ newCallBack_readoutSpeed()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_readoutSpeed ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW readout speed request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1859 of file stdCamera.hpp.

◆ newCallBack_reconfigure()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_reconfigure ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW reconfigure request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2187 of file stdCamera.hpp.

◆ newCallBack_roi_bin_x()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_bin_x ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW bin_x request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2347 of file stdCamera.hpp.

◆ newCallBack_roi_bin_y()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_bin_y ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW bin_y request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2370 of file stdCamera.hpp.

◆ newCallBack_roi_check()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_check ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_check request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2407 of file stdCamera.hpp.

◆ newCallBack_roi_default()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_default ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_default request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2630 of file stdCamera.hpp.

◆ newCallBack_roi_full()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_full ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_full request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2477 of file stdCamera.hpp.

◆ newCallBack_roi_fullbin()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_fullbin ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_fullbin request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2511 of file stdCamera.hpp.

◆ newCallBack_roi_h()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_h ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_h request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2324 of file stdCamera.hpp.

◆ newCallBack_roi_last()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_last ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_last request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2602 of file stdCamera.hpp.

◆ newCallBack_roi_loadlast()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_loadlast ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_loadlast request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2575 of file stdCamera.hpp.

◆ newCallBack_roi_set()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_set ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_set request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2448 of file stdCamera.hpp.

◆ newCallBack_roi_w()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_w ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_w request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2301 of file stdCamera.hpp.

◆ newCallBack_roi_x()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_x ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_x request.

Returns
0 on success.
-1 on error.
Todo:
why don't these check if usesROI is true?
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2255 of file stdCamera.hpp.

◆ newCallBack_roi_y()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_roi_y ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW roi_y request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2278 of file stdCamera.hpp.

◆ newCallBack_shutter()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_shutter ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW shutter request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2683 of file stdCamera.hpp.

◆ newCallBack_stdCamera()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_stdCamera ( const pcf::IndiProperty &  ipRecv)

The callback function for stdCamera properties.

Dispatches to the relevant handler

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1703 of file stdCamera.hpp.

◆ newCallBack_synchro()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_synchro ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW synchro request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 2105 of file stdCamera.hpp.

◆ newCallBack_temp()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_temp ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW CCD temp request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1766 of file stdCamera.hpp.

◆ newCallBack_temp_controller()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_temp_controller ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW CCD temp control request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1810 of file stdCamera.hpp.

◆ newCallBack_vShiftSpeed()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::newCallBack_vShiftSpeed ( const pcf::IndiProperty &  ipRecv)

Callback to process a NEW vshift speed request.

Returns
0 on success.
-1 on error.
Parameters
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1919 of file stdCamera.hpp.

◆ onPowerOff()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::onPowerOff

Actions on power off.

This should be called from the derived's onPowerOff() as in

with appropriate error checking.

The INDI mutex should be locked before calling.

Returns
0 on success
-1 on error, which is logged.

Definition at line 1592 of file stdCamera.hpp.

◆ recordCamera()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::recordCamera ( bool  force = false)

Definition at line 2898 of file stdCamera.hpp.

◆ setCropMode() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setCropMode ( const mx::meta::trueFalseT< false > &  f)

Interface to setCropMode when the derivedT does not have crop mode.

Tag-dispatch resolution of c_stdCamera_cropMode==false will call this function. This prevents requiring derivedT to have its own setCropMode().

Definition at line 2217 of file stdCamera.hpp.

◆ setCropMode() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setCropMode ( const mx::meta::trueFalseT< true > &  t)

Interface to setCropMode when the derivedT has crop mode.

Tag-dispatch resolution of c_stdCamera_cropMode==true will call this function. Calls derivedT::setCropMode.

Definition at line 2210 of file stdCamera.hpp.

◆ setEMGain() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setEMGain ( const mx::meta::trueFalseT< false > &  f)

Interface to setEMGain when the derivedT does not have EM Gain.

Tag-dispatch resolution of c_stdCamera_emGain==false will call this function. This prevents requiring derivedT to have its own setEMGain().

Definition at line 1972 of file stdCamera.hpp.

◆ setEMGain() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setEMGain ( const mx::meta::trueFalseT< true > &  t)

Interface to setEMGain when the derivedT has EM Gain.

Tag-dispatch resolution of c_stdCamera_emGain==true will call this function. Calls derivedT::setEMGain.

Definition at line 1965 of file stdCamera.hpp.

◆ setExpTime() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setExpTime ( const mx::meta::trueFalseT< false > &  f)

Interface to setExptime when the derivedT does not use exposure time controls.

Tag-dispatch resolution of c_stdCamera_exptimeCtrl==false will call this function. This prevents requiring derivedT to have its own setExpTime().

Definition at line 2014 of file stdCamera.hpp.

◆ setExpTime() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setExpTime ( const mx::meta::trueFalseT< true > &  t)

Interface to setExpTime when the derivedT uses exposure time controls.

Tag-dispatch resolution of c_stdCamera_exptimeCtrl==true will call this function. Calls derivedT::setExpTime.

Definition at line 2007 of file stdCamera.hpp.

◆ setFPS() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setFPS ( const mx::meta::trueFalseT< false > &  f)

Interface to setFPS when the derivedT does not use FPS controls.

Tag-dispatch resolution of c_stdCamera_hasFPS==false will call this function. This prevents requiring derivedT to have its own setFPS().

Definition at line 2056 of file stdCamera.hpp.

◆ setFPS() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setFPS ( const mx::meta::trueFalseT< true > &  t)

Interface to setFPS when the derivedT uses FPS controls.

Tag-dispatch resolution of c_stdCamera_fpsCtrl==true will call this function. Calls derivedT::setFPS.

Definition at line 2049 of file stdCamera.hpp.

◆ setNextROI() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setNextROI ( const mx::meta::trueFalseT< false > &  f)

Interface to setNextROI when the derivedT does not use ROIs.

Tag-dispatch resolution of c_stdCamera_usesROI==false will call this function. This prevents requiring derivedT to have its own setNextROI().

Definition at line 2441 of file stdCamera.hpp.

◆ setNextROI() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setNextROI ( const mx::meta::trueFalseT< true > &  t)

Interface to setNextROI when the derivedT uses ROIs.

Tag-dispatch resolution of c_stdCamera_usesROI==true will call this function. Calls derivedT::setNextROI.

Definition at line 2434 of file stdCamera.hpp.

◆ setReadoutSpeed() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setReadoutSpeed ( const mx::meta::trueFalseT< false > &  f)

Interface to setReadoutSpeed when the derivedT does not have readout speed control.

Tag-dispatch resolution of c_stdCamera_readoutSpeed==false will call this function. Just returns 0.

Definition at line 1852 of file stdCamera.hpp.

◆ setReadoutSpeed() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setReadoutSpeed ( const mx::meta::trueFalseT< true > &  t)

Interface to setReadoutSpeed when the derivedT has readout speed control.

Tag-dispatch resolution of c_stdCamera_readoutSpeed==true will call this function. Calls derivedT::setReadoutSpeed.

Definition at line 1845 of file stdCamera.hpp.

◆ setShutter() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setShutter ( int  ss,
const mx::meta::trueFalseT< false > &  f 
)

Interface to setShutter when the derivedT does not have a shutter.

Tag-dispatch resolution of c_stdCamera_hasShutter==false will call this function. This prevents requiring derivedT to have its own setShutter().

Definition at line 2673 of file stdCamera.hpp.

◆ setShutter() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setShutter ( int  ss,
const mx::meta::trueFalseT< true > &  t 
)

Interface to setShutter when the derivedT has a shutter.

Tag-dispatch resolution of c_stdCamera_hasShutter==true will call this function. Calls derivedT::setShutter.

Definition at line 2664 of file stdCamera.hpp.

◆ setSynchro() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setSynchro ( const mx::meta::trueFalseT< false > &  f)

Interface to setSynchro when the derivedT does not have synchronization.

Tag-dispatch resolution of c_stdCamera_ynchro==false will call this function. This prevents requiring derivedT to have its own setSynchro().

Definition at line 2098 of file stdCamera.hpp.

◆ setSynchro() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setSynchro ( const mx::meta::trueFalseT< true > &  t)

Interface to setSynchro when the derivedT has synchronization.

Tag-dispatch resolution of c_stdCamera_synchro==true will call this function. Calls derivedT::setSynchro.

Definition at line 2091 of file stdCamera.hpp.

◆ setTempControl() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setTempControl ( const mx::meta::trueFalseT< false > &  f)

Interface to setTempControl when the derivedT does not have temperature control.

Tag-dispatch resolution of c_stdCamera_tempControl==false will call this function. Prevents requiring derivedT::setTempControl.

Definition at line 1803 of file stdCamera.hpp.

◆ setTempControl() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setTempControl ( const mx::meta::trueFalseT< true > &  t)

Interface to setTempControl when the derivedT has temperature control.

Tag-dispatch resolution of c_stdCamera_tempControl==true will call this function. Calls derivedT::setTempControl.

Definition at line 1796 of file stdCamera.hpp.

◆ setTempSetPt() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setTempSetPt ( const mx::meta::trueFalseT< false > &  f)

Interface to setTempSetPt when the derivedT does not have temperature control.

Tag-dispatch resolution of c_stdCamera_tempControl==false will call this function. Prevents requiring derivedT::setTempSetPt.

Definition at line 1759 of file stdCamera.hpp.

◆ setTempSetPt() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setTempSetPt ( const mx::meta::trueFalseT< true > &  t)

Interface to setTempSetPt when the derivedT has temperature control.

Tag-dispatch resolution of c_stdCamera_tempControl==true will call this function. Calls derivedT::setTempSetPt.

Definition at line 1752 of file stdCamera.hpp.

◆ setupConfig()

template<class derivedT >
void MagAOX::app::dev::stdCamera< derivedT >::setupConfig ( mx::app::appConfigurator &  config)

Setup the configuration system.

This should be called in derivedT::setupConfig as

void setupConfig(mx::app::appConfigurator &config)
Setup the configuration system.
Definition: stdCamera.hpp:980

with appropriate error checking.

Parameters
[out]configthe derived classes configurator

Definition at line 980 of file stdCamera.hpp.

Referenced by MagAOX::app::andorCtrl::setupConfig(), MagAOX::app::cameraSim::setupConfig(), MagAOX::app::ocam2KCtrl::setupConfig(), MagAOX::app::picamCtrl::setupConfig(), MagAOX::app::qhyCtrl::setupConfig(), and MagAOX::app::zylaCtrl::setupConfig().

◆ setVShiftSpeed() [1/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setVShiftSpeed ( const mx::meta::trueFalseT< false > &  f)

Interface to setVShiftSpeed when the derivedT does not have vshift speed control.

Tag-dispatch resolution of c_stdCamera_vShiftSpeed==false will call this function. Just returns 0.

Definition at line 1912 of file stdCamera.hpp.

◆ setVShiftSpeed() [2/2]

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::setVShiftSpeed ( const mx::meta::trueFalseT< true > &  t)

Interface to setVShiftSpeed when the derivedT has vshift speed control.

Tag-dispatch resolution of c_stdCamera_vShiftSpeed==true will call this function. Calls derivedT::setVShiftSpeed.

Definition at line 1905 of file stdCamera.hpp.

◆ st_newCallBack_stdCamera()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::st_newCallBack_stdCamera ( void *  app,
const pcf::IndiProperty &  ipRecv 
)
static

The static callback function to be registered for stdCamera properties.

Calls newCallback_stdCamera

Returns
0 on success.
-1 on error.
Parameters
[in]appa pointer to this, will be static_cast-ed to derivedT.
[in]ipRecvthe INDI property sent with the the new property request.

Definition at line 1694 of file stdCamera.hpp.

◆ stateString() [1/2]

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::stateString ( const mx::meta::trueFalseT< false > &  f)

Interface to stateString when the derivedT does not provide it.

Tag-dispatch resolution of c_stdCamera_usesStateString==false will call this function. returns "".

Definition at line 2718 of file stdCamera.hpp.

◆ stateString() [2/2]

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::stateString ( const mx::meta::trueFalseT< true > &  t)

Interface to stateString when the derivedT provides it.

Tag-dispatch resolution of c_stdCamera_usesStateString==true will call this function. Calls derivedT::stateString.

Definition at line 2711 of file stdCamera.hpp.

◆ stateStringValid() [1/2]

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::stateStringValid ( const mx::meta::trueFalseT< false > &  f)

Interface to stateStringValid when the derivedT does not provide it.

Tag-dispatch resolution of c_stdCamera_usesStateString==false will call this function. returns false.

Definition at line 2732 of file stdCamera.hpp.

◆ stateStringValid() [2/2]

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::stateStringValid ( const mx::meta::trueFalseT< true > &  t)

Interface to stateStringValid when the derivedT provides it.

Tag-dispatch resolution of c_stdCamera_usesStateString==true will call this function. Calls derivedT::stateStringValid.

Definition at line 2725 of file stdCamera.hpp.

◆ updateINDI()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::updateINDI

Update the INDI properties for this device controller.

You should call this once per main loop. It is not called automatically.

Returns
0 on success.
-1 on error.

Definition at line 2739 of file stdCamera.hpp.

◆ whilePowerOff()

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::whilePowerOff

Actions while powered off.

This should be called from the derived's whilePowerOff() as in

with appropriate error checking.

Returns
0 on success
-1 on error, which is logged.

Definition at line 1655 of file stdCamera.hpp.

Member Data Documentation

◆ m_adcSpeed

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_adcSpeed {0}
protected

Definition at line 291 of file stdCamera.hpp.

◆ m_cameraModes

template<class derivedT >
cameraConfigMap MagAOX::app::dev::stdCamera< derivedT >::m_cameraModes
protected

Map holding the possible camera mode configurations.

Definition at line 239 of file stdCamera.hpp.

◆ m_ccdTemp

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_ccdTemp {-999}
protected

The current temperature, in C.

Definition at line 258 of file stdCamera.hpp.

◆ m_ccdTempSetpt

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_ccdTempSetpt {-999}
protected

The desired temperature, in C.

Definition at line 260 of file stdCamera.hpp.

◆ m_cropMode

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_cropMode {false}
protected

Status of crop mode ROIs, if enabled for this camera.

Definition at line 439 of file stdCamera.hpp.

◆ m_cropModeSet

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_cropModeSet {false}
protected

Desired status of crop mode ROIs, if enabled for this camera.

Definition at line 440 of file stdCamera.hpp.

◆ m_currentROI

template<class derivedT >
roi MagAOX::app::dev::stdCamera< derivedT >::m_currentROI
protected

Definition at line 367 of file stdCamera.hpp.

◆ m_default_bin_x

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_default_bin_x {1}
protected

Power-on ROI x binning.

Definition at line 399 of file stdCamera.hpp.

◆ m_default_bin_y

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_default_bin_y {1}
protected

Power-on ROI y binning.

Definition at line 400 of file stdCamera.hpp.

◆ m_default_h

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_default_h {0}
protected

Power-on ROI height.

Definition at line 398 of file stdCamera.hpp.

◆ m_default_w

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_default_w {0}
protected

Power-on ROI width.

Definition at line 397 of file stdCamera.hpp.

◆ m_default_x

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_default_x {0}
protected

Power-on ROI center x coordinate.

Definition at line 395 of file stdCamera.hpp.

◆ m_default_y

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_default_y {0}
protected

Power-on ROI center y coordinate.

Definition at line 396 of file stdCamera.hpp.

◆ m_defaultReadoutSpeed

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_defaultReadoutSpeed
protected

The default readout speed of the camera.

Definition at line 245 of file stdCamera.hpp.

◆ m_defaultVShiftSpeed

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_defaultVShiftSpeed
protected

The default readout speed of the camera.

Definition at line 246 of file stdCamera.hpp.

◆ m_emGain

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_emGain {1}
protected

The camera's current EM gain (if available).

Definition at line 294 of file stdCamera.hpp.

◆ m_emGainSet

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_emGainSet {1}
protected

The camera's EM gain, as set by the user.

Definition at line 295 of file stdCamera.hpp.

◆ m_expTime

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_expTime {0}
protected

The current exposure time, in seconds.

Definition at line 312 of file stdCamera.hpp.

◆ m_expTimeSet

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_expTimeSet {0}
protected

The exposure time, in seconds, as set by user.

Definition at line 313 of file stdCamera.hpp.

◆ m_fps

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_fps {0}
protected

The current FPS.

Definition at line 319 of file stdCamera.hpp.

◆ m_fpsSet

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_fpsSet {0}
protected

The commanded fps, as set by user.

Definition at line 320 of file stdCamera.hpp.

◆ m_full_bin_x

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_bin_x {1}
protected

The x-binning in the full ROI.

Definition at line 406 of file stdCamera.hpp.

◆ m_full_bin_y

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_bin_y {1}
protected

The y-binning in the full ROI.

Definition at line 407 of file stdCamera.hpp.

◆ m_full_currbin_h

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_currbin_h {0}
protected

The current-binning full ROI height.

Definition at line 412 of file stdCamera.hpp.

◆ m_full_currbin_w

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_currbin_w {0}
protected

The current-binning full ROI width.

Definition at line 411 of file stdCamera.hpp.

◆ m_full_currbin_x

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_full_currbin_x {0}
protected

The current-binning full ROI center x coordinate.

Definition at line 409 of file stdCamera.hpp.

◆ m_full_currbin_y

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_full_currbin_y {0}
protected

The current-binning full ROI center y coordinate.

Definition at line 410 of file stdCamera.hpp.

◆ m_full_h

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_h {0}
protected

The full ROI height.

Definition at line 405 of file stdCamera.hpp.

◆ m_full_w

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_full_w {0}
protected

The full ROI width.

Definition at line 404 of file stdCamera.hpp.

◆ m_full_x

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_full_x {0}
protected

The full ROI center x coordinate.

Definition at line 402 of file stdCamera.hpp.

◆ m_full_y

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_full_y {0}
protected

The full ROI center y coordinate.

Definition at line 403 of file stdCamera.hpp.

◆ m_indiP_cropMode

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_cropMode
protected

Property used to toggle crop mode on and off.

Definition at line 442 of file stdCamera.hpp.

◆ m_indiP_emGain

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_emGain
protected

Definition at line 301 of file stdCamera.hpp.

◆ m_indiP_exptime

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_exptime
protected

Definition at line 322 of file stdCamera.hpp.

◆ m_indiP_fps

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_fps
protected

Definition at line 324 of file stdCamera.hpp.

◆ m_indiP_fullROI

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_fullROI
protected

Property used to preset the full ROI dimensions.

Definition at line 421 of file stdCamera.hpp.

◆ m_indiP_mode

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_mode
protected

Property used to report the current mode.

Definition at line 347 of file stdCamera.hpp.

◆ m_indiP_readoutSpeed

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_readoutSpeed
protected

Definition at line 298 of file stdCamera.hpp.

◆ m_indiP_reconfig

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_reconfig
protected

Request switch which forces the framegrabber to go through the reconfigure process.

Definition at line 349 of file stdCamera.hpp.

◆ m_indiP_roi_bin_x

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_bin_x
protected

Property used to set the ROI x binning.

Definition at line 418 of file stdCamera.hpp.

◆ m_indiP_roi_bin_y

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_bin_y
protected

Property used to set the ROI y binning.

Definition at line 419 of file stdCamera.hpp.

◆ m_indiP_roi_check

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_check
protected

Property used to trigger checking the target ROI.

Definition at line 423 of file stdCamera.hpp.

◆ m_indiP_roi_default

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_default
protected

Property used to trigger setting the default and startup ROI.

Definition at line 431 of file stdCamera.hpp.

◆ m_indiP_roi_full

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_full
protected

Property used to trigger setting the full ROI.

Definition at line 427 of file stdCamera.hpp.

◆ m_indiP_roi_fullbin

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_fullbin
protected

Property used to trigger setting the full in current binning ROI.

Definition at line 428 of file stdCamera.hpp.

◆ m_indiP_roi_h

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_h
protected

Property used to set the ROI height.

Definition at line 417 of file stdCamera.hpp.

◆ m_indiP_roi_last

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_last
protected

Property used to trigger setting the last ROI.

Definition at line 430 of file stdCamera.hpp.

◆ m_indiP_roi_loadlast

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_loadlast
protected

Property used to trigger loading the last ROI as the target.

Definition at line 429 of file stdCamera.hpp.

◆ m_indiP_roi_set

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_set
protected

Property used to trigger setting the ROI.

Definition at line 425 of file stdCamera.hpp.

◆ m_indiP_roi_w

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_w
protected

Property used to set the ROI width.

Definition at line 416 of file stdCamera.hpp.

◆ m_indiP_roi_x

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_x
protected

Property used to set the ROI x center coordinate.

Definition at line 414 of file stdCamera.hpp.

◆ m_indiP_roi_y

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_roi_y
protected

Property used to set the ROI x center coordinate.

Definition at line 415 of file stdCamera.hpp.

◆ m_indiP_shutter

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_shutter
protected

Property used to control the shutter, a switch.

Definition at line 453 of file stdCamera.hpp.

◆ m_indiP_shutterStatus

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_shutterStatus
protected

State of the shutter. 0 = shut, 1 = open, -1 = unknown.

Property to report shutter status

Definition at line 452 of file stdCamera.hpp.

◆ m_indiP_stateString

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_stateString
protected

Definition at line 461 of file stdCamera.hpp.

◆ m_indiP_synchro

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_synchro
protected

Definition at line 335 of file stdCamera.hpp.

◆ m_indiP_temp

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_temp
protected

Definition at line 269 of file stdCamera.hpp.

◆ m_indiP_tempcont

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_tempcont
protected

Definition at line 270 of file stdCamera.hpp.

◆ m_indiP_tempstat

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_tempstat
protected

Definition at line 271 of file stdCamera.hpp.

◆ m_indiP_vShiftSpeed

template<class derivedT >
pcf::IndiProperty MagAOX::app::dev::stdCamera< derivedT >::m_indiP_vShiftSpeed
protected

Definition at line 299 of file stdCamera.hpp.

◆ m_lastROI

template<class derivedT >
roi MagAOX::app::dev::stdCamera< derivedT >::m_lastROI
protected

Definition at line 369 of file stdCamera.hpp.

◆ m_maxEMGain

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxEMGain {1}
protected

The configurable maximum EM gain. To be enforced in derivedT.

Definition at line 296 of file stdCamera.hpp.

◆ m_maxExpTime

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxExpTime {std::numeric_limits<float>::max()}
protected

The maximum exposure time, used for INDI attributes.

Definition at line 309 of file stdCamera.hpp.

◆ m_maxFPS

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxFPS {std::numeric_limits<float>::max()}
protected

The maximum FPS, used for INDI attributes.

Definition at line 316 of file stdCamera.hpp.

◆ m_maxROIBinning_x

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_maxROIBinning_x {4}
protected

Definition at line 388 of file stdCamera.hpp.

◆ m_maxROIBinning_y

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_maxROIBinning_y {4}
protected

Definition at line 392 of file stdCamera.hpp.

◆ m_maxROIHeight

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_maxROIHeight {1024}
protected

Definition at line 384 of file stdCamera.hpp.

◆ m_maxROIWidth

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_maxROIWidth {1024}
protected

Definition at line 380 of file stdCamera.hpp.

◆ m_maxROIx

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxROIx {1023}
protected

Definition at line 372 of file stdCamera.hpp.

◆ m_maxROIy

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxROIy {1023}
protected

Definition at line 376 of file stdCamera.hpp.

◆ m_maxTemp

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_maxTemp {30}
protected

Definition at line 255 of file stdCamera.hpp.

◆ m_minExpTime

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_minExpTime {0}
protected

The minimum exposure time, used for INDI attributes.

Definition at line 308 of file stdCamera.hpp.

◆ m_minFPS

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_minFPS {0}
protected

The minimum FPS, used for INDI attributes.

Definition at line 315 of file stdCamera.hpp.

◆ m_minROIBinning_x

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_minROIBinning_x {1}
protected

Definition at line 387 of file stdCamera.hpp.

◆ m_minROIBinning_y

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_minROIBinning_y {1}
protected

Definition at line 391 of file stdCamera.hpp.

◆ m_minROIHeight

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_minROIHeight {1}
protected

Definition at line 383 of file stdCamera.hpp.

◆ m_minROIWidth

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_minROIWidth {1}
protected

Definition at line 379 of file stdCamera.hpp.

◆ m_minROIx

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_minROIx {0}
protected

Definition at line 371 of file stdCamera.hpp.

◆ m_minROIy

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_minROIy {0}
protected

Definition at line 375 of file stdCamera.hpp.

◆ m_minTemp

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_minTemp {-60}
protected

Definition at line 254 of file stdCamera.hpp.

◆ m_modeName

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_modeName
protected

The current mode name.

Definition at line 343 of file stdCamera.hpp.

◆ m_nextMode

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_nextMode
protected

The mode to be set by the next reconfiguration.

Definition at line 345 of file stdCamera.hpp.

◆ m_nextROI

template<class derivedT >
roi MagAOX::app::dev::stdCamera< derivedT >::m_nextROI
protected

Definition at line 368 of file stdCamera.hpp.

◆ m_readoutSpeedName

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_readoutSpeedName
protected

The current readout speed name.

Definition at line 282 of file stdCamera.hpp.

◆ m_readoutSpeedNameLabels

template<class derivedT >
std::vector<std::string> MagAOX::app::dev::stdCamera< derivedT >::m_readoutSpeedNameLabels
protected

Definition at line 280 of file stdCamera.hpp.

◆ m_readoutSpeedNames

template<class derivedT >
std::vector<std::string> MagAOX::app::dev::stdCamera< derivedT >::m_readoutSpeedNames
protected

Definition at line 279 of file stdCamera.hpp.

◆ m_readoutSpeedNameSet

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_readoutSpeedNameSet
protected

The user requested readout speed name, to be set by derived()

Definition at line 283 of file stdCamera.hpp.

◆ m_shutterState

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_shutterState {-1}
protected

Definition at line 450 of file stdCamera.hpp.

◆ m_shutterStatus

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_shutterStatus {"UNKNOWN"}
protected

Definition at line 449 of file stdCamera.hpp.

◆ m_startupMode

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_startupMode
protected

The camera mode to load during first init after a power-on.

Definition at line 241 of file stdCamera.hpp.

◆ m_startupTemp

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_startupTemp {-999}
protected

The temperature to set after a power-on. Set to <= -999 to not use [default].

Definition at line 243 of file stdCamera.hpp.

◆ m_stepExpTime

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_stepExpTime {0}
protected

The maximum exposure time stepsize, used for INDI attributes.

Definition at line 310 of file stdCamera.hpp.

◆ m_stepFPS

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_stepFPS {0}
protected

The FPS step size, used for INDI attributes.

Definition at line 317 of file stdCamera.hpp.

◆ m_stepROIBinning_x

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_stepROIBinning_x {1}
protected

Definition at line 389 of file stdCamera.hpp.

◆ m_stepROIBinning_y

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_stepROIBinning_y {1}
protected

Definition at line 393 of file stdCamera.hpp.

◆ m_stepROIHeight

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_stepROIHeight {1}
protected

Definition at line 385 of file stdCamera.hpp.

◆ m_stepROIWidth

template<class derivedT >
int MagAOX::app::dev::stdCamera< derivedT >::m_stepROIWidth {1}
protected

Definition at line 381 of file stdCamera.hpp.

◆ m_stepROIx

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_stepROIx {0}
protected

Definition at line 373 of file stdCamera.hpp.

◆ m_stepROIy

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_stepROIy {0}
protected

Definition at line 377 of file stdCamera.hpp.

◆ m_stepTemp

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_stepTemp {0}
protected

Definition at line 256 of file stdCamera.hpp.

◆ m_synchro

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_synchro {false}
protected

Status of synchronization, true is on, false is off.

Definition at line 333 of file stdCamera.hpp.

◆ m_synchroSet

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_synchroSet {false}
protected

Target status of m_synchro.

Definition at line 331 of file stdCamera.hpp.

◆ m_tempControlOnTarget

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_tempControlOnTarget {false}
protected

Whether or not the temperature control system is on its target temperature.

Definition at line 265 of file stdCamera.hpp.

◆ m_tempControlStatus

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_tempControlStatus {false}
protected

Whether or not temperature control is active.

Definition at line 262 of file stdCamera.hpp.

◆ m_tempControlStatusSet

template<class derivedT >
bool MagAOX::app::dev::stdCamera< derivedT >::m_tempControlStatusSet {false}
protected

Desired state of temperature control.

Definition at line 263 of file stdCamera.hpp.

◆ m_tempControlStatusStr

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_tempControlStatusStr
protected

Camera specific description of temperature control status.

Definition at line 267 of file stdCamera.hpp.

◆ m_vshiftSpeed

template<class derivedT >
float MagAOX::app::dev::stdCamera< derivedT >::m_vshiftSpeed {0}
protected

Definition at line 292 of file stdCamera.hpp.

◆ m_vShiftSpeedName

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_vShiftSpeedName
protected

The current vshift speed name.

Definition at line 288 of file stdCamera.hpp.

◆ m_vShiftSpeedNameLabels

template<class derivedT >
std::vector<std::string> MagAOX::app::dev::stdCamera< derivedT >::m_vShiftSpeedNameLabels
protected

Definition at line 286 of file stdCamera.hpp.

◆ m_vShiftSpeedNames

template<class derivedT >
std::vector<std::string> MagAOX::app::dev::stdCamera< derivedT >::m_vShiftSpeedNames
protected

Definition at line 285 of file stdCamera.hpp.

◆ m_vShiftSpeedNameSet

template<class derivedT >
std::string MagAOX::app::dev::stdCamera< derivedT >::m_vShiftSpeedNameSet
protected

The user requested vshift speed name, to be set by derived()

Definition at line 289 of file stdCamera.hpp.


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