Instrument Neutral Distributed Interface INDI
2.0.2
integs
IndiServerController.h
Go to the documentation of this file.
1
/*******************************************************************************
2
Copyright(c) 2022 Ludovic Pollet. All rights reserved.
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License version 2 as published by the Free Software Foundation.
7
8
This library is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
Library General Public License for more details.
12
13
You should have received a copy of the GNU Library General Public License
14
along with this library; see the file COPYING.LIB. If not, write to
15
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16
Boston, MA 02110-1301, USA.
17
*******************************************************************************/
18
19
#ifndef INDI_SERVER_CONTROLLER_H_
20
#define INDI_SERVER_CONTROLLER_H_ 1
21
22
#include <string>
23
#include <unistd.h>
24
25
#include "
ProcessController.h
"
26
32
class
IndiServerController
:
public
ProcessController
33
{
34
bool
fifo;
35
public
:
36
IndiServerController
();
37
~IndiServerController
();
38
void
setFifo
(
bool
enable);
39
void
start
(
const
std::vector<std::string> & args);
40
41
void
startDriver
(
const
std::string & driver);
42
43
void
addDriver
(
const
std::string & path);
44
45
std::string
getUnixSocketPath
()
const
;
46
int
getTcpPort
()
const
;
47
};
48
49
50
#endif
// INDI_SERVER_CONTROLLER_H_
ProcessController.h
IndiServerController
Definition:
IndiServerController.h:33
IndiServerController::addDriver
void addDriver(const std::string &path)
Definition:
IndiServerController.cpp:74
IndiServerController::~IndiServerController
~IndiServerController()
Definition:
IndiServerController.cpp:39
IndiServerController::IndiServerController
IndiServerController()
Definition:
IndiServerController.cpp:35
IndiServerController::start
void start(const std::vector< std::string > &args)
Definition:
IndiServerController.cpp:50
IndiServerController::setFifo
void setFifo(bool enable)
Definition:
IndiServerController.cpp:46
IndiServerController::getTcpPort
int getTcpPort() const
Definition:
IndiServerController.cpp:99
IndiServerController::getUnixSocketPath
std::string getUnixSocketPath() const
Definition:
IndiServerController.cpp:95
IndiServerController::startDriver
void startDriver(const std::string &driver)
Definition:
IndiServerController.cpp:54
ProcessController
Definition:
ProcessController.h:30
Generated on Sat May 13 2023 14:24:23 for Instrument Neutral Distributed Interface INDI by
1.9.1