TwiceAsNice  2019-02-18
Macros | Functions | Variables
ieq45.cpp File Reference
#include "ieq45.h"
#include "config.h"
#include "ieq45driver.h"
#include "indicom.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <unistd.h>
#include <memory>
Include dependency graph for ieq45.cpp:

Macros

#define currentRA   EquatorialCoordsRN[0].value
 
#define currentDEC   EquatorialCoordsRN[1].value
 

Functions

std::unique_ptr< IEQ45Basictelescope (new IEQ45Basic())
 
static void ISPoll (void *)
 
static void retry_connection (void *)
 
void ISInit ()
 Send client definitions of all properties. More...
 
void ISGetProperties (const char *dev)
 Get Device Properties. More...
 
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int n)
 Update the value of an existing switch vector property. More...
 
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int n)
 Update the value of an existing text vector property. More...
 
void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int n)
 
void ISNewBLOB (const char *dev, const char *name, int sizes[], int blobsizes[], char *blobs[], char *formats[], char *names[], int n)
 Update data of an existing blob vector property. More...
 
void ISSnoopDevice (XMLEle *root)
 Function defined by Drivers that is called when another Driver it is snooping (by having previously called IDSnoopDevice()) sent any INDI message. More...
 

Variables

const int POLLMS = 100
 
const char * mydev = "IEQ45"
 
const char * BASIC_GROUP = "Main Control"
 
const char * OPTIONS_GROUP = "Options"
 

Macro Definition Documentation

◆ currentDEC

#define currentDEC   EquatorialCoordsRN[1].value

◆ currentRA

#define currentRA   EquatorialCoordsRN[0].value

Function Documentation

◆ ISInit()

void ISInit ( void  )

Send client definitions of all properties.

◆ ISNewNumber()

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

◆ ISPoll()

static void ISPoll ( void *  p)
static

◆ retry_connection()

static void retry_connection ( void *  p)
static

◆ telescope()

std::unique_ptr<IEQ45Basic> telescope ( new   IEQ45Basic())

Variable Documentation

◆ BASIC_GROUP

const char* BASIC_GROUP = "Main Control"

◆ mydev

const char* mydev = "IEQ45"

◆ OPTIONS_GROUP

const char* OPTIONS_GROUP = "Options"

◆ POLLMS

const int POLLMS = 100