Kstars
drivermanager.h
51 * @brief DriverManager is the primary class to handle all operations related to starting and stopping INDI drivers.
53 * INDI drivers can be local or remote drivers. For remote hosts, driver information is not known and devices are built
54 * as they arrive dynamically. The class parses INDI primary devices XML file (drivers.xml) and any 3rd party INDI Driver
57 * When starting local drivers, DriverManager also establishes an INDI server with the requested drivers and then connect to
60 * The class also handles INDI hosts which can be added in order to connect to a local or remote INDI server.
91 bool buildDriverElement(XMLEle *root, QTreeWidgetItem *DGroup, DeviceFamily groupType, char errmsg[]);
123 * @brief getUniqueHosts Given a list of DriverInfos, extract all the host:port information from all the drivers.
124 * and then consolidate each groups of drivers that belong to the same server & port to a specific list
125 * e.g. If we have driver1 (localhost:7624), driver2(192.168.1.90:7624), driver3(localhost:7624) then this would create
126 * two lists. First list contains [driver1,driver3] and second list contains [driver2] making each list _unique_ in terms of host params.
130 void getUniqueHosts(const QList<QSharedPointer<DriverInfo>> &dList, QList<QList<QSharedPointer<DriverInfo>>> &uHosts);
154 void startClientManager(const QList<QSharedPointer<DriverInfo>> &qdv, const QString &host, int port);
ClientManager manages connection to INDI server, creation of devices, and receiving/sending propertie...
Definition clientmanager.h:39
DriverInfo holds all metadata associated with a particular INDI driver.
Definition driverinfo.h:46
DriverManager is the primary class to handle all operations related to starting and stopping INDI dri...
Definition drivermanager.h:65
void getUniqueHosts(const QList< QSharedPointer< DriverInfo > > &dList, QList< QList< QSharedPointer< DriverInfo > > > &uHosts)
getUniqueHosts Given a list of DriverInfos, extract all the host:port information from all the driver...
Definition drivermanager.cpp:275
ServerManager is responsible for starting and shutting local INDI servers.
Definition servermanager.h:29
virtual int exec()
void append(QList< T > &&value)
bool removeOne(const AT &t)
Q_OBJECTQ_OBJECT
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.