TwiceAsNice  2019-02-18
Public Member Functions | Private Attributes | List of all members
EQModSimulator Class Reference

#include <simulator.h>

Collaboration diagram for EQModSimulator:
Collaboration graph

Public Member Functions

 EQModSimulator (INDI::Telescope *)
 
void Connect ()
 
void receive_cmd (const char *cmd, int *received)
 
void send_reply (char *buf, int *sent)
 
bool initProperties ()
 
bool updateProperties (bool enable)
 
bool ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n)
 
bool ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 
bool ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
 

Private Attributes

INDI::Telescopetelescope = NULL
 
SkywatcherSimulatorsksim = NULL
 
INumberVectorPropertySimWormNP = NULL
 
INumberVectorPropertySimRatioNP = NULL
 
INumberVectorPropertySimMotorNP = NULL
 
ISwitchVectorPropertySimModeSP = NULL
 
ISwitchVectorPropertySimHighSpeedSP = NULL
 
ITextVectorPropertySimMCVersionTP = NULL
 
bool defined =false
 

Constructor & Destructor Documentation

◆ EQModSimulator()

EQModSimulator::EQModSimulator ( INDI::Telescope t)

Member Function Documentation

◆ Connect()

void EQModSimulator::Connect ( )

◆ initProperties()

bool EQModSimulator::initProperties ( )

◆ ISNewNumber()

bool EQModSimulator::ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)

◆ ISNewSwitch()

bool EQModSimulator::ISNewSwitch ( const char *  dev,
const char *  name,
ISState states,
char *  names[],
int  n 
)

◆ ISNewText()

bool EQModSimulator::ISNewText ( const char *  dev,
const char *  name,
char *  texts[],
char *  names[],
int  n 
)

◆ receive_cmd()

void EQModSimulator::receive_cmd ( const char *  cmd,
int *  received 
)

◆ send_reply()

void EQModSimulator::send_reply ( char *  buf,
int *  sent 
)

◆ updateProperties()

bool EQModSimulator::updateProperties ( bool  enable)

Member Data Documentation

◆ defined

bool EQModSimulator::defined =false
private

◆ SimHighSpeedSP

ISwitchVectorProperty* EQModSimulator::SimHighSpeedSP = NULL
private

◆ SimMCVersionTP

ITextVectorProperty* EQModSimulator::SimMCVersionTP = NULL
private

◆ SimModeSP

ISwitchVectorProperty* EQModSimulator::SimModeSP = NULL
private

◆ SimMotorNP

INumberVectorProperty* EQModSimulator::SimMotorNP = NULL
private

◆ SimRatioNP

INumberVectorProperty* EQModSimulator::SimRatioNP = NULL
private

◆ SimWormNP

INumberVectorProperty* EQModSimulator::SimWormNP = NULL
private

◆ sksim

SkywatcherSimulator* EQModSimulator::sksim = NULL
private

◆ telescope

INDI::Telescope* EQModSimulator::telescope = NULL
private

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