Stellarium 0.14.3
List of all members | Public Member Functions
Lx200Connection Class Reference

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

#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 SerialPort
void prepareSelectFds (fd_set &, fd_set &, int &)
 
- Protected Member Functions inherited from Connection
void performReading (void)
 Receives data from a TCP/IP connection and stores it in the read buffer. More...
 
void performWriting (void)
 Sends the contents of the write buffer over a TCP/IP connection. More...
 
- 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
 

Detailed Description

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

Definition at line 36 of file Lx200Connection.hpp.


The documentation for this class was generated from the following file: