TelescopeClientDirectLx200.hpp   TelescopeClientDirectLx200.hpp 
skipping to change at line 48 skipping to change at line 48
#include "TelescopeClient.hpp" //from the plug-in's source tree #include "TelescopeClient.hpp" //from the plug-in's source tree
class Lx200Connection; class Lx200Connection;
//! Telescope client that connects directly to a Meade LX200 through a seri al port. //! Telescope client that connects directly to a Meade LX200 through a seri al port.
//! This class has been created by merging the code of TelescopeTCP and Ser verLx200. //! This class has been created by merging the code of TelescopeTCP and Ser verLx200.
class TelescopeClientDirectLx200 : public TelescopeClient, public Server class TelescopeClientDirectLx200 : public TelescopeClient, public Server
{ {
Q_OBJECT Q_OBJECT
public: public:
TelescopeClientDirectLx200(const QString &name, const QString &param eters); TelescopeClientDirectLx200(const QString &name, const QString &param eters, Equinox eq = EquinoxJ2000);
~TelescopeClientDirectLx200(void) ~TelescopeClientDirectLx200(void)
{ {
//hangup(); //hangup();
} }
//================================================================== ==== //================================================================== ====
// Methods inherited from TelescopeClient // Methods inherited from TelescopeClient
bool isConnected(void) const; bool isConnected(void) const;
//================================================================== ==== //================================================================== ====
skipping to change at line 83 skipping to change at line 83
bool isInitialized(void) const; bool isInitialized(void) const;
//================================================================== ==== //================================================================== ====
// Methods inherited from Server // Methods inherited from Server
void sendPosition(unsigned int ra_int, int dec_int, int status); void sendPosition(unsigned int ra_int, int dec_int, int status);
//TODO: Find out if this method is needed. It's called by Connection . //TODO: Find out if this method is needed. It's called by Connection .
void gotoReceived(unsigned int ra_int, int dec_int); void gotoReceived(unsigned int ra_int, int dec_int);
private: private:
void hangup(void); void hangup(void);
void resetPositions(void);
int time_delay; int time_delay;
Position positions[16]; InterpolatedPosition interpolatedPosition;
Position *position_pointer;
Position *const end_position;
virtual bool hasKnownPosition(void) const virtual bool hasKnownPosition(void) const
{ {
return (position_pointer->client_micros != 0x7FFFFFFFFFFFFFF FLL); return interpolatedPosition.isKnown();
} }
Equinox equinox;
//================================================================== ==== //================================================================== ====
// Members inherited from ServerLx200 // Members inherited from ServerLx200
Lx200Connection *lx200; Lx200Connection *lx200;
bool long_format_used; bool long_format_used;
bool answers_received; bool answers_received;
unsigned int last_ra; unsigned int last_ra;
bool queue_get_position; bool queue_get_position;
long long int next_pos_time; long long int next_pos_time;
}; };
 End of changes. 5 change blocks. 
6 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/