Stellarium  26.3
Public Member Functions
Lx200ConnectionImpl< Transport > Class Template Reference

Implements the Meade LX200 command protocol on top of an arbitrary transport (Transport must be a Connection: either SerialPort or TcpConnection). More...

#include <Lx200Connection.hpp>

Public Member Functions

template<class... TransportArgs>
 Lx200ConnectionImpl (Server &server, TransportArgs... transport_args)
 
void sendGoto (unsigned int ra_int, int dec_int) override
 
void sendSync (unsigned int ra_int, int dec_int) override
 
void sendCommand (Lx200Command *command) override
 
void sendAbort () override
 Delete pending commands and send abort signal.
 
bool isClosed (void) const override
 Returns true if the underlying connection is closed.
 
void setTimeBetweenCommands (long long int micro_seconds)
 

Detailed Description

template<class Transport>
class Lx200ConnectionImpl< Transport >

Implements the Meade LX200 command protocol on top of an arbitrary transport (Transport must be a Connection: either SerialPort or TcpConnection).

All the protocol logic lives here and is shared between the serial and the network variants; only the transport differs.