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

#include <magellan1.h>

Collaboration diagram for Magellan1:
Collaboration graph

Public Member Functions

 Magellan1 ()
 
virtual ~Magellan1 ()
 
virtual void ISGetProperties (const char *dev)
 
virtual void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n)
 
virtual void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
 
virtual void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 
virtual void ISSnoopDevice (XMLEle *root)
 
virtual void ISPoll ()
 
virtual void getBasicData ()
 
void handleError (ISwitchVectorProperty *svp, int err, const char *msg)
 
void handleError (INumberVectorProperty *nvp, int err, const char *msg)
 
void handleError (ITextVectorProperty *tvp, int err, const char *msg)
 
bool isTelescopeOn ()
 
void connectTelescope ()
 
void setCurrentDeviceName (const char *devName)
 
void correctFault ()
 

Public Attributes

int fd
 

Protected Attributes

int timeFormat
 
int currentSiteNum
 
int trackingMode
 
double JD
 
double lastRA
 
double lastDEC
 
bool fault
 
bool simulation
 
char thisDevice [64]
 
int currentSet
 
int lastSet
 
double targetRA
 
double targetDEC
 

Constructor & Destructor Documentation

◆ Magellan1()

Magellan1::Magellan1 ( )

◆ ~Magellan1()

Magellan1::~Magellan1 ( )
virtual

Member Function Documentation

◆ connectTelescope()

void Magellan1::connectTelescope ( )

◆ correctFault()

void Magellan1::correctFault ( )

◆ getBasicData()

void Magellan1::getBasicData ( )
virtual

◆ handleError() [1/3]

void Magellan1::handleError ( ISwitchVectorProperty svp,
int  err,
const char *  msg 
)

◆ handleError() [2/3]

void Magellan1::handleError ( INumberVectorProperty nvp,
int  err,
const char *  msg 
)

◆ handleError() [3/3]

void Magellan1::handleError ( ITextVectorProperty tvp,
int  err,
const char *  msg 
)

◆ ISGetProperties()

void Magellan1::ISGetProperties ( const char *  dev)
virtual

◆ ISNewNumber()

void Magellan1::ISNewNumber ( const char *  dev,
const char *  name,
double  values[],
char *  names[],
int  n 
)
virtual

◆ ISNewSwitch()

void Magellan1::ISNewSwitch ( const char *  dev,
const char *  name,
ISState states,
char *  names[],
int  n 
)
virtual

◆ ISNewText()

void Magellan1::ISNewText ( const char *  dev,
const char *  name,
char *  texts[],
char *  names[],
int  n 
)
virtual

◆ ISPoll()

void Magellan1::ISPoll ( )
virtual

◆ ISSnoopDevice()

void Magellan1::ISSnoopDevice ( XMLEle root)
virtual

◆ isTelescopeOn()

bool Magellan1::isTelescopeOn ( )

◆ setCurrentDeviceName()

void Magellan1::setCurrentDeviceName ( const char *  devName)

Member Data Documentation

◆ currentSet

int Magellan1::currentSet
protected

◆ currentSiteNum

int Magellan1::currentSiteNum
protected

◆ fault

bool Magellan1::fault
protected

◆ fd

int Magellan1::fd

◆ JD

double Magellan1::JD
protected

◆ lastDEC

double Magellan1::lastDEC
protected

◆ lastRA

double Magellan1::lastRA
protected

◆ lastSet

int Magellan1::lastSet
protected

◆ simulation

bool Magellan1::simulation
protected

◆ targetDEC

double Magellan1::targetDEC
protected

◆ targetRA

double Magellan1::targetRA
protected

◆ thisDevice

char Magellan1::thisDevice[64]
protected

◆ timeFormat

int Magellan1::timeFormat
protected

◆ trackingMode

int Magellan1::trackingMode
protected

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