Instrument Neutral Distributed Interface INDI  2.0.2
Public Member Functions | List of all members
ProcessController Class Reference

#include <ProcessController.h>

Inheritance diagram for ProcessController:
IndiServerController

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)
 

Detailed Description

Interface to a mocked connection

Definition at line 30 of file ProcessController.h.

Constructor & Destructor Documentation

◆ ProcessController()

ProcessController::ProcessController ( )

Definition at line 15 of file ProcessController.cpp.

◆ ~ProcessController()

ProcessController::~ProcessController ( )

Definition at line 21 of file ProcessController.cpp.

Member Function Documentation

◆ checkOpenFdCount()

void ProcessController::checkOpenFdCount ( int  expected,
const std::string &  msg 
)

Definition at line 52 of file ProcessController.cpp.

◆ expectAlive()

void ProcessController::expectAlive ( )

Definition at line 141 of file ProcessController.cpp.

◆ expectDone()

void ProcessController::expectDone ( )

Definition at line 124 of file ProcessController.cpp.

◆ expectExitCode()

void ProcessController::expectExitCode ( int  e)

Definition at line 157 of file ProcessController.cpp.

◆ getOpenFdCount()

int ProcessController::getOpenFdCount ( )

Definition at line 25 of file ProcessController.cpp.

◆ join()

void ProcessController::join ( )

Definition at line 113 of file ProcessController.cpp.

◆ kill()

void ProcessController::kill ( )

Definition at line 106 of file ProcessController.cpp.

◆ start()

void ProcessController::start ( const std::string &  path,
const std::vector< std::string > &  args 
)

Definition at line 64 of file ProcessController.cpp.

◆ waitProcessEnd()

void ProcessController::waitProcessEnd ( int  expectedExitCode)

Definition at line 101 of file ProcessController.cpp.


The documentation for this class was generated from the following files: