kstars
#include <indidriver.h>

Public Types | |
enum | { LOCAL_NAME_COLUMN =0, LOCAL_STATUS_COLUMN, LOCAL_MODE_COLUMN, LOCAL_VERSION_COLUMN, LOCAL_PORT_COLUMN } |
enum | { HOST_STATUS_COLUMN =0, HOST_NAME_COLUMN, HOST_PORT_COLUMN } |
Public Slots | |
void | activateHostConnection () |
void | activateHostDisconnection () |
void | activateRunService () |
void | activateStopService () |
void | addINDIHost () |
void | disableDevice (INDI_D *device) |
void | enableDevice (INDI_D *device) |
void | modifyINDIHost () |
void | newCCDDiscovered () |
void | newTelescopeDiscovered () |
void | removeINDIHost () |
void | resizeDeviceColumn () |
void | updateClientTab () |
void | updateCustomDrivers () |
void | updateLocalTab () |
void | updateMenuActions () |
Signals | |
void | newCCD () |
void | newDevice () |
void | newTelescope () |
Public Member Functions | |
INDIDriver (KStars *ks) | |
~INDIDriver () | |
bool | buildDeviceGroup (XMLEle *root, char errmsg[]) |
bool | buildDriverElement (XMLEle *root, QTreeWidgetItem *DGroup, int groupType, char errmsg[]) |
IDevice * | findDeviceByLabel (const QString &label) |
int | getINDIPort (int customPort) |
bool | isDeviceRunning (const QString &deviceLabel) |
void | processLocalTree (IDevice::DeviceStatus dev_request) |
void | processRemoteTree (IDevice::DeviceStatus dev_request) |
void | processXMLDriver (QString &driverName) |
bool | readXMLDrivers () |
void | saveHosts () |
Public Attributes | |
int | currentPort |
QList< IDevice * > | devices |
QHash< QString, QString > | driversList |
KStars * | ksw |
QTreeWidgetItem * | lastDevice |
QTreeWidgetItem * | lastGroup |
DeviceManagerUI * | ui |
IDevice::XMLSource | xmlSource |
Detailed Description
Definition at line 98 of file indidriver.h.
Member Enumeration Documentation
anonymous enum |
Enumerator | |
---|---|
LOCAL_NAME_COLUMN | |
LOCAL_STATUS_COLUMN | |
LOCAL_MODE_COLUMN | |
LOCAL_VERSION_COLUMN | |
LOCAL_PORT_COLUMN |
Definition at line 105 of file indidriver.h.
anonymous enum |
Enumerator | |
---|---|
HOST_STATUS_COLUMN | |
HOST_NAME_COLUMN | |
HOST_PORT_COLUMN |
Definition at line 106 of file indidriver.h.
Constructor & Destructor Documentation
INDIDriver::INDIDriver | ( | KStars * | ks | ) |
Definition at line 92 of file indidriver.cpp.
INDIDriver::~INDIDriver | ( | ) |
Definition at line 971 of file indidriver.cpp.
Member Function Documentation
|
slot |
Definition at line 233 of file indidriver.cpp.
|
slot |
Definition at line 238 of file indidriver.cpp.
|
slot |
Definition at line 223 of file indidriver.cpp.
|
slot |
Definition at line 228 of file indidriver.cpp.
|
slot |
Definition at line 805 of file indidriver.cpp.
bool INDIDriver::buildDeviceGroup | ( | XMLEle * | root, |
char | errmsg[] | ||
) |
Definition at line 576 of file indidriver.cpp.
bool INDIDriver::buildDriverElement | ( | XMLEle * | root, |
QTreeWidgetItem * | DGroup, | ||
int | groupType, | ||
char | errmsg[] | ||
) |
Definition at line 641 of file indidriver.cpp.
|
slot |
|
slot |
IDevice * INDIDriver::findDeviceByLabel | ( | const QString & | label | ) |
Definition at line 962 of file indidriver.cpp.
int INDIDriver::getINDIPort | ( | int | customPort | ) |
Definition at line 455 of file indidriver.cpp.
bool INDIDriver::isDeviceRunning | ( | const QString & | deviceLabel | ) |
Definition at line 446 of file indidriver.cpp.
|
slot |
Definition at line 855 of file indidriver.cpp.
|
signal |
|
slot |
Definition at line 393 of file indidriver.cpp.
|
signal |
|
signal |
|
slot |
Definition at line 386 of file indidriver.cpp.
void INDIDriver::processLocalTree | ( | IDevice::DeviceStatus | dev_request | ) |
Definition at line 282 of file indidriver.cpp.
void INDIDriver::processRemoteTree | ( | IDevice::DeviceStatus | dev_request | ) |
Definition at line 348 of file indidriver.cpp.
void INDIDriver::processXMLDriver | ( | QString & | driverName | ) |
Definition at line 534 of file indidriver.cpp.
bool INDIDriver::readXMLDrivers | ( | ) |
Definition at line 491 of file indidriver.cpp.
|
slot |
Definition at line 896 of file indidriver.cpp.
|
slot |
Definition at line 399 of file indidriver.cpp.
void INDIDriver::saveHosts | ( | ) |
Definition at line 925 of file indidriver.cpp.
|
slot |
Definition at line 265 of file indidriver.cpp.
|
slot |
Definition at line 728 of file indidriver.cpp.
|
slot |
Definition at line 243 of file indidriver.cpp.
|
slot |
Definition at line 404 of file indidriver.cpp.
Member Data Documentation
int INDIDriver::currentPort |
Definition at line 123 of file indidriver.h.
Definition at line 118 of file indidriver.h.
QHash<QString, QString> INDIDriver::driversList |
Definition at line 122 of file indidriver.h.
KStars* INDIDriver::ksw |
Definition at line 116 of file indidriver.h.
QTreeWidgetItem* INDIDriver::lastDevice |
Definition at line 120 of file indidriver.h.
QTreeWidgetItem* INDIDriver::lastGroup |
Definition at line 119 of file indidriver.h.
DeviceManagerUI* INDIDriver::ui |
Definition at line 117 of file indidriver.h.
IDevice::XMLSource INDIDriver::xmlSource |
Definition at line 124 of file indidriver.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.