![]() MatchObjectName (const QString &objName, const QString &objPrefix, bool useStartOfWords) constĪuxiliary method of listMatchingObjects() More. ListAllObjectsByType (const QString &objType, bool inEnglish) const Public Member Functions inherited from StelObjectModule SetServerExecutablesDirectoryPath (const QString &newPath) Returns a list of the currently connected clients.įorces a call of loadDeviceModels(). if there's an active telescope at that slot.Ĭhecks if the TelescopeClient object at a given slot is connected to a server. Stops all telescopes, but without removing them like deleteAllTelescopes().Ĭhecks if there's a TelescopeClient object at a given slot, i.e. Destroys the TelescopeClient object and terminates the server process if necessary. Creates a TelescopeClient object and starts a server process if necessary. Starts a telescope at the given slot, getting its description with getTelescopeAtSlot(). Returns empty serverName and portSerial if the description contains no server. 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) If there are already any initialized telescope clients, they are removed.Ī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)Ī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, int maxNbItem=5, bool useStartOfWords=false, bool inEnglish=false) constį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. Return the matching StelObject if exists or the empty StelObject if not found. SearchByNameI18n (const QString &nameI18n) const Search for StelObject in an area around a specifid point. SearchAround (const Vec3d &v, double limitFov, const StelCore *core) const 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 More.Įxecute all the drawing functions for this module. Update the module with respect to the time. More.Ĭalled before the module will be delete, and before the openGL context is suppressed. Slews a telescope at slot idx to the point of the celestial sphere currently in the center of the screen. SlewTelescopeToViewDirection (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. 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. Main class of the Telescope Control plug-in. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |