Stellarium  0.22.2
Public Member Functions | Protected Member Functions | Protected Attributes
Lx200Command Class Referenceabstract

Abstract base class for Meade LX200 (and compatible) commands.

#include <Lx200Command.hpp>

Public Member Functions

virtual bool writeCommandToBuffer (char *&buff, char *end)=0
 
bool hasBeenWrittenToBuffer (void) const
 
virtual int readAnswerFromBuffer (const char *&buff, const char *end)=0
 
virtual bool needsNoAnswer (void) const
 
virtual void print (QTextStream &o) const =0
 
virtual bool isCommandGotoSelected (void) const
 
virtual bool shortAnswerReceived (void) const
 

Protected Member Functions

 Lx200Command (Server &server)
 

Protected Attributes

TelescopeClientDirectLx200server
 
bool has_been_written_to_buffer