Instrument Neutral Distributed Interface INDI 2.2.5
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 29 of file IndiServerController.cpp.

◆ ~IndiServerController()

IndiServerController::~IndiServerController ( )

Definition at line 37 of file IndiServerController.cpp.

Member Function Documentation

◆ addDriver()

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

Definition at line 75 of file IndiServerController.cpp.

◆ getTcpPort()

int IndiServerController::getTcpPort ( ) const

Definition at line 100 of file IndiServerController.cpp.

◆ getUnixSocketPath()

std::string IndiServerController::getUnixSocketPath ( ) const

Definition at line 96 of file IndiServerController.cpp.

◆ setFifo()

void IndiServerController::setFifo ( bool  enable)

Definition at line 47 of file IndiServerController.cpp.

◆ start()

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

Definition at line 51 of file IndiServerController.cpp.

◆ startDriver()

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

Definition at line 55 of file IndiServerController.cpp.


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