Starts a telescope at the given slot, getting its description with getTelescopeAtSlot(). GetTelescopeAtSlot (int slot, ConnectionType &connectionType, QString &name, QString &equinox, QString &host, int &portTCP, int &delay, bool &connectAtStartup, QList &circles, QString &serverName, QString &portSerial, QString &rts2Url, QString &rts2Username, QString &rts2Password, int &rts2Refresh, QString &ascomDeviceId, bool &ascomUseDeviceEqCoordType) More.ĪddTelescopeAtSlot (int slot, ConnectionType connectionType, QString name, QString equinox, QString host=QString("localhost"), int portTCP=DEFAULT_TCP_PORT, int delay=DEFAULT_DELAY, bool connectAtStartup=false, QList circles=QList(), QString serverName=QString(), QString portSerial=QString(), QString rts2Url=QString(), QString rts2Username=QString(), QString rts2Password=QString(), int rts2Refresh=-1, QString ascomDeviceId=QString(""), bool ascomUseDeviceEqCoordType=true)Īdds a telescope description containing the given properties. Loads from telescopes.json the parameters of telescope clients and initializes them. Saves to telescopes.json a list of the parameters of the active telescope clients. Saves the module's configuration to the configuration file. Loads the module's configuration from the configuration file. Safe access to the loaded list of telescope models. Remove all currently registered telescopes. Returns the name that will be returned by StelObject::getType() for the objects this module manages.ĭetect or show the configuration GUI elements for the module. Gets a user-displayable name of the object category. ListMatchingObjects (const QString &objPrefix, const int maxNbItem=5, bool useStartOfWords=false) const overrideįind and return the list of at most maxNbItem objects auto-completing the passed object name. Return the StelObject with the given ID if exists or the empty StelObject if not found. SearchByID (const QString &id) const override Return the matching StelObject if exists or the empty StelObject if not found. SearchByName (const QString &name) const override SearchByNameI18n (const QString &nameI18n) const override Search for StelObject in an area around a specified point. SearchAround (const Vec3d &v, double limitFov, const StelCore *core) const override Return the value defining the order of call for the given action For example if stars.callOrder = 10 and constellation.callOrder = 11, the stars module will be drawn before the constellations. GetCallOrder ( StelModuleActionName actionName) const override More.Įxecute all the drawing functions for this module. Update the module with respect to the time. ServerExecutablesDirectoryPathChanged (const QString &s)Ĭalled before the module will be deleted, and before the OpenGL context is suppressed. GetFlagUseServerExecutablesChanged (bool b) More.įlagUseTelescopeServerLogsChanged (bool b) More.ĬenteringScreenByTelescope (const int idx)Ĭentering screen by coordinates of a telescope at slot idx. More.Ībort the current slew command of a telescope at slot idx. Slews a telescope at slot idx to the point of the celestial sphere currently in the center of the screen. SlewTelescopeToViewDirection (const int idx) Sync a telescope at slot idx to the selected object. SyncTelescopeWithSelectedObject (const int idx) Slews a telescope at slot idx to the selected object. SlewTelescopeToSelectedObject (const int idx) More.ĭefine font size to use for telescope names display. Get display flag for telescope field of view circles. Set display flag for telescope field of view circles. Get display flag for telescope name labels. Set display flag for telescope name labels. More.ĭefine the possible action for which an order is defined. Public TypesĮnum used when selecting objects to define whether to add to, replace, or remove from the existing selection list. Main class of the Telescope Control plug-in. The actual controlling of a telescope is left to the implementation of the abstract base class TelescopeClient. No esoteric features like motor focus, electric heating and such. "Controlling a telescope" means receiving position information from the telescope and sending GOTO commands to the telescope.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |