The MagAO-X PSD-based gain optimizer. More...
#include <modalGainOpt.hpp>
Public Member Functions | |
modalGainOpt () | |
Default c'tor. | |
~modalGainOpt () noexcept | |
D'tor, declared and defined for noexcept. | |
virtual void | setupConfig () |
int | loadConfigImpl (mx::app::appConfigurator &_config) |
Implementation of loadConfig logic, separated for testing. | |
virtual void | loadConfig () |
virtual int | appStartup () |
Startup function. | |
virtual int | appLogic () |
Implementation of the FSM for modalGainOpt. | |
virtual int | appShutdown () |
Shutdown the app. | |
int | allocatePCShmims () |
int | allocate (const psdShmimT &) |
int | processImage (void *curr_src, const psdShmimT &) |
int | allocate (const freqShmimT &) |
int | processImage (void *curr_src, const freqShmimT &) |
int | allocate (const gainFactShmimT &) |
int | processImage (void *curr_src, const gainFactShmimT &) |
int | allocate (const multFactShmimT &) |
int | processImage (void *curr_src, const multFactShmimT &) |
int | allocate (const pcGainFactShmimT &) |
int | processImage (void *curr_src, const pcGainFactShmimT &) |
int | allocate (const pcMultFactShmimT &) |
int | processImage (void *curr_src, const pcMultFactShmimT &) |
int | allocate (const numpccoeffShmimT &) |
int | processImage (void *curr_src, const numpccoeffShmimT &) |
int | allocate (const acoeffShmimT &) |
int | processImage (void *curr_src, const acoeffShmimT &) |
int | allocate (const bcoeffShmimT &) |
int | processImage (void *curr_src, const bcoeffShmimT &) |
int | allocate (const gainCalShmimT &) |
int | processImage (void *curr_src, const gainCalShmimT &) |
int | allocate (const gainCalFactShmimT &) |
int | processImage (void *curr_src, const gainCalFactShmimT &) |
int | allocate (const tauShmimT &) |
int | processImage (void *curr_src, const tauShmimT &) |
int | allocate (const noiseShmimT &) |
int | processImage (void *curr_src, const noiseShmimT &) |
int | allocate (const wfsavgShmimT &) |
int | processImage (void *curr_src, const wfsavgShmimT &) |
int | allocate (const wfsmaskShmimT &) |
int | processImage (void *curr_src, const wfsmaskShmimT &) |
int | checkSizes () |
Check that all sizes and allocations have occurred. | |
virtual void | setDefaults (int argc, char **argv) |
Set the paths for config files. | |
virtual void | setupBasicConfig () |
The basic MagAO-X configuration setup method. Should not normally be overridden. | |
virtual void | loadBasicConfig () |
The basic MagAO-X configuration processing method. Should not normally be overridden. | |
virtual void | checkConfig () |
Check for unused and unrecognized config options and settings. | |
virtual int | execute () |
The execute method implementing the standard main loop. Should not normally be overridden. | |
Threads | |
int | threadStart (std::thread &thrd, bool &thrdInit, pid_t &tpid, pcf::IndiProperty &thProp, int thrdPrio, const std::string &cpuset, const std::string &thrdName, thisPtr *thrdThis, Function &&thrdStart) |
Start a thread, using this class's privileges to set priority, etc. | |
Member Accessors | |
std::string | basePath () |
Get the. | |
std::string | configName () |
Get the config name. | |
std::string | configDir () |
Get the config directory. | |
std::string | configBase () |
Get the config base file. | |
std::string | calibDir () |
Get the calibration directory. | |
std::string | sysPath () |
Get the system path. | |
std::string | secretsPath () |
Get the secrets path. | |
std::string | cpusetPath () |
Get the cpuset path. | |
unsigned long | loopPause () |
Get the loop pause time. | |
int | shutdown () |
Get the value of the shutdown flag. | |
std::string | driverInName () |
Get the INDI input FIFO file name. | |
std::string | driverOutName () |
Get the INDI output FIFO file name. | |
std::string | driverCtrlName () |
Get the INDI control FIFO file name. | |
Protected Attributes | |
uint32_t | m_nFreq { 0 } |
uint32_t | m_nModes { 0 } |
bool | m_updateOnce { false } |
Flag to trigger a single update with gain. | |
bool | m_dump { false } |
Flag to trigger a single update with no gain. | |
float | m_fps { 0 } |
std::vector< mx::AO::analysis::clGainOpt< float > > | m_goptCurrent |
Each mode gets its own gain optimizer. | |
std::vector< mx::AO::analysis::clGainOpt< float > > | m_goptSI |
std::vector< mx::AO::analysis::clGainOpt< float > > | m_goptLP |
std::vector< mx::AO::analysis::clAOLinearPredictor< float > > | m_linPred |
bool | m_goptUpdated { true } |
Tracks if a parameter has updated requiring updates to the m_gopt entries. | |
bool | m_pcgoptUpdated { true } |
Tracks if a parameter has updated requiring updates to the m_gopt entries. | |
bool | m_freqUpdated { true } |
float | m_psdTime { 1 } |
float | m_psdAvgTime { 10 } |
float | m_psdOverlapFraction { 0.5 } |
std::vector< float > | m_freq |
mx::improc::eigenImage< float > | m_clPSDs |
mx::improc::eigenImage< float > | m_clXferCurrent |
mx::improc::eigenImage< float > | m_clXferSI |
mx::improc::eigenImage< float > | m_clXferLP |
std::vector< std::vector< float > > | m_olPSDs |
std::vector< std::vector< float > > | m_nPSDs |
std::vector< float > | m_modeVarCL |
std::vector< float > | m_modeVarOL |
int | m_modesOn |
std::vector< float > | m_optGainSI |
std::vector< float > | m_gmaxSI |
The previously calculated maximum gains for LP. | |
std::vector< float > | m_modeVarSI |
std::vector< int > | m_timesOnSI |
int | m_modesOnSI |
std::vector< float > | m_optGainLP |
std::vector< float > | m_gmaxLP |
The previously calculated maximum gains for LP. | |
std::vector< float > | m_modeVarLP |
std::vector< int > | m_timesOnLP |
int | m_modesOnLP |
bool | m_loop { false } |
float | m_opticalGain { 1 } |
float | m_opticalGainSource {1} |
float | m_gain { 0 } |
float | m_mult { 1 } |
float | m_siGain { 0 } |
float | m_siMult { 1 } |
bool | m_doPCCalcs { true } |
float | m_pcGain { 0 } |
float | m_pcMult { 0 } |
bool | m_pcOn { false } |
std::vector< float > | m_gainFacts |
std::vector< float > | m_multFacts |
std::vector< float > | m_pcGainFacts |
std::vector< float > | m_pcMultFacts |
std::vector< uint32_t > | m_Na |
std::vector< uint32_t > | m_NaCurrent |
std::vector< uint32_t > | m_Nb |
std::vector< uint32_t > | m_NbCurrent |
eigenImage< float > | m_as |
eigenImage< float > | m_bs |
int | m_nRegCycles { 60 } |
How often to regularize each mode. | |
std::vector< int > | m_regCounter |
Counters to track when this mode was last regularized. | |
std::vector< float > | m_regScale |
The regularization scale factors for each mode. | |
std::vector< float > | m_gainCals |
std::vector< float > | m_gainCalFacts |
std::vector< float > | m_taus |
eigenImage< float > | m_noiseParams |
eigenImage< float > | m_wfsavg |
eigenImage< float > | m_wfsmask |
float | m_counts { 0 } |
float | m_emg { 1 } |
int | m_npix { 0 } |
int | m_sinceChange { -1 } |
std::string | m_olPSDShmimName |
std::string | m_noisePSDShmimName |
std::string | m_clXferCurrentShmimName |
std::string | m_clXferSIShmimName |
std::string | m_clXferLPShmimName |
std::string | m_optGainShmimName |
std::string | m_optGainSIShmimName |
std::string | m_maxGainSIShmimName |
std::string | m_optGainLPShmimName |
std::string | m_maxGainLPShmimName |
std::string | m_modevarShmimName |
IMAGE * | m_olPSDStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the open loop PSDs. | |
IMAGE * | m_noisePSDStream { nullptr } |
IMAGE * | m_clXferCurrentStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the SI ETF. | |
IMAGE * | m_clXferSIStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the SI ETF. | |
IMAGE * | m_clXferLPStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the LP ETF. | |
IMAGE * | m_optGainStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the optimal gains. | |
IMAGE * | m_optGainSIStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the SI optimal gains. | |
IMAGE * | m_maxGainSIStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the SI max gains. | |
IMAGE * | m_optGainLPStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the LP optimal gains. | |
IMAGE * | m_maxGainLPStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the LP max gains. | |
IMAGE * | m_modevarStream { nullptr } |
The ImageStreamIO shared memory buffer to publish the LP optimal gains. | |
std::mutex | m_goptMutex |
Mutex for synchronizing updates. | |
bool | m_updating { false } |
Flag used to indicate to the goptThread that it should stop calculations ASAP. | |
std::string | m_basePath |
The base path of the MagAO-X system. | |
std::string | m_configName |
The name of the configuration file (minus .conf). | |
std::string | m_configDir |
The path to configuration files for MagAOX. | |
std::string | m_configBase |
The name of a base config class for this app (minus .conf). | |
std::string | m_calibDir |
The path to calibration files for MagAOX. | |
std::string | m_sysPath |
The path to the system directory, for PID file, etc. | |
std::string | m_secretsPath |
Path to the secrets directory, where passwords, etc, are stored. | |
std::string | m_cpusetPath |
Path to the cpusets mount. | |
unsigned long | m_loopPause |
int | m_shutdown |
Flag to signal it's time to shutdown. When not 0, the main loop exits. | |
Configurable Parameters | |
int | m_loopNum { 1 } |
The number of the loop. Used to set shmim names, as in aolN_mgainfact. | |
std::string | m_loopName |
The name of the loop control INDI device name. | |
std::string | m_wfsDevice { "camwfs" } |
std::string | m_psdDevice { "hopsds" } |
std::string | m_opticalGainDevice {"strehl"} |
std::string | m_opticalGainProperty {"strehl_optimal"} |
std::string | m_opticalGainElement {"pyramid"} |
bool | m_autoUpdate { false } |
Flag controlling whether gains are automatically updated. | |
bool | m_opticalGainUpdate {false} |
Flag controlling whether optical gain is automatically updated;. | |
float | m_gainGain { 0.1 } |
The gain to use for closed-loop gain updates. Default is 0.1. | |
uint32_t | m_maxNCoeff { 1000 } |
uint32_t | m_defaultNCoeff { 25 } |
int | m_extrapOL {0} |
Which extrapolation method to use for the OL PSD. 0 is none. The only other option is 1. | |
Private Member Functions | |
int | clearFSMAlert () |
Clear the FSM alert state. | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
modalGainOpt & | derived () |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
const std::string & | shmimName () const |
const uint32_t & | width () const |
const uint32_t & | height () const |
const uint32_t & | depth () const |
const uint8_t & | dataType () const |
const size_t & | typeSize () const |
int | setupConfig (mx::app::appConfigurator &config) |
Setup the configuration system. | |
int | loadConfig (mx::app::appConfigurator &config) |
load the configuration system results | |
Private Attributes | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
bool | m_getExistingFirst |
shmimMonitorState | m_smState |
int | m_semaphoreNumber |
The image structure semaphore index. | |
uint32_t | m_width |
The width of the images in the stream. | |
uint32_t | m_height |
The height of the images in the stream. | |
uint32_t | m_depth |
The depth of the circular buffer in the stream. | |
uint8_t | m_dataType |
The ImageStreamIO type code. | |
size_t | m_typeSize |
The size of the type, in bytes. Result of sizeof. | |
IMAGE | m_imageStream |
The ImageStreamIO shared memory buffer. | |
ino_t | m_inode |
The inode of the image stream file. | |
Configurable Parameters | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
std::string | m_shmimName |
int | m_smThreadPrio |
Priority of the shmimMonitor thread, should normally be > 00. | |
std::string | m_smCpuset |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default). | |
SIGSEGV & SIGBUS signal handling | |
These signals occur as a result of a ImageStreamIO source server resetting (e.g. changing frame sizes). When they occur a restart of the shmim monitor thread main loops is triggered. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
bool | m_restart |
Flag indicating tha the shared memory should be reinitialized. | |
INDI Interface | |
For reference: "Get" and "New" refer to properties we own. "Set" refers to properties owned by others. So we respond to GetProperties by listing our own properties, and NewProperty is a request to change a property we own. Whereas SetProperty is a notification that someone else has changed a property. | |
typedef std::pair< std::string, indiCallBack > | callBackValueType |
Value type of the indiCallBack map. | |
typedef std::unordered_map< std::string, indiCallBack >::iterator | callBackIterator |
Iterator type of the indiCallBack map. | |
typedef std::pair< callBackIterator, bool > | callBackInsertResult |
Return type of insert on the indiCallBack map. | |
std::unordered_map< std::string, indiCallBack > | m_indiNewCallBacks |
Map to hold the NewProperty indiCallBacks for this App, with fast lookup by property name. | |
std::unordered_map< std::string, indiCallBack > | m_indiSetCallBacks |
Map to hold the SetProperty indiCallBacks for this App, with fast lookup by property name. | |
bool | m_allDefsReceived |
Flag indicating that all registered Set properties have been updated since last Get. | |
std::string | m_driverInName |
Full path name of the INDI driver input FIFO. | |
std::string | m_driverOutName |
Full path name of the INDI driver output FIFO. | |
std::string | m_driverCtrlName |
Full path name of the INDI driver control FIFO. | |
pcf::IndiProperty | m_indiP_state |
indi Property to report the application state. | |
pcf::IndiProperty | m_indiP_clearFSMAlert |
indi Property to clear an FSM alert. | |
indiDriver< MagAOXApp > * | m_indiDriver |
The INDI driver wrapper. Constructed and initialized by execute, which starts and stops communications. | |
std::mutex | m_indiMutex |
Mutex for locking INDI communications. | |
int | createStandardIndiText (pcf::IndiProperty &prop, const std::string &propName, const std::string &label="", const std::string &group="") |
Create a standard R/W INDI Text property with target and current elements. | |
int | createROIndiText (pcf::IndiProperty &prop, const std::string &propName, const std::string &elName, const std::string &propLabel="", const std::string &propGroup="", const std::string &elLabel="") |
Create a standard ReadOnly INDI Text property, with at least one element. | |
int | createStandardIndiNumber (pcf::IndiProperty &prop, const std::string &name, const T &min, const T &max, const T &step, const std::string &format, const std::string &label="", const std::string &group="") |
Create a standard R/W INDI Number property with target and current elements. | |
int | createROIndiNumber (pcf::IndiProperty &prop, const std::string &propName, const std::string &propLabel="", const std::string &propGroup="") |
Create a ReadOnly INDI Number property. | |
int | createStandardIndiToggleSw (pcf::IndiProperty &prop, const std::string &name, const std::string &label="", const std::string &group="") |
Create a standard R/W INDI switch with a single toggle element. | |
int | createStandardIndiRequestSw (pcf::IndiProperty &prop, const std::string &name, const std::string &label="", const std::string &group="") |
Create a standard R/W INDI switch with a single request element. | |
int | createStandardIndiSelectionSw (pcf::IndiProperty &prop, const std::string &name, const std::vector< std::string > &elements, const std::vector< std::string > &elementLabels, const std::string &label="", const std::string &group="") |
Create a standard R/W INDI selection (one of many) switch with vector of elements and element labels. | |
int | createStandardIndiSelectionSw (pcf::IndiProperty &prop, const std::string &name, const std::vector< std::string > &elements, const std::string &label="", const std::string &group="") |
int | registerIndiPropertyReadOnly (pcf::IndiProperty &prop) |
Register an INDI property which is read only. | |
int | registerIndiPropertyReadOnly (pcf::IndiProperty &prop, const std::string &propName, const pcf::IndiProperty::Type &propType, const pcf::IndiProperty::PropertyPermType &propPerm, const pcf::IndiProperty::PropertyStateType &propState) |
Register an INDI property which is read only. | |
int | registerIndiPropertyNew (pcf::IndiProperty &prop, int(*)(void *, const pcf::IndiProperty &)) |
Register an INDI property which is exposed for others to request a New Property for. | |
int | registerIndiPropertyNew (pcf::IndiProperty &prop, const std::string &propName, const pcf::IndiProperty::Type &propType, const pcf::IndiProperty::PropertyPermType &propPerm, const pcf::IndiProperty::PropertyStateType &propState, int(*)(void *, const pcf::IndiProperty &)) |
Register an INDI property which is exposed for others to request a New Property for. | |
int | registerIndiPropertyNew (pcf::IndiProperty &prop, const std::string &propName, const pcf::IndiProperty::Type &propType, const pcf::IndiProperty::PropertyPermType &propPerm, const pcf::IndiProperty::PropertyStateType &propState, const pcf::IndiProperty::SwitchRuleType &propRule, int(*)(void *, const pcf::IndiProperty &)) |
Register an INDI property which is exposed for others to request a New Property for, with a switch rule. | |
int | registerIndiPropertySet (pcf::IndiProperty &prop, const std::string &devName, const std::string &propName, int(*)(void *, const pcf::IndiProperty &)) |
Register an INDI property which is monitored for updates from others. | |
void | sendGetPropertySetList (bool all=false) |
void | handleDefProperty (const pcf::IndiProperty &ipRecv) |
Handler for the DEF INDI properties notification. | |
void | handleGetProperties (const pcf::IndiProperty &ipRecv) |
Handler for the get INDI properties request. | |
void | handleNewProperty (const pcf::IndiProperty &ipRecv) |
Handler for the new INDI property request. | |
void | handleSetProperty (const pcf::IndiProperty &ipRecv) |
Handler for the set INDI property request. | |
int | createINDIFIFOS () |
Create the INDI FIFOs. | |
int | startINDI () |
Start INDI Communications. | |
void | updateIfChanged (pcf::IndiProperty &p, const std::string &el, const T &newVal, pcf::IndiProperty::PropertyStateType ipState=pcf::IndiProperty::Ok) |
Update an INDI property element value if it has changed. | |
void | updateIfChanged (pcf::IndiProperty &p, const std::string &el, const char *newVal, pcf::IndiProperty::PropertyStateType ipState=pcf::IndiProperty::Ok) |
Update an INDI property element value if it has changed. | |
void | updateIfChanged (pcf::IndiProperty &p, const std::string &el, const std::vector< T > &newVals, pcf::IndiProperty::PropertyStateType ipState=pcf::IndiProperty::Ok) |
Update an INDI property if values have changed. | |
void | updateIfChanged (pcf::IndiProperty &p, const std::vector< std::string > &els, const std::vector< T > &newVals, pcf::IndiProperty::PropertyStateType newState=pcf::IndiProperty::Ok) |
Update an INDI property if values have changed. | |
void | updateSwitchIfChanged (pcf::IndiProperty &p, const std::string &el, const pcf::IndiElement::SwitchStateType &newVal, pcf::IndiProperty::PropertyStateType ipState=pcf::IndiProperty::Ok) |
Update an INDI switch element value if it has changed. | |
void | updatesIfChanged (pcf::IndiProperty &p, const std::vector< const char * > &els, const std::vector< T > &newVals, pcf::IndiProperty::PropertyStateType newState=pcf::IndiProperty::Ok) |
int | indiTargetUpdate (pcf::IndiProperty &localProperty, T &localTarget, const pcf::IndiProperty &remoteProperty, bool setBusy=true) |
Get the target element value from an new property. | |
int | sendNewProperty (const pcf::IndiProperty &ipSend, const std::string &el, const T &newVal) |
Send a newProperty command to another device (using the INDI Client interface) | |
int | sendNewProperty (const pcf::IndiProperty &ipSend) |
Send a newProperty command to another device (using the INDI Client interface) | |
int | sendNewStandardIndiToggle (const std::string &device, const std::string &property, bool onoff) |
Send a new property commmand for a standard toggle switch. | |
int | newCallBack_clearFSMAlert (const pcf::IndiProperty &ipRecv) |
The callback called by the static version, to actually process the FSM Alert Clear request. | |
static int | st_newCallBack_clearFSMAlert (void *app, const pcf::IndiProperty &ipRecv) |
The static callback function to be registered for requesting to clear the FSM alert. | |
static constexpr bool | m_useINDI |
Flag controlling whether INDI is used. If false, then no INDI code executes. | |
Gain Optimization Thread | |
int | m_goptThreadPrio { 0 } |
Priority of the gain optimization thread. | |
std::string | m_goptThreadCpuset |
The cpuset to use for the gain optimization thread. | |
std::thread | m_goptThread |
The gain optimization thread. | |
bool | m_goptThreadInit { true } |
Initialization flag for the gain optimization thread. | |
pid_t | m_goptThreadID { 0 } |
gain optimization thread PID. | |
pcf::IndiProperty | m_goptThreadProp |
The property to hold the gain optimization thread details. | |
sem_t | m_goptSemaphore |
Semaphore used to synchronize the psdShmim thread and the gopt thread. | |
float | noisePSD (int n) |
void | goptThreadExec () |
Gain optimization thread function. | |
static void | goptThreadStart (modalGainOpt *p) |
Gain Optimization thread starter function. | |
PID Locking | |
Each MagAOXApp has a PID lock file in the system directory. The app will not startup if it detects that the PID is already locked, preventing duplicates. This is based on the configured name, not the invoked name (argv[0]). | |
std::string | pidFileName |
The name of the PID file. | |
pid_t | m_pid |
This process's PID. | |
int | lockPID () |
int | unlockPID () |
Remove the PID file. | |
Power Management | |
For devices which have remote power management (e.g. from one of the PDUs) we implement a standard power state monitoring and management component for the FSM. This needs to be enabled in the derived app constructor. To stay enabled, m_powerDevice and m_powerChannel must be not empty strings after the configuration. These could be set in the derived app defaults. If power management is enabled, then while power is off, appLogic will not be called. Instead a parrallel set of virtual functions is called, onPowerOff (to allow apps to perform cleanup) and whilePowerOff (to allow apps to keep variables updated, etc). Note that these could merely call appLogic if desired. | |
bool | m_powerMgtEnabled |
std::string | m_powerDevice |
The INDI device name of the power controller. | |
std::string | m_powerChannel |
The INDI property name of the channel controlling this device's power. | |
std::string | m_powerElement |
The INDI element name to monitor for this device's power state. | |
std::string | m_powerTargetElement |
The INDI element name to monitor for this device's power state. | |
unsigned long | m_powerOnWait |
Time in sec to wait for device to boot after power on. | |
int | m_powerOnCounter |
int | m_powerState |
Current power state, 1=On, 0=Off, -1=Unk. | |
int | m_powerTargetState |
Current target power state, 1=On, 0=Off, -1=Unk. | |
pcf::IndiProperty | m_indiP_powerChannel |
INDI property used to communicate power state. | |
int | powerState () |
Returns the current power state. | |
int | powerStateTarget () |
Returns the target power state. | |
INDI_SETCALLBACK_DECL (MagAOXApp, m_indiP_powerChannel) | |
virtual int | onPowerOff () |
This method is called when the change to poweroff is detected. | |
virtual int | whilePowerOff () |
This method is called while the power is off, once per FSM loop. | |
bool | powerOnWaitElapsed () |
This method tests whether the power on wait time has elapsed. | |
Logging | |
void | logMessage (bufferPtrT &b) |
Handle a log message from the logging system. | |
static void | configLog (const std::string &name, const int &code, const std::string &value, const std::string &source) |
Callback for config system logging. | |
static logManagerT | m_log |
static int | log (const typename logT::messageT &msg, logPrioT level=logPrio::LOG_DEFAULT) |
Make a log entry. | |
static int | log (logPrioT level=logPrio::LOG_DEFAULT) |
Make a log entry. | |
Application State | |
stateCodes::stateCodeT | state () |
Get the current state code. | |
void | state (const stateCodes::stateCodeT &s, bool stateAlert=false) |
Set the current state code. | |
bool | stateAlert () |
Get the value of the state alert flag. | |
bool | gitAlert () |
Get the value of the git alert flag. | |
int | stateLogged () |
Updates and returns the value of m_stateLogged. Will be 0 on first call after a state change, >0 afterwards. | |
stateCodes::stateCodeT | m_state |
bool | m_stateAlert |
bool | m_gitAlert |
int | m_stateLogged |
Signal Handling | |
static MagAOXApp * | m_self |
int | setSigTermHandler () |
Sets the handler for SIGTERM, SIGQUIT, and SIGINT. | |
void | handlerSigTerm (int signum, siginfo_t *siginf, void *ucont) |
Handles SIGTERM, SIGQUIT, and SIGINT. Sets m_shutdown to 1 and logs the signal. | |
static void | _handlerSigTerm (int signum, siginfo_t *siginf, void *ucont) |
The handler called when SIGTERM, SIGQUIT, or SIGINT is received. Just a wrapper for handlerSigTerm. | |
Privilege Management | |
uid_t | m_euidReal |
The real user id of the proces (i.e. the lower privileged id of the user) | |
uid_t | m_euidCalled |
uid_t | m_suid |
The save-set user id of the process. | |
int | setEuidCalled () |
Set the effective user ID to the called value, i.e. the highest possible. | |
int | setEuidReal () |
Set the effective user ID to the real value, i.e. the file owner. | |
shmimmonitor Thread | |
This thread actually monitors the shared memory buffer | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
bool | m_smThreadInit |
Synchronizer for thread startup, to allow priority setting to finish. | |
pid_t | m_smThreadID |
The s.m. thread PID. | |
pcf::IndiProperty | m_smThreadProp |
The property to hold the s.m. thread details. | |
std::thread | m_smThread |
A separate thread for the actual monitoring. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
void | smThreadExec () |
Execute the monitoring thread. | |
int | create (uint32_t width, uint32_t height, uint32_t depth, uint8_t datatype, void *initData=nullptr) |
Create the image. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
static void | smThreadStart (shmimMonitor *s) |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec. | |
INDI | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
pcf::IndiProperty | m_indiP_shmimName |
Property used to report the shmim buffer name. | |
pcf::IndiProperty | m_indiP_frameSize |
Property used to report the current frame size. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
int | updateINDI () |
Update the INDI properties for this device controller. | |
The MagAO-X PSD-based gain optimizer.
Definition at line 238 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, acoeffShmimT> MagAOX::app::modalGainOpt::acoeffShmimMonitorT |
Definition at line 284 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, bcoeffShmimT> MagAOX::app::modalGainOpt::bcoeffShmimMonitorT |
Definition at line 285 of file modalGainOpt.hpp.
|
inherited |
Return type of insert on the indiCallBack map.
Definition at line 626 of file MagAOXApp.hpp.
|
inherited |
Iterator type of the indiCallBack map.
Definition at line 623 of file MagAOXApp.hpp.
|
inherited |
Value type of the indiCallBack map.
Definition at line 620 of file MagAOXApp.hpp.
typedef std::chrono::duration<double> MagAOX::app::modalGainOpt::durationT |
Definition at line 294 of file modalGainOpt.hpp.
Definition at line 278 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, gainCalFactShmimT> MagAOX::app::modalGainOpt::gainCalFactShmimMonitorT |
Definition at line 287 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, gainCalShmimT> MagAOX::app::modalGainOpt::gainCalShmimMonitorT |
Definition at line 286 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, gainFactShmimT> MagAOX::app::modalGainOpt::gainFactShmimMonitorT |
Definition at line 279 of file modalGainOpt.hpp.
|
inherited |
The log manager type.
Definition at line 131 of file MagAOXApp.hpp.
typedef dev::shmimMonitor<modalGainOpt, multFactShmimT> MagAOX::app::modalGainOpt::multFactShmimMonitorT |
Definition at line 280 of file modalGainOpt.hpp.
Definition at line 289 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, numpccoeffShmimT> MagAOX::app::modalGainOpt::numpccoeffShmimMonitorT |
Definition at line 283 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, pcGainFactShmimT> MagAOX::app::modalGainOpt::pcGainFactShmimMonitorT |
Definition at line 281 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, pcMultFactShmimT> MagAOX::app::modalGainOpt::pcMultFactShmimMonitorT |
Definition at line 282 of file modalGainOpt.hpp.
Definition at line 277 of file modalGainOpt.hpp.
Definition at line 288 of file modalGainOpt.hpp.
typedef std::chrono::time_point<std::chrono::steady_clock> MagAOX::app::modalGainOpt::timePointT |
Definition at line 293 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, wfsavgShmimT> MagAOX::app::modalGainOpt::wfsavgShmimMonitorT |
Definition at line 290 of file modalGainOpt.hpp.
typedef dev::shmimMonitor<modalGainOpt, wfsmaskShmimT> MagAOX::app::modalGainOpt::wfsmaskShmimMonitorT |
Definition at line 291 of file modalGainOpt.hpp.
MagAOX::app::modalGainOpt::modalGainOpt | ( | ) |
Default c'tor.
Definition at line 713 of file modalGainOpt.hpp.
|
inlinenoexcept |
D'tor, declared and defined for noexcept.
Definition at line 479 of file modalGainOpt.hpp.
|
staticprivateinherited |
The handler called when SIGTERM, SIGQUIT, or SIGINT is received. Just a wrapper for handlerSigTerm.
[in] | signum | specifies the signal. |
[in] | siginf | ignored by MagAOXApp |
[in] | ucont | ignored by MagAOXApp |
Definition at line 350 of file MagAOXApp.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const acoeffShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2008 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const bcoeffShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2091 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const freqShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1552 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const gainCalFactShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2239 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const gainCalShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2176 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const gainFactShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1619 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const multFactShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1701 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const noiseShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2363 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const numpccoeffShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1918 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const pcGainFactShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1769 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const pcMultFactShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1850 of file modalGainOpt.hpp.
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1211 of file modalGainOpt.hpp.
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2301 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const wfsavgShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2426 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocate | ( | const wfsmaskShmimT & | dummy | ) |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2451 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::allocatePCShmims | ( | ) |
Definition at line 1144 of file modalGainOpt.hpp.
Referenced by checkSizes().
|
virtual |
Implementation of the FSM for modalGainOpt.
Implements MagAOX::app::MagAOXApp< true >.
Definition at line 980 of file modalGainOpt.hpp.
|
virtual |
Shutdown the app.
Implements MagAOX::app::MagAOXApp< true >.
Definition at line 1071 of file modalGainOpt.hpp.
|
virtual |
Startup function.
Implements MagAOX::app::MagAOXApp< true >.
Definition at line 915 of file modalGainOpt.hpp.
|
inherited |
|
inherited |
Get the calibration directory.
Definition at line 1183 of file MagAOXApp.hpp.
|
virtualinherited |
Check for unused and unrecognized config options and settings.
Logs the unused targets as warnings. Unrecognized and unused options are logged as critical, and m_shutdown is set. Any command line argument (not an option) will also be critical and cause shutdown.
Definition at line 224 of file MagAOXApp.hpp.
int MagAOX::app::modalGainOpt::checkSizes | ( | ) |
Check that all sizes and allocations have occurred.
Definition at line 2476 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
privateinherited |
Clear the FSM alert state.
This can only be done from within this class, and this should only be possible via user action via INDI.
Definition at line 584 of file MagAOXApp.hpp.
|
inherited |
Get the config base file.
Definition at line 1178 of file MagAOXApp.hpp.
|
inherited |
Get the config directory.
Definition at line 1173 of file MagAOXApp.hpp.
|
staticprotectedinherited |
Callback for config system logging.
Called by appConfigurator each time a value is set using the config() operator. You never need to call this directly.
[in] | name | The name of the config value |
[in] | code | numeric code specifying the type |
[in] | value | the value read by the config system |
[in] | source | the source of the value. |
Definition at line 330 of file MagAOXApp.hpp.
|
inherited |
Get the config name.
Definition at line 1167 of file MagAOXApp.hpp.
|
inherited |
Get the cpuset path.
Definition at line 1198 of file MagAOXApp.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the image.
This will create the shared memory image, erasing an existing. This is independent of the actual shmim monitoring function, which will pick up the new inode change on its own and restart the allocate() and processImage() cycle.
[in] | width | width of the new image |
[in] | height | height of the new image |
[in] | depth | depth of the new image |
[in] | datatype | CACAO data type of the new image |
[in] | initData | [optional] data to initialize the new image with. Must be of size width*height*depth*sizeof(dataType) |
Definition at line 254 of file shmimMonitor.hpp.
|
protectedinherited |
Create the INDI FIFOs.
Changes permissions to max available and creates the FIFOs at the configured path.
Definition at line 870 of file MagAOXApp.hpp.
|
inherited |
Create a ReadOnly INDI Number property.
[out] | prop | the property to create and setup |
[in] | propName | the name of the property |
[in] | propLabel | [optional] the GUI label suggestion for this property |
[in] | propGroup | [optional] the group for this property |
Definition at line 708 of file MagAOXApp.hpp.
|
inherited |
Create a standard ReadOnly INDI Text property, with at least one element.
[out] | prop | the property to create and setup |
[in] | propName | the name of the property |
[in] | elName | the name of the element |
[in] | propLabel | [optional] the GUI label suggestion for this property |
[in] | propGroup | [optional] the group for this property |
[in] | elLabel | [optional] the GUI label suggestion for the element |
Definition at line 673 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI Number property with target and current elements.
[out] | prop | the property to create and setup |
[in] | name | the name of the property |
[in] | min | the minimum value for the elements, applied to both target and current |
[in] | max | the minimum value for the elements, applied to both target and current |
[in] | step | the step size for the elements, applied to both target and current |
[in] | format | the _ value for the elements, applied to both target and current. Set to "" to use the MagAO-X standard for type. |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 687 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI switch with a single request element.
This switch is intended to function like a momentary switch.
[out] | prop | the property to create and setup |
[in] | name | the name of the property |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 734 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI selection (one of many) switch with vector of elements using the element strings as their own labels This switch is intended to function like drop down menu.
[out] | prop | the property to create and setup |
[in] | name | the name of the property, |
[in] | elements | the element names to give to the switches |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 765 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI selection (one of many) switch with vector of elements and element labels.
This switch is intended to function like drop down menu.
[out] | prop | the property to create and setup |
[in] | name | the name of the property, |
[in] | elements | the element names to give to the switches |
[in] | elementLabels | the element labels to give to the switches |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 747 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI Text property with target and current elements.
[out] | prop | the property to create and setup |
[in] | propName | the name of the property |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 660 of file MagAOXApp.hpp.
|
inherited |
Create a standard R/W INDI switch with a single toggle element.
This switch is intended to function like an on/off toggle switch.
[out] | prop | the property to create and setup |
[in] | name | the name of the property |
[in] | label | [optional] the GUI label suggestion for this property |
[in] | group | [optional] the group for this property |
Definition at line 721 of file MagAOXApp.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 154 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inherited |
Definition at line 152 of file shmimMonitor.hpp.
|
inlineprivateinherited |
Definition at line 287 of file shmimMonitor.hpp.
|
inherited |
Get the INDI control FIFO file name.
Definition at line 1227 of file MagAOXApp.hpp.
|
inherited |
Get the INDI input FIFO file name.
Definition at line 1215 of file MagAOXApp.hpp.
|
inherited |
Get the INDI output FIFO file name.
Definition at line 1221 of file MagAOXApp.hpp.
|
virtualinherited |
The execute method implementing the standard main loop. Should not normally be overridden.
Performs final startup steps. That is:
Errors in the above steps will cause a process exit.
Then commences the main event loop. Conditions on entry to the main loop:
In the event loop, the power state is checked (if being managed). If power is off, then onPowerOff is called. If power is on, or power is not managed, appLogic is called. These methods are implemented in derived classes, and are called every m_loopPause interval.
If an error is returned by either onPowerOff or appLogic, or a signal is handled, then the shutdown is managed. This includes shutting down INDI, calling appShutdown, and unlocking the PID. The log thread will shutdown.
Definition at line 254 of file MagAOXApp.hpp.
|
inherited |
Get the value of the git alert flag.
Definition at line 555 of file MagAOXApp.hpp.
|
protected |
Gain optimization thread function.
Runs until m_shutdown is true.
Definition at line 2730 of file modalGainOpt.hpp.
Referenced by goptThreadStart().
|
staticprotected |
Gain Optimization thread starter function.
[in] | p | pointer to this |
Definition at line 2725 of file modalGainOpt.hpp.
Referenced by appStartup().
|
inherited |
Handler for the DEF INDI properties notification.
Uses the properties registered in m_indiSetCallBacks to process the notification. This is called by m_indiDriver's indiDriver::handleDefProperties.
[in] | ipRecv | The property being sent. |
Definition at line 886 of file MagAOXApp.hpp.
|
inherited |
Handler for the get INDI properties request.
Uses the properties registered in m_indiCallBacks to respond to the request. This is called by m_indiDriver's indiDriver::handleGetProperties.
[in] | ipRecv | The property being requested. |
Definition at line 892 of file MagAOXApp.hpp.
|
inherited |
Handler for the new INDI property request.
Uses the properties registered in m_indiCallBacks to respond to the request, looking up the callback for this property and calling it.
This is called by m_indiDriver's indiDriver::handleGetProperties.
[in] | ipRecv | The property being changed. |
Definition at line 902 of file MagAOXApp.hpp.
|
privateinherited |
Handles SIGTERM, SIGQUIT, and SIGINT. Sets m_shutdown to 1 and logs the signal.
[in] | signum | specifies the signal. |
[in] | siginf | ignored by MagAOXApp |
[in] | ucont | ignored by MagAOXApp |
Definition at line 356 of file MagAOXApp.hpp.
|
inherited |
Handler for the set INDI property request.
This is called by m_indiDriver's indiDriver::handleSetProperties.
[in] | ipRecv | The property being changed. |
Definition at line 911 of file MagAOXApp.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
|
inherited |
Definition at line 150 of file shmimMonitor.hpp.
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_autoUpdate | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_dump | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_extrapOL | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_gainGain | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_opticalGain | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_opticalGainUpdate | |||
) |
MagAOX::app::modalGainOpt::INDI_NEWCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_updateOnce | |||
) |
|
inherited |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_emg | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_loop | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_opticalGainSource | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_pcGain | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_pcMult | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_pcOn | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_psdAvgTime | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_psdTime | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_siGain | |||
) |
MagAOX::app::modalGainOpt::INDI_SETCALLBACK_DECL | ( | modalGainOpt | , |
m_indiP_siMult | |||
) |
|
protectedinherited |
Get the target element value from an new property.
[out] | localProperty | The local property to update |
[out] | localTarget | The local value to update |
[in] | remoteProperty | the new property received |
[in] | setBusy | [optional] set property to busy if true |
Definition at line 1008 of file MagAOXApp.hpp.
|
virtualinherited |
The basic MagAO-X configuration processing method. Should not normally be overridden.
This method processes the standard MagAO-X key=value pairs.
Though it is virtual, it should not normally be overridden unless you need to depart from the MagAO-X standard.
Processing of app specific config goes in loadConfig() implemented by the derived class.
Definition at line 218 of file MagAOXApp.hpp.
|
virtual |
Definition at line 910 of file modalGainOpt.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
|
inherited |
load the configuration system results
This should be called in derivedT::loadConfig
as
with appropriate error checking.
[in] | config | the derived classes configurator |
Definition at line 176 of file shmimMonitor.hpp.
int MagAOX::app::modalGainOpt::loadConfigImpl | ( | mx::app::appConfigurator & | _config | ) |
Implementation of loadConfig logic, separated for testing.
This is called by loadConfig().
[in] | _config | an application configuration from which to load values |
Definition at line 803 of file modalGainOpt.hpp.
Referenced by loadConfig().
|
protectedinherited |
Attempt to lock the PID by writing it to a file. Fails if a process is already running with the same config name. First checks the PID file for an existing PID. If found, interrogates /proc to determine if that process is running and if so if the command line matches. If a matching process is currently running, then this returns an error.
Will not fail if a PID file exists but the stored PID does not correspond to a running process with the same command line name.
Reference: https://linux.die.net/man/3/getpid
Definition at line 464 of file MagAOXApp.hpp.
|
staticinherited |
Make a log entry.
Wrapper for logManager::log
logT | the log entry type |
retval | the value returned by this method. |
[in] | msg | the message to log |
[in] | level | [optional] the log level. The default is used if not specified. |
Definition at line 301 of file MagAOXApp.hpp.
|
staticinherited |
Make a log entry.
Wrapper for logManager::log
logT | the log entry type |
retval | the value returned by this method. |
[in] | level | [optional] the log level. The default is used if not specified. |
Definition at line 314 of file MagAOXApp.hpp.
|
inherited |
Handle a log message from the logging system.
This is a callback from the logManager, and is called when the log thread is processing log entries.
Decides whether to display to stderr and whether to send via INDI.
Definition at line 323 of file MagAOXApp.hpp.
|
inherited |
Get the loop pause time.
Definition at line 1203 of file MagAOXApp.hpp.
|
protectedinherited |
The callback called by the static version, to actually process the FSM Alert Clear request.
[in] | ipRecv | the INDI property sent with the new property request. |
Definition at line 1065 of file MagAOXApp.hpp.
Definition at line 2716 of file modalGainOpt.hpp.
|
protectedvirtualinherited |
This method is called when the change to poweroff is detected.
Reimplemented in MagAOX::app::alpaoCtrl, MagAOX::app::bmcCtrl, MagAOX::app::irisaoCtrl, and MagAOX::app::zaberLowLevel.
Definition at line 1110 of file MagAOXApp.hpp.
|
protectedinherited |
This method tests whether the power on wait time has elapsed.
You would call this once per appLogic loop while in state POWERON. While false, you would return 0. Once it becomes true, take post-power-on actions and go on with life.
Definition at line 1126 of file MagAOXApp.hpp.
|
inherited |
Returns the current power state.
If power management is not enabled, this always returns 1=On.
Definition at line 1136 of file MagAOXApp.hpp.
|
inherited |
Returns the target power state.
If power management is not enabled, this always returns 1=On.
Definition at line 1145 of file MagAOXApp.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const acoeffShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2015 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const bcoeffShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2098 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const freqShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1559 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const gainCalFactShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2246 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const gainCalShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2183 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const gainFactShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1631 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const multFactShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1713 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const noiseShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2370 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const numpccoeffShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1931 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const pcGainFactShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1781 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const pcMultFactShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1862 of file modalGainOpt.hpp.
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 1509 of file modalGainOpt.hpp.
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2308 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const wfsavgShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2434 of file modalGainOpt.hpp.
int MagAOX::app::modalGainOpt::processImage | ( | void * | curr_src, |
const wfsmaskShmimT & | dummy | ||
) |
[in] | curr_src | pointer to the start of the current frame |
[in] | dummy | tag to differentiate shmimMonitor parents. |
Definition at line 2459 of file modalGainOpt.hpp.
|
inherited |
Register an INDI property which is exposed for others to request a New Property for, with a switch rule.
This verison sets up the INDI property according to the arguments.
[out] | prop | the property to register |
[in] | propName | the name of the property |
[in] | propType | the type of the property |
[in] | propPerm | the permissions of the property |
[in] | propState | the state of the property |
[in] | propRule | the switch rule type |
|
inherited |
Register an INDI property which is exposed for others to request a New Property for.
This verison sets up the INDI property according to the arguments.
[out] | prop | the property to register |
[in] | propName | the name of the property |
[in] | propType | the type of the property |
[in] | propPerm | the permissions of the property |
[in] | propState | the state of the property |
|
inherited |
Register an INDI property which is exposed for others to request a New Property for.
In this version the supplied IndiProperty must be fully set up before passing in.
[in] | prop | the property to register, must be fully set up |
|
inherited |
Register an INDI property which is read only.
This version requires the property be fully set up.
[in] | prop | the property to register, must be completely setup |
Definition at line 781 of file MagAOXApp.hpp.
|
inherited |
Register an INDI property which is read only.
This verison sets up the INDI property according to the arguments.
[out] | prop | the property to register, will be configured |
[in] | propName | the name of the property |
[in] | propType | the type of the property |
[in] | propPerm | the permissions of the property |
[in] | propState | the state of the property |
Definition at line 791 of file MagAOXApp.hpp.
|
inherited |
Register an INDI property which is monitored for updates from others.
[out] | prop | the property to register |
[in] | devName | the device which owns this property |
[in] | propName | the name of the property |
Definition at line 858 of file MagAOXApp.hpp.
|
inherited |
Get the secrets path.
Definition at line 1193 of file MagAOXApp.hpp.
|
inherited |
Definition at line 880 of file MagAOXApp.hpp.
|
protectedinherited |
Send a newProperty command to another device (using the INDI Client interface)
[in] | ipSend | The property to send a "new" INDI command for |
Definition at line 1031 of file MagAOXApp.hpp.
|
protectedinherited |
Send a newProperty command to another device (using the INDI Client interface)
Copies the input IndiProperty, then updates the element with the new value.
[in] | ipSend | The property to send a "new" INDI command for |
[in] | el | The element of the property to change |
[in] | newVal | The value to request for the element. |
Definition at line 1021 of file MagAOXApp.hpp.
|
protectedinherited |
Send a new property commmand for a standard toggle switch.
[in] | device | The device name |
[in] | property | The property name |
[in] | onoff | Switch state to send: true = on, false = off |
Definition at line 1038 of file MagAOXApp.hpp.
|
virtualinherited |
Set the paths for config files.
Replaces the mx::application defaults with the MagAO-X config system.
This function parses the CL for "-n" or "--name".
Do not override this unless you intend to depart from the MagAO-X standard.
[in] | argc | standard command line result specifying number of arguments in argv |
[in] | argv | standard command line result containing the arguments. |
Definition at line 196 of file MagAOXApp.hpp.
|
privateinherited |
Set the effective user ID to the called value, i.e. the highest possible.
If setuid is set on the file, this will be super-user privileges.
Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/seteuid.html
Definition at line 423 of file MagAOXApp.hpp.
|
privateinherited |
Set the effective user ID to the real value, i.e. the file owner.
Reference: http://pubs.opengroup.org/onlinepubs/009695399/functions/seteuid.html
Definition at line 432 of file MagAOXApp.hpp.
|
privateinherited |
Sets the handler for SIGTERM, SIGQUIT, and SIGINT.
Definition at line 347 of file MagAOXApp.hpp.
|
virtualinherited |
The basic MagAO-X configuration setup method. Should not normally be overridden.
This method sets up the config system with the standard MagAO-X key=value pairs.
Though it is virtual, it should not normally be overridden unless you need to depart from the MagAO-X standard.
Setting up app specific config goes in setupConfig() implemented in the derived class.
Definition at line 208 of file MagAOXApp.hpp.
|
virtual |
Definition at line 734 of file modalGainOpt.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Setup the configuration system.
This should be called in derivedT::setupConfig
as
with appropriate error checking.
[out] | config | the derived classes configurator |
Definition at line 166 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Definition at line 146 of file shmimMonitor.hpp.
|
inherited |
Get the value of the shutdown flag.
Definition at line 1209 of file MagAOXApp.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
protectedinherited |
Execute the monitoring thread.
<
< The semaphore to monitor for new image data
Definition at line 244 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
Thread starter, called by MagAOXApp::threadStart on thread construction. Calls smThreadExec.
[in] | s | a pointer to a shmimMonitor instance (normally this) |
Definition at line 241 of file shmimMonitor.hpp.
|
staticprotectedinherited |
The static callback function to be registered for requesting to clear the FSM alert.
[in] | app | a pointer to this, will be static_cast-ed to MagAOXApp. |
[in] | ipRecv | the INDI property sent with the new property request. |
Definition at line 1054 of file MagAOXApp.hpp.
|
protectedinherited |
Start INDI Communications.
Definition at line 877 of file MagAOXApp.hpp.
|
inherited |
|
inherited |
Set the current state code.
[in] | s | The new application state |
[in] | stateAlert | [optional] flag to set the alert state of the FSM property. |
Definition at line 541 of file MagAOXApp.hpp.
|
inherited |
Get the value of the state alert flag.
Definition at line 549 of file MagAOXApp.hpp.
|
inherited |
Updates and returns the value of m_stateLogged. Will be 0 on first call after a state change, >0 afterwards.
This method exists to facilitate logging the reason for a state change once, but not logging it on subsequent event loops. Returns the current value upon entry, but updates before returning so that the next call returns the incremented value. Example usage:
In this example, the log entry is made the first time the state changes. If there are no changes to a different state in the mean time, then when the event loop gets here again and decides it is not connected, the log entry will not be made.
Definition at line 574 of file MagAOXApp.hpp.
|
inherited |
|
inherited |
Start a thread, using this class's privileges to set priority, etc.
The thread initialization synchronizer bool
is set to true at the beginning of this function, then is set to false once all initialization is complete. The thread exec function should wait until this is false before doing anything except setting the pid. This is to avoid privilege escalation bugs.
The interface of the thread start function is:
where impl
is the derived class, and mThreadStart
and myThreadExec
are members of impl
.
[out] | thrd | The thread object to start executing |
thrdInit | [in/out] The thread initilization synchronizer. | |
tpid | [in/out] The thread pid to be filled in by thrdStart immediately upon call | |
thProp | [in/out] The INDI property to publish the thread details | |
[in] | thrdPrio | The r/t priority to set for this thread |
[in] | cpuset | the cpuset to place this thread on. Ignored if "". |
[in] | thrdName | The name of the thread (just for logging) |
[in] | thrdThis | The this pointer to pass to the thread starter function |
[in] | thrdStart | The thread starting function, a static function taking a this pointer as argument. |
Definition at line 498 of file MagAOXApp.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
inherited |
Definition at line 156 of file shmimMonitor.hpp.
|
protectedinherited |
Remove the PID file.
Definition at line 467 of file MagAOXApp.hpp.
|
protectedinherited |
Update an INDI property element value if it has changed.
Will only peform a SetProperty if the new element value has changed compared to the stored value, or if the property state has changed.
This comparison is done in the true type of the value.
This is a specialization for const char *
to std::string
.
For a property with multiple elements, you should use the vector version to minimize network traffic. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
p | [in/out] The property containing the element to possibly update | |
[in] | el | The element name |
[in] | newVal | the new value |
Definition at line 941 of file MagAOXApp.hpp.
|
protectedinherited |
Update an INDI property if values have changed.
Will only peform a SetProperty if at least one value has changed compared to the stored value, or if the property state has changed.
Constructs the element names for each value as elX where X is the index of the vector.
This comparison is done in the true type of the value.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
p | [in/out] The property containing the element to possibly update | |
[in] | el | Beginning of each element name |
[in] | newVals | the new values |
[in] | ipState | [optional] the new state |
Definition at line 970 of file MagAOXApp.hpp.
|
protectedinherited |
Update an INDI property element value if it has changed.
Will only peform a SetProperty if the new element value has changed compared to the stored value, or if the property state has changed.
This comparison is done in the true type of the value.
For a property with multiple elements, you should use the vector version to minimize network traffic.
p | [in/out] The property containing the element to possibly update | |
[in] | el | The element name |
[in] | newVal | the new value |
Definition at line 924 of file MagAOXApp.hpp.
|
protectedinherited |
Update an INDI property if values have changed.
Will only peform a SetProperty if at least one value has changed compared to the stored value, or if the property state has changed.
This comparison is done in the true type of the value.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
p | [in/out] The property containing the element to possibly update | |
[in] | els | String vector of element names |
[in] | newVals | the new values |
[in] | newState | [optional] The state of the property |
Definition at line 987 of file MagAOXApp.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
inherited |
Update the INDI properties for this device controller.
You should call this once per main loop. It is not called automatically.
Definition at line 282 of file shmimMonitor.hpp.
|
protectedinherited |
p | [in/out] The property containing the element to possibly update | |
[in] | els | String vector of element names |
[in] | newVals | the new values |
[in] | newState | [optional] The state of the property |
Definition at line 995 of file MagAOXApp.hpp.
|
protectedinherited |
Update an INDI switch element value if it has changed.
Will only peform a SetProperty if the new element switch state has changed, or the propery state has changed.
p | [in/out] The property containing the element to possibly update | |
[in] | el | The element name |
[in] | newVal | the new value |
Definition at line 952 of file MagAOXApp.hpp.
|
protectedvirtualinherited |
This method is called while the power is off, once per FSM loop.
Reimplemented in MagAOX::app::alpaoCtrl, MagAOX::app::bmcCtrl, MagAOX::app::irisaoCtrl, and MagAOX::app::zaberLowLevel.
Definition at line 1117 of file MagAOXApp.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
inherited |
Definition at line 148 of file shmimMonitor.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
|
friend |
Definition at line 258 of file modalGainOpt.hpp.
Definition at line 258 of file modalGainOpt.hpp.
|
protectedinherited |
Flag indicating that all registered Set properties have been updated since last Get.
Definition at line 641 of file MagAOXApp.hpp.
|
protected |
Definition at line 416 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
Flag controlling whether gains are automatically updated.
Definition at line 314 of file modalGainOpt.hpp.
Referenced by appLogic(), goptThreadExec(), and loadConfigImpl().
|
protectedinherited |
The base path of the MagAO-X system.
Definition at line 134 of file MagAOXApp.hpp.
|
protected |
Definition at line 418 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protectedinherited |
The path to calibration files for MagAOX.
Definition at line 142 of file MagAOXApp.hpp.
|
protected |
Definition at line 353 of file modalGainOpt.hpp.
Referenced by allocate(), checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 354 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 444 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the SI ETF.
Definition at line 460 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 356 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 446 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the LP ETF.
Definition at line 462 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 355 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 445 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the SI ETF.
Definition at line 461 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protectedinherited |
The name of a base config class for this app (minus .conf).
Definition at line 140 of file MagAOXApp.hpp.
|
protectedinherited |
The path to configuration files for MagAOX.
Definition at line 138 of file MagAOXApp.hpp.
|
protectedinherited |
The name of the configuration file (minus .conf).
Definition at line 136 of file MagAOXApp.hpp.
|
protected |
Definition at line 436 of file modalGainOpt.hpp.
Referenced by noisePSD(), processImage(), and processImage().
|
protectedinherited |
Path to the cpusets mount.
The path to the cpusets mount is configured by the environment variable defined by MAGOX_env_cpuset in environment.hpp. This environment variable is normally named "CGROUPS1_CPUSET_MOUNTPOINT". If the environment variable is not set, the default defined by MAGAOX_cpusetPath in paths.hpp is used.
Definition at line 153 of file MagAOXApp.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO type code.
Definition at line 138 of file shmimMonitor.hpp.
|
protected |
Definition at line 321 of file modalGainOpt.hpp.
Referenced by allocatePCShmims().
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
|
protectedinherited |
The depth of the circular buffer in the stream.
Definition at line 136 of file shmimMonitor.hpp.
Definition at line 392 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protectedinherited |
Full path name of the INDI driver control FIFO.
This is currently only used to signal restarts.
Definition at line 652 of file MagAOXApp.hpp.
|
protectedinherited |
Full path name of the INDI driver input FIFO.
Definition at line 644 of file MagAOXApp.hpp.
|
protectedinherited |
Full path name of the INDI driver output FIFO.
Definition at line 647 of file MagAOXApp.hpp.
Flag to trigger a single update with no gain.
Definition at line 332 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protected |
Definition at line 437 of file modalGainOpt.hpp.
Referenced by noisePSD().
|
privateinherited |
The user id of the process as called (i.e. the higher privileged id of the owner, root if setuid).
Definition at line 368 of file MagAOXApp.hpp.
|
privateinherited |
The real user id of the proces (i.e. the lower privileged id of the user)
Definition at line 367 of file MagAOXApp.hpp.
|
protected |
Which extrapolation method to use for the OL PSD. 0 is none. The only other option is 1.
Definition at line 323 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protected |
Definition at line 334 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 351 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
Tracks if the frequency scale has updated, which necessitates additional calcs. If true, implies m_goptUpdate == true.
Definition at line 345 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), and processImage().
|
protected |
Definition at line 384 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Definition at line 428 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 426 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 400 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), processImage(), and processImage().
|
protected |
The gain to use for closed-loop gain updates. Default is 0.1.
Definition at line 317 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
protectedinherited |
If set to true by derivedT, any existing image will be grabbed and sent to processImage before waiting on the semaphore.
Definition at line 127 of file shmimMonitor.hpp.
|
privateinherited |
Definition at line 524 of file MagAOXApp.hpp.
|
protected |
The previously calculated maximum gains for LP.
Definition at line 373 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), and processImage().
|
protected |
The previously calculated maximum gains for LP.
Definition at line 367 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Each mode gets its own gain optimizer.
Definition at line 337 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Definition at line 339 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Mutex for synchronizing updates.
Definition at line 624 of file modalGainOpt.hpp.
Referenced by allocate(), goptThreadExec(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), and processImage().
|
protected |
Semaphore used to synchronize the psdShmim thread and the gopt thread.
Definition at line 645 of file modalGainOpt.hpp.
Referenced by appStartup(), goptThreadExec(), and processImage().
|
protected |
Definition at line 338 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
The gain optimization thread.
Definition at line 637 of file modalGainOpt.hpp.
Referenced by appLogic(), appShutdown(), and appStartup().
|
protected |
The cpuset to use for the gain optimization thread.
Definition at line 635 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protected |
gain optimization thread PID.
Definition at line 641 of file modalGainOpt.hpp.
Referenced by appStartup(), and goptThreadExec().
Initialization flag for the gain optimization thread.
Definition at line 639 of file modalGainOpt.hpp.
Referenced by appStartup(), and goptThreadExec().
|
protected |
Priority of the gain optimization thread.
Definition at line 633 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protected |
The property to hold the gain optimization thread details.
Definition at line 643 of file modalGainOpt.hpp.
Referenced by appStartup().
Tracks if a parameter has updated requiring updates to the m_gopt entries.
Definition at line 342 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), processImage(), processImage(), processImage(), processImage(), and processImage().
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The height of the images in the stream.
Definition at line 135 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
protectedinherited |
The ImageStreamIO shared memory buffer.
Definition at line 141 of file shmimMonitor.hpp.
|
inherited |
The INDI driver wrapper. Constructed and initialized by execute, which starts and stops communications.
Definition at line 601 of file MagAOXApp.hpp.
|
inherited |
Mutex for locking INDI communications.
Definition at line 604 of file MagAOXApp.hpp.
|
protectedinherited |
Map to hold the NewProperty indiCallBacks for this App, with fast lookup by property name.
The key for these is the property name.
Definition at line 632 of file MagAOXApp.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_autoUpdate |
Definition at line 664 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
|
protectedinherited |
indi Property to clear an FSM alert.
Definition at line 1047 of file MagAOXApp.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_dump |
Definition at line 666 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_emg |
Definition at line 672 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_extrapOL |
Definition at line 682 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the current frame size.
Definition at line 272 of file shmimMonitor.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_gainGain |
Definition at line 670 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_loop |
Definition at line 675 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_modesOn |
Definition at line 684 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_opticalGain |
Definition at line 668 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_opticalGainSource |
Definition at line 686 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_opticalGainUpdate |
Definition at line 687 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_pcGain |
Definition at line 678 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_pcMult |
Definition at line 679 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_pcOn |
Definition at line 680 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protectedinherited |
INDI property used to communicate power state.
Definition at line 1103 of file MagAOXApp.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_psdAvgTime |
Definition at line 674 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_psdTime |
Definition at line 673 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
|
protectedinherited |
Property used to report the shmim buffer name.
Definition at line 270 of file shmimMonitor.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_siGain |
Definition at line 676 of file modalGainOpt.hpp.
Referenced by appStartup().
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_siMult |
Definition at line 677 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protectedinherited |
indi Property to report the application state.
Definition at line 1044 of file MagAOXApp.hpp.
pcf::IndiProperty MagAOX::app::modalGainOpt::m_indiP_updateOnce |
Definition at line 665 of file modalGainOpt.hpp.
Referenced by appLogic(), and appStartup().
|
protectedinherited |
Map to hold the SetProperty indiCallBacks for this App, with fast lookup by property name.
The key for these is device.name
Definition at line 637 of file MagAOXApp.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protectedinherited |
The inode of the image stream file.
Definition at line 143 of file shmimMonitor.hpp.
|
protected |
Definition at line 340 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
staticinherited |
Definition at line 291 of file MagAOXApp.hpp.
Definition at line 378 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), and processImage().
|
protected |
The name of the loop control INDI device name.
Definition at line 303 of file modalGainOpt.hpp.
Referenced by appStartup(), and loadConfigImpl().
|
protected |
The number of the loop. Used to set shmim names, as in aolN_mgainfact.
Definition at line 301 of file modalGainOpt.hpp.
Referenced by loadConfigImpl().
|
protectedinherited |
The time in nanoseconds to pause the main loop. The appLogic() function of the derived class is called every m_loopPause nanoseconds. Default is 1,000,000,000 ns. Config with loopPause=X.
Definition at line 155 of file MagAOXApp.hpp.
|
protected |
Definition at line 453 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the LP max gains.
Definition at line 470 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), and goptThreadExec().
|
protected |
Definition at line 450 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the SI max gains.
Definition at line 467 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), and goptThreadExec().
|
protected |
Definition at line 319 of file modalGainOpt.hpp.
Referenced by allocatePCShmims().
|
protected |
Definition at line 364 of file modalGainOpt.hpp.
Referenced by appLogic(), processImage(), and processImage().
|
protected |
Definition at line 376 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protected |
Definition at line 370 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protected |
Definition at line 361 of file modalGainOpt.hpp.
|
protected |
Definition at line 374 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 362 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 455 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
|
protected |
Definition at line 368 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
The ImageStreamIO shared memory buffer to publish the LP optimal gains.
Definition at line 472 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), and goptThreadExec().
|
protected |
Definition at line 386 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Definition at line 402 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), processImage(), and processImage().
|
protected |
Definition at line 408 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 410 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 412 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 414 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 327 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 328 of file modalGainOpt.hpp.
Referenced by allocate(), allocatePCShmims(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 432 of file modalGainOpt.hpp.
Referenced by noisePSD(), and processImage().
|
protected |
Definition at line 443 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the noise PSDs (single value per mode)
Definition at line 458 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 438 of file modalGainOpt.hpp.
Referenced by noisePSD(), and processImage().
|
protected |
Definition at line 359 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
How often to regularize each mode.
Definition at line 420 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), and processImage().
|
protected |
Definition at line 358 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 442 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the open loop PSDs.
Definition at line 457 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 372 of file modalGainOpt.hpp.
Referenced by allocate(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 452 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the LP optimal gains.
Definition at line 469 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 448 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
|
protected |
Definition at line 366 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 449 of file modalGainOpt.hpp.
Referenced by allocate(), and loadConfigImpl().
The ImageStreamIO shared memory buffer to publish the SI optimal gains.
Definition at line 466 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
The ImageStreamIO shared memory buffer to publish the optimal gains.
Definition at line 464 of file modalGainOpt.hpp.
Referenced by allocate(), appShutdown(), checkSizes(), and goptThreadExec().
|
protected |
Definition at line 380 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
|
protected |
Definition at line 310 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protected |
Definition at line 312 of file modalGainOpt.hpp.
|
protected |
Definition at line 311 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protected |
Definition at line 382 of file modalGainOpt.hpp.
Flag controlling whether optical gain is automatically updated;.
Definition at line 315 of file modalGainOpt.hpp.
Referenced by appLogic().
|
protected |
Definition at line 394 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Definition at line 404 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
Tracks if a parameter has updated requiring updates to the m_gopt entries.
Definition at line 343 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), processImage(), processImage(), and processImage().
|
protected |
Definition at line 396 of file modalGainOpt.hpp.
Referenced by goptThreadExec().
|
protected |
Definition at line 406 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
Definition at line 398 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), processImage(), processImage(), processImage(), and processImage().
|
protectedinherited |
This process's PID.
Definition at line 448 of file MagAOXApp.hpp.
|
protectedinherited |
The INDI property name of the channel controlling this device's power.
Definition at line 1089 of file MagAOXApp.hpp.
|
protectedinherited |
The INDI device name of the power controller.
Definition at line 1088 of file MagAOXApp.hpp.
|
protectedinherited |
The INDI element name to monitor for this device's power state.
Definition at line 1090 of file MagAOXApp.hpp.
|
protectedinherited |
Flag controls whether power mgt is used. Set this in the constructor of a derived app. If true, then if after loadConfig the powerDevice and powerChannel are empty, then the app will exit with a critical error.
Definition at line 1083 of file MagAOXApp.hpp.
|
protectedinherited |
Counts numer of loops after power on, implements delay for device bootup. If -1, then device was NOT powered off on app startup.
Definition at line 1096 of file MagAOXApp.hpp.
|
protectedinherited |
Time in sec to wait for device to boot after power on.
Definition at line 1093 of file MagAOXApp.hpp.
|
protectedinherited |
Current power state, 1=On, 0=Off, -1=Unk.
Definition at line 1100 of file MagAOXApp.hpp.
|
protectedinherited |
The INDI element name to monitor for this device's power state.
Definition at line 1091 of file MagAOXApp.hpp.
|
protectedinherited |
Current target power state, 1=On, 0=Off, -1=Unk.
Definition at line 1101 of file MagAOXApp.hpp.
|
protected |
Definition at line 348 of file modalGainOpt.hpp.
Referenced by processImage().
|
protected |
The INDI device name of the PSD calculator. Defaults to aolN_modevalPSDs where N is m_loopNum.
Definition at line 307 of file modalGainOpt.hpp.
Referenced by appStartup(), and loadConfigImpl().
|
protected |
Definition at line 349 of file modalGainOpt.hpp.
Referenced by processImage().
|
protected |
Definition at line 347 of file modalGainOpt.hpp.
Referenced by processImage().
|
protected |
Counters to track when this mode was last regularized.
Definition at line 422 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), and processImage().
|
protected |
The regularization scale factors for each mode.
Definition at line 424 of file modalGainOpt.hpp.
Referenced by goptThreadExec(), and processImage().
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Flag indicating tha the shared memory should be reinitialized.
Definition at line 222 of file shmimMonitor.hpp.
|
protectedinherited |
Path to the secrets directory, where passwords, etc, are stored.
Definition at line 146 of file MagAOXApp.hpp.
|
staticprivateinherited |
Static pointer to this (set in constructor). Used to test whether a a MagAOXApp is already instatiated (a fatal error) and used for getting out of static signal handlers.
Definition at line 343 of file MagAOXApp.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The image structure semaphore index.
Definition at line 132 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the shared memory image, is used in /tmp/<shmimName>.im.shm
. Derived classes should set a default.
Definition at line 118 of file shmimMonitor.hpp.
|
protectedinherited |
Flag to signal it's time to shutdown. When not 0, the main loop exits.
Definition at line 160 of file MagAOXApp.hpp.
|
protected |
Definition at line 388 of file modalGainOpt.hpp.
|
protected |
Definition at line 390 of file modalGainOpt.hpp.
|
protected |
Definition at line 440 of file modalGainOpt.hpp.
Referenced by allocate(), goptThreadExec(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), and processImage().
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
The cpuset to assign the shmimMonitor thread to. Ignored if empty (the default).
Definition at line 123 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
Definition at line 130 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
A separate thread for the actual monitoring.
Definition at line 238 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
The s.m. thread PID.
Definition at line 234 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Synchronizer for thread startup, to allow priority setting to finish.
Definition at line 232 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
Priority of the shmimMonitor thread, should normally be > 00.
Definition at line 121 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
protectedinherited |
The property to hold the s.m. thread details.
Definition at line 236 of file shmimMonitor.hpp.
|
privateinherited |
The application's state. Never ever set this directly, use state(const stateCodeT & s).
Definition at line 518 of file MagAOXApp.hpp.
|
privateinherited |
Definition at line 521 of file MagAOXApp.hpp.
|
privateinherited |
Counter and flag for use to log errors just once. Never ever access directly, use stateLogged().
Definition at line 526 of file MagAOXApp.hpp.
|
privateinherited |
The save-set user id of the process.
Definition at line 370 of file MagAOXApp.hpp.
|
protectedinherited |
The path to the system directory, for PID file, etc.
Definition at line 144 of file MagAOXApp.hpp.
|
protected |
Definition at line 430 of file modalGainOpt.hpp.
Referenced by checkSizes(), goptThreadExec(), and processImage().
|
protected |
Definition at line 375 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protected |
Definition at line 369 of file modalGainOpt.hpp.
Referenced by allocate(), and goptThreadExec().
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
|
protectedinherited |
The size of the type, in bytes. Result of sizeof.
Definition at line 139 of file shmimMonitor.hpp.
Flag to trigger a single update with gain.
Definition at line 330 of file modalGainOpt.hpp.
Referenced by appLogic(), and goptThreadExec().
Flag used to indicate to the goptThread that it should stop calculations ASAP.
Definition at line 627 of file modalGainOpt.hpp.
Referenced by allocate(), goptThreadExec(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), processImage(), and processImage().
|
staticconstexprprotectedinherited |
Flag controlling whether INDI is used. If false, then no INDI code executes.
Definition at line 596 of file MagAOXApp.hpp.
|
protected |
Definition at line 434 of file modalGainOpt.hpp.
Referenced by processImage(), and processImage().
|
protected |
Definition at line 305 of file modalGainOpt.hpp.
Referenced by appStartup().
|
protected |
Definition at line 435 of file modalGainOpt.hpp.
Referenced by processImage(), and processImage().
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The width of the images in the stream.
Definition at line 134 of file shmimMonitor.hpp.
|
protectedinherited |
The name of the PID file.
Definition at line 446 of file MagAOXApp.hpp.