kstars
devicemanager.cpp
Go to the documentation of this file.
52 DeviceManager::DeviceManager(INDIMenu *INDIparent, QString inHost, uint inPort, ManagerMode inMode)
137 connect(&serverSocket, SIGNAL(error( QAbstractSocket::SocketError )), this, SLOT(connectionError()));
186 QString errMsg = QString("Connection to INDI host at %1 on port %2 encountered an error: %3.").arg(host).arg(port).arg(serverSocket.errorString());
387 // Each device manager has a list of managed_devices (IDevice). Each IDevice has the original constant name of the driver (driver_class)
388 // Therefore, when a new device is discovered, we match the driver name (which never changes, it's always static from indiserver) against the driver_class
389 // of IDevice because IDevice can have several names. It can have the tree_label which is the name it has in the local tree widget. Finally, the name that shows
390 // up in the INDI control panel is the unique name of the driver, which is for most cases tree_label, but if that exists already then we get tree_label_1..etc
411 connect(dp->stdDev, SIGNAL(newTelescope()), parent->ksw->indiDriver(), SLOT(newTelescopeDiscovered()), Qt::QueuedConnection);
571 void DeviceManager::startBlob( const QString &devName, const QString &propName, const QString ×tamp)
582 void DeviceManager::sendOneBlob( const QString &blobName, unsigned int blobSize, const QString &blobFormat, unsigned char * blobBuffer)
Definition: indiproperty.h:38
INDI_D * findDev(XMLEle *root, int create, QString &errmsg)
Definition: devicemanager.cpp:418
Definition: indidriver.h:54
void deviceManagerError(DeviceManager *)
DeviceManager(INDIMenu *INDIparent, QString inHost, uint inPort, ManagerMode inMode)
Definition: devicemanager.cpp:52
Definition: indidriver.h:54
void newServerInput()
Definition: indielement.h:44
void newDevice(INDI_D *)
void startBlob(const QString &devName, const QString &propName, const QString ×tamp)
Definition: devicemanager.cpp:571
int dispatchCommand(XMLEle *root, QString &errmsg)
Definition: devicemanager.cpp:252
void sendOneBlob(const QString &blobName, unsigned int blobSize, const QString &blobFormat, unsigned char *blobBuffer)
Definition: devicemanager.cpp:582
Definition: indimenu.h:37
INDI_D * addDevice(XMLEle *dep, QString &errmsg)
Definition: devicemanager.cpp:365
void appendManagedDevices(QList< IDevice * > &processed_devices)
Definition: devicemanager.cpp:192
QString getUniqueDeviceLabel(const QString &deviceName)
Definition: indimenu.cpp:180
Definition: indidevice.h:30
static KStarsDateTime currentDateTime(KDateTime::Spec ts=KDateTime::Spec::ClockTime())
Definition: kstarsdatetime.cpp:67
void enableBLOB(bool enable, QString device=QString(), QString property=QString())
Definition: devicemanager.cpp:148
Definition: indicommon.h:66
Definition: devicemanager.h:31
void sendNewSwitch(INDI_P *pp, INDI_E *lp)
Definition: devicemanager.cpp:555
int removeDevice(const QString &devName, QString &errmsg)
Definition: devicemanager.cpp:326
Definition: indidriver.h:46
Definition: devicemanager.h:31
int delPropertyCmd(XMLEle *root, QString &errmsg)
Definition: devicemanager.cpp:296
int messageCmd(XMLEle *root, QString &errmsg)
Definition: devicemanager.cpp:450
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.