|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#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 29 of file IndiServerController.cpp.
| IndiServerController::~IndiServerController | ( | ) |
Definition at line 37 of file IndiServerController.cpp.
| void IndiServerController::addDriver | ( | const std::string & | path | ) |
Definition at line 75 of file IndiServerController.cpp.
| int IndiServerController::getTcpPort | ( | ) | const |
Definition at line 100 of file IndiServerController.cpp.
| std::string IndiServerController::getUnixSocketPath | ( | ) | const |
Definition at line 96 of file IndiServerController.cpp.
| void IndiServerController::setFifo | ( | bool | enable | ) |
Definition at line 47 of file IndiServerController.cpp.
| void IndiServerController::start | ( | const std::vector< std::string > & | args | ) |
Definition at line 51 of file IndiServerController.cpp.
| void IndiServerController::startDriver | ( | const std::string & | driver | ) |
Definition at line 55 of file IndiServerController.cpp.