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

#include <IndiServerController.h>

Inheritance diagram for IndiServerController:
ProcessController

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)
 

Detailed Description

Interface to the indiserver process.

Allows starting it, sending it signals and inspecting exit code

Definition at line 32 of file IndiServerController.h.

Constructor & Destructor Documentation

◆ IndiServerController()

IndiServerController::IndiServerController ( )

Definition at line 35 of file IndiServerController.cpp.

◆ ~IndiServerController()

IndiServerController::~IndiServerController ( )

Definition at line 39 of file IndiServerController.cpp.

Member Function Documentation

◆ addDriver()

void IndiServerController::addDriver ( const std::string &  path)

Definition at line 74 of file IndiServerController.cpp.

◆ getTcpPort()

int IndiServerController::getTcpPort ( ) const

Definition at line 99 of file IndiServerController.cpp.

◆ getUnixSocketPath()

std::string IndiServerController::getUnixSocketPath ( ) const

Definition at line 95 of file IndiServerController.cpp.

◆ setFifo()

void IndiServerController::setFifo ( bool  enable)

Definition at line 46 of file IndiServerController.cpp.

◆ start()

void IndiServerController::start ( const std::vector< std::string > &  args)

Definition at line 50 of file IndiServerController.cpp.

◆ startDriver()

void IndiServerController::startDriver ( const std::string &  driver)

Definition at line 54 of file IndiServerController.cpp.


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