Instrument Neutral Distributed Interface INDI  1.9.5
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Aux::Communicator Class Reference

The Communicator class handles high-level communication with the Celestron devices. More...

#include <celestronauxpacket.h>

Public Member Functions

 Communicator ()
 
 Communicator (Target source)
 
bool sendCommand (int port, Target dest, Command cmd, buffer data, buffer &reply)
 
bool sendCommand (int port, Target dest, Command cmd, buffer &reply)
 
bool commandBlind (int port, Target dest, Command cmd, buffer data)
 

Static Public Member Functions

static void setDeviceName (const std::string &device)
 

Public Attributes

Target source
 

Static Public Attributes

static std::string Device
 

Detailed Description

The Communicator class handles high-level communication with the Celestron devices.

Definition at line 131 of file celestronauxpacket.h.

Constructor & Destructor Documentation

◆ Communicator() [1/2]

Aux::Communicator::Communicator ( )

Definition at line 131 of file celestronauxpacket.cpp.

◆ Communicator() [2/2]

Aux::Communicator::Communicator ( Target  source)

Definition at line 136 of file celestronauxpacket.cpp.

Member Function Documentation

◆ commandBlind()

bool Aux::Communicator::commandBlind ( int  port,
Target  dest,
Command  cmd,
buffer  data 
)

Definition at line 244 of file celestronauxpacket.cpp.

◆ sendCommand() [1/2]

bool Aux::Communicator::sendCommand ( int  port,
Target  dest,
Command  cmd,
buffer reply 
)

Definition at line 237 of file celestronauxpacket.cpp.

◆ sendCommand() [2/2]

bool Aux::Communicator::sendCommand ( int  port,
Target  dest,
Command  cmd,
buffer  data,
buffer reply 
)

Definition at line 209 of file celestronauxpacket.cpp.

◆ setDeviceName()

static void Aux::Communicator::setDeviceName ( const std::string &  device)
inlinestatic

Definition at line 146 of file celestronauxpacket.h.

Member Data Documentation

◆ Device

std::string Aux::Communicator::Device
static

Definition at line 145 of file celestronauxpacket.h.

◆ source

Target Aux::Communicator::source

Definition at line 143 of file celestronauxpacket.h.


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