API
xindiserver.hpp File Reference

The MagAO-X INDI Server wrapper header. More...

#include <sys/wait.h>
#include <iostream>
#include <vector>
#include <string>
#include <map>
#include <unordered_set>
#include <mx/ioutils/fileUtils.hpp>
#include "../../libMagAOX/libMagAOX.hpp"
#include "../../magaox_git_version.h"
Include dependency graph for xindiserver.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  MagAOX::app::sshTunnel
 Structure to hold an sshTunnel specification, used for created command line args for indiserver. More...
 
class  MagAOX::app::xindiserver
 

Namespaces

 MagAOX
 
 MagAOX::app
 

Macros

#define SSHTUNNEL_E_NOTUNNELS   (-10)
 
#define XINDISERVER_E_BADDRIVERSPEC   (-100)
 
#define XINDISERVER_E_DUPLICATEDRIVER   (-101)
 
#define XINDISERVER_E_VECTOREXCEPT   (-102)
 
#define XINDISERVER_E_NOTUNNELS   (-103)
 
#define XINDISERVER_E_TUNNELNOTFOUND   (-104)
 
#define XINDISERVER_E_BADSERVERSPEC   (-110)
 

Typedefs

typedef std::unordered_map< std::string, sshTunnel > MagAOX::app::tunnelMapT
 The map used to hold tunnel specifications. More...
 

Functions

int MagAOX::app::loadSSHTunnelConfigs (tunnelMapT &tmap, mx::app::appConfigurator &config)
 Create the tunnel map from a configurator. More...
 

Detailed Description

The MagAO-X INDI Server wrapper header.

Definition in file xindiserver.hpp.


Class Documentation

◆ MagAOX::app::sshTunnel

struct MagAOX::app::sshTunnel

Structure to hold an sshTunnel specification, used for created command line args for indiserver.

Definition at line 44 of file xindiserver.hpp.

Collaboration diagram for MagAOX::app::sshTunnel:
Collaboration graph
Class Members
int m_localPort
string m_remoteHost

Macro Definition Documentation

◆ SSHTUNNEL_E_NOTUNNELS

#define SSHTUNNEL_E_NOTUNNELS   (-10)

Definition at line 41 of file xindiserver.hpp.

◆ XINDISERVER_E_BADDRIVERSPEC

#define XINDISERVER_E_BADDRIVERSPEC   (-100)

Definition at line 103 of file xindiserver.hpp.

◆ XINDISERVER_E_BADSERVERSPEC

#define XINDISERVER_E_BADSERVERSPEC   (-110)

Definition at line 108 of file xindiserver.hpp.

◆ XINDISERVER_E_DUPLICATEDRIVER

#define XINDISERVER_E_DUPLICATEDRIVER   (-101)

Definition at line 104 of file xindiserver.hpp.

◆ XINDISERVER_E_NOTUNNELS

#define XINDISERVER_E_NOTUNNELS   (-103)

Definition at line 106 of file xindiserver.hpp.

◆ XINDISERVER_E_TUNNELNOTFOUND

#define XINDISERVER_E_TUNNELNOTFOUND   (-104)

Definition at line 107 of file xindiserver.hpp.

◆ XINDISERVER_E_VECTOREXCEPT

#define XINDISERVER_E_VECTOREXCEPT   (-102)

Definition at line 105 of file xindiserver.hpp.