
Modules | |
| INDI Support in MagAOX Apps | |
| Device Modules for MagAOX Applications | |
| MagAOX Application Files | |
Classes | |
| class | MagAOX::app::MagAOXApp< _useINDI > |
| The base-class for XWCTk applications. More... | |
| struct | MagAOX::app::stateCodes |
| Scoping struct for application state codes. More... | |
Enumerations | |
| enum | : stateCodeT { MagAOX::app::stateCodes::FAILURE =-20 , MagAOX::app::stateCodes::ERROR =-10 , MagAOX::app::stateCodes::UNINITIALIZED = 0 , MagAOX::app::stateCodes::INITIALIZED = 1 , MagAOX::app::stateCodes::NODEVICE = 2 , MagAOX::app::stateCodes::POWEROFF = 4 , MagAOX::app::stateCodes::POWERON = 6 , MagAOX::app::stateCodes::NOTCONNECTED = 8 , MagAOX::app::stateCodes::CONNECTED = 10 , MagAOX::app::stateCodes::LOGGEDIN = 15 , MagAOX::app::stateCodes::CONFIGURING = 20 , MagAOX::app::stateCodes::NOTHOMED = 24 , MagAOX::app::stateCodes::HOMING = 25 , MagAOX::app::stateCodes::OPERATING = 30 , MagAOX::app::stateCodes::READY = 35 , MagAOX::app::stateCodes::SHUTDOWN = 10000 } |
| The numeric codes descrbing an application's state. More... | |
A typical XWCApp is the interface to a single piece of hardware, such as a camera or a filter wheel. Through various optional CRTP base classes, many different standard functionalities can be included. The following figure illustrates the facilities provided by a typical app.
The following figure illustrates the logic of the XWCApp finite state machine (FSM).
Many XWCApps can be connected across many computers. Inter-process communication can be conducted with INDI or ISIO.
XWCApps are designed to be part of control loops. In the following diagram a camera at the focal plane of a coronagraph is used as the wavefront sensor. An XWCApp reads out the images and publishes them to shared memory with ISIO. Loop process, which may themselves be XWCApps or, e.g., CACAO processes, perform loop calculations. Finally, the deformable mirror controller sends the resultant command to the hardware device.
| anonymous enum : stateCodeT |
The numeric codes descrbing an application's state.
Definition at line 42 of file stateCodes.hpp.