API
MagAOXApp.hpp File Reference
#include <signal.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <thread>
#include <mutex>
#include <unordered_map>
#include <mx/mxlib.hpp>
#include <mx/app/application.hpp>
#include <mx/sys/environment.hpp>
#include <mx/sys/timeUtils.hpp>
#include <mx/ioutils/fileUtils.hpp>
#include "../common/environment.hpp"
#include "../common/paths.hpp"
#include "../common/defaults.hpp"
#include "../common/config.hpp"
#include "../logger/logFileRaw.hpp"
#include "../logger/logManager.hpp"
#include "../sys/thSetuid.hpp"
#include "stateCodes.hpp"
#include "indiDriver.hpp"
#include "indiMacros.hpp"
#include "indiUtils.hpp"
Include dependency graph for MagAOXApp.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MagAOX::app::MagAOXApp< _useINDI >
 The base-class for MagAO-X applications. More...
 
class  MagAOX::app::MagAOXApp< _useINDI >::elevatedPrivileges
 Internal class to manage setuid privilege escalation with RAII. More...
 
struct  MagAOX::app::MagAOXApp< _useINDI >::indiCallBack
 Structure to hold the call-back details for handling INDI communications. More...
 

Namespaces

 MagAOX
 
 MagAOX::app
 

Functions

void MagAOX::app::sigUsr1Handler (int signum, siginfo_t *siginf, void *ucont)
 Empty signal handler. SIGUSR1 is used to interrupt sleep in various threads.
More...
 
template<typename T >
pcf::IndiProperty::Type MagAOX::app::propType ()
 
template<>
pcf::IndiProperty::Type MagAOX::app::propType< char * > ()
 
template<>
pcf::IndiProperty::Type MagAOX::app::propType< std::string > ()
 
template<>
pcf::IndiProperty::Type MagAOX::app::propType< int > ()
 
template<>
pcf::IndiProperty::Type MagAOX::app::propType< double > ()
 
template<bool _useINDI>
 MagAOX::app::INDI_SETCALLBACK_DEFN (MagAOXApp< _useINDI >, m_indiP_powerChannel)(const pcf