Stellarium  0.17.0
Public Member Functions
Lx200Connection Class Reference

Serial port connection to a Meade LX200 or a compatible telescope.

#include <Lx200Connection.hpp>

Public Member Functions

 Lx200Connection (Server &server, const char *serial_device)
 
void sendGoto (unsigned int ra_int, int dec_int)
 
void sendCommand (Lx200Command *command)
 
void setTimeBetweenCommands (long long int micro_seconds)
 
- Public Member Functions inherited from SerialPort
 SerialPort (Server &server, const char *serial_device)
 Class constructor. More...
 
virtual bool isClosed (void) const
 Returns true if the connection is closed. More...
 
- Public Member Functions inherited from Connection
 Connection (Server &server, SOCKET fd)
 
long long int getServerMinusClientTime (void) const
 
- Public Member Functions inherited from Socket
void hangup ()
 

Additional Inherited Members

- Protected Member Functions inherited from Connection
void performReading (void)
 Receives data from a TCP/IP connection and stores it in the read buffer.
 
void performWriting (void)
 Sends the contents of the write buffer over a TCP/IP connection.
 
- Protected Member Functions inherited from Socket
 Socket (Server &server, SOCKET fd)
 
int readNonblocking (void *buf, int count)
 
int writeNonblocking (const void *buf, int count)
 
- Protected Attributes inherited from Connection
char read_buff [120]
 
char * read_buff_end
 
char write_buff [120]
 
char * write_buff_end
 
- Protected Attributes inherited from Socket
Serverserver
 
SOCKET fd