|
Instrument Neutral Distributed Interface INDI 2.2.5
|
#include <ProcessController.h>
Public Member Functions | |
| 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 a mocked connection
Definition at line 30 of file ProcessController.h.
| ProcessController::ProcessController | ( | ) |
Definition at line 15 of file ProcessController.cpp.
| ProcessController::~ProcessController | ( | ) |
Definition at line 21 of file ProcessController.cpp.
| void ProcessController::checkOpenFdCount | ( | int | expected, |
| const std::string & | msg | ||
| ) |
Definition at line 52 of file ProcessController.cpp.
| void ProcessController::expectAlive | ( | ) |
Definition at line 141 of file ProcessController.cpp.
| void ProcessController::expectDone | ( | ) |
Definition at line 124 of file ProcessController.cpp.
| void ProcessController::expectExitCode | ( | int | e | ) |
Definition at line 157 of file ProcessController.cpp.
| int ProcessController::getOpenFdCount | ( | ) |
Definition at line 25 of file ProcessController.cpp.
| void ProcessController::join | ( | ) |
Definition at line 113 of file ProcessController.cpp.
| void ProcessController::kill | ( | ) |
Definition at line 106 of file ProcessController.cpp.
| void ProcessController::start | ( | const std::string & | path, |
| const std::vector< std::string > & | args | ||
| ) |
Definition at line 64 of file ProcessController.cpp.
| void ProcessController::waitProcessEnd | ( | int | expectedExitCode | ) |
Definition at line 101 of file ProcessController.cpp.