• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

kstarsinterface.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                           kstarsinterface.h  -  K Desktop Planetarium
00003                              -------------------
00004     begin                : Thu Jan 3 2002
00005     copyright            : (C) 2002 by Mark Hollomon
00006     email                : mhh@mindspring.com
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 
00019 
00020 
00021 #ifndef KSTARSINTERFACE_H
00022 #define KSTARSINTERFACE_H
00023 
00024 #include <dcopobject.h>
00025 
00035 class KStarsInterface : virtual public DCOPObject
00036 {
00037     K_DCOP
00038 
00039     k_dcop:
00055         virtual ASYNC lookTowards( const QString direction ) = 0;
00056         
00061         virtual ASYNC zoom( double f ) = 0;
00062         
00065         virtual ASYNC zoomIn() = 0;
00066         
00069         virtual ASYNC zoomOut() = 0;
00070         
00073         virtual ASYNC defaultZoom() = 0;
00074         
00079         virtual ASYNC setRaDec( double ra, double dec ) = 0;
00080         
00085         virtual ASYNC setAltAz(double alt, double az) = 0;
00086         
00095         virtual ASYNC setLocalTime(int yr, int mth, int day, int hr, int min, int sec) = 0;
00096         
00100         virtual ASYNC waitFor( double t ) = 0;
00101         
00105         virtual ASYNC waitForKey( const QString k ) = 0;
00106         
00112         virtual ASYNC setTracking( bool track ) = 0;
00113         
00116         virtual ASYNC readConfig() = 0;
00117 
00120         virtual ASYNC writeConfig() = 0;
00121 
00125         virtual QString getOption( const QString &name ) = 0;
00126 
00136         virtual ASYNC changeViewOption( const QString option, const QString value ) = 0;
00137         
00143         virtual ASYNC popupMessage( int x, int y, const QString message ) = 0;
00144         
00153         virtual ASYNC drawLine( int x1, int y1, int x2, int y2, int speed ) = 0;
00154         
00160         virtual ASYNC setGeoLocation( const QString city, const QString province, const QString country ) = 0;
00161         
00166         virtual ASYNC setColor( const QString colorName, const QString value ) = 0;
00167         
00171         virtual ASYNC loadColorScheme( const QString name ) = 0;
00172         
00180         virtual ASYNC exportImage( const QString filename, int width, int height ) = 0;
00181         
00184         virtual ASYNC printImage( bool usePrintDialog, bool useChartColors ) = 0;
00185         
00186         
00187         // Generic Device Functions
00192         virtual ASYNC startINDI (QString deviceName, bool useLocal) = 0;
00193         
00197         virtual ASYNC shutdownINDI (QString deviceName) = 0;
00198         
00203         virtual ASYNC switchINDI(QString deviceName, bool turnOn) = 0;
00204         
00209         virtual ASYNC setINDIPort(QString deviceName, QString port) = 0;
00210         
00216         virtual ASYNC setINDIAction(QString deviceName, QString action) = 0;
00217         
00223         virtual ASYNC waitForINDIAction(QString deviceName, QString action) = 0;
00224         
00225         
00226         // Telescope Functions
00232         virtual ASYNC setINDITargetCoord(QString deviceName, double RA, double DEC) = 0;
00233         
00238         virtual ASYNC setINDITargetName(QString deviceName, QString objectName) = 0;
00239         
00244         virtual ASYNC setINDIScopeAction(QString deviceName, QString action) = 0;
00245         
00251         virtual ASYNC setINDIGeoLocation(QString deviceName, double longitude, double latitude) = 0;
00252         
00257         virtual ASYNC setINDIUTC(QString deviceName, QString UTCDateTime) = 0;
00258         
00259         
00260         // Focus Functions
00269         virtual ASYNC setINDIFocusSpeed(QString deviceName, unsigned int speed) = 0;
00270         
00275         virtual ASYNC setINDIFocusTimeout(QString deviceName, int timeout) = 0;
00276         
00281         virtual ASYNC startINDIFocus(QString deviceName, int focusDir) = 0;
00282         
00283         // Filter Functions
00288         virtual ASYNC setINDIFilterNum(QString deviceName, int filter_num) = 0;
00289 
00290         // Camera CCD Functions
00291         
00297         virtual ASYNC setINDIFrameType(QString deviceName, QString type) = 0;
00298         
00303         virtual ASYNC setINDICCDTemp(QString deviceName, int temp) = 0;
00304         
00309         virtual ASYNC startINDIExposure(QString deviceName, int timeout) = 0;
00310         
00311 };
00312 
00313 #endif

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal