Instrument Neutral Distributed Interface INDI
2.0.2
|
#include <IndiServerController.h>
Public Member Functions | |
IndiServerController () | |
~IndiServerController () | |
void | setFifo (bool enable) |
void | start (const std::vector< std::string > &args) |
void | startDriver (const std::string &driver) |
void | addDriver (const std::string &path) |
std::string | getUnixSocketPath () const |
int | getTcpPort () const |
Public Member Functions inherited from ProcessController | |
ProcessController () | |
~ProcessController () | |
void | start (const std::string &path, const std::vector< std::string > &args) |
void | expectDone () |
void | expectAlive () |
void | expectExitCode (int e) |
void | join () |
void | kill () |
void | waitProcessEnd (int expectedExitCode) |
int | getOpenFdCount () |
void | checkOpenFdCount (int expected, const std::string &msg) |
Interface to the indiserver process.
Allows starting it, sending it signals and inspecting exit code
Definition at line 32 of file IndiServerController.h.
IndiServerController::IndiServerController | ( | ) |
Definition at line 35 of file IndiServerController.cpp.
IndiServerController::~IndiServerController | ( | ) |
Definition at line 39 of file IndiServerController.cpp.
void IndiServerController::addDriver | ( | const std::string & | path | ) |
Definition at line 74 of file IndiServerController.cpp.
int IndiServerController::getTcpPort | ( | ) | const |
Definition at line 99 of file IndiServerController.cpp.
std::string IndiServerController::getUnixSocketPath | ( | ) | const |
Definition at line 95 of file IndiServerController.cpp.
void IndiServerController::setFifo | ( | bool | enable | ) |
Definition at line 46 of file IndiServerController.cpp.
void IndiServerController::start | ( | const std::vector< std::string > & | args | ) |
Definition at line 50 of file IndiServerController.cpp.
void IndiServerController::startDriver | ( | const std::string & | driver | ) |
Definition at line 54 of file IndiServerController.cpp.