Stellarium  0.17.0
Public Member Functions | Protected Member Functions | Protected Attributes
NexStarCommand Class Referenceabstract

Abstract base class for Celestron NexStar (and compatible) commands.

#include <NexStarCommand.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) const =0
 
virtual bool needsNoAnswer (void) const
 
virtual void print (QTextStream &o) const =0
 

Protected Member Functions

 NexStarCommand (Server &server)
 

Protected Attributes

TelescopeClientDirectNexStarserver
 
bool has_been_written_to_buffer