• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

Public Types | Public Slots | Signals | Public Member Functions | Public Attributes | List of all members
INDIDriver Class Reference

#include <indidriver.h>

Inheritance diagram for INDIDriver:
Inheritance graph
[legend]

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

void INDIDriver::activateHostConnection ( )
slot

Definition at line 233 of file indidriver.cpp.

void INDIDriver::activateHostDisconnection ( )
slot

Definition at line 238 of file indidriver.cpp.

void INDIDriver::activateRunService ( )
slot

Definition at line 223 of file indidriver.cpp.

void INDIDriver::activateStopService ( )
slot

Definition at line 228 of file indidriver.cpp.

void INDIDriver::addINDIHost ( )
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.

void INDIDriver::disableDevice ( INDI_D *  device)
slot
void INDIDriver::enableDevice ( INDI_D *  device)
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.

void INDIDriver::modifyINDIHost ( )
slot

Definition at line 855 of file indidriver.cpp.

void INDIDriver::newCCD ( )
signal
void INDIDriver::newCCDDiscovered ( )
slot

Definition at line 393 of file indidriver.cpp.

void INDIDriver::newDevice ( )
signal
void INDIDriver::newTelescope ( )
signal
void INDIDriver::newTelescopeDiscovered ( )
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.

void INDIDriver::removeINDIHost ( )
slot

Definition at line 896 of file indidriver.cpp.

void INDIDriver::resizeDeviceColumn ( )
slot

Definition at line 399 of file indidriver.cpp.

void INDIDriver::saveHosts ( )

Definition at line 925 of file indidriver.cpp.

void INDIDriver::updateClientTab ( )
slot

Definition at line 265 of file indidriver.cpp.

void INDIDriver::updateCustomDrivers ( )
slot

Definition at line 728 of file indidriver.cpp.

void INDIDriver::updateLocalTab ( )
slot

Definition at line 243 of file indidriver.cpp.

void INDIDriver::updateMenuActions ( )
slot

Definition at line 404 of file indidriver.cpp.

Member Data Documentation

int INDIDriver::currentPort

Definition at line 123 of file indidriver.h.

QList<IDevice *> INDIDriver::devices

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:
  • indidriver.h
  • indidriver.cpp
This file is part of the KDE documentation.
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.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal