TwiceAsNice  2019-02-18
Macros | Functions
nex_dome.cpp File Reference
#include "nex_dome.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
#include <memory>
#include <indicom.h>
#include <connectionplugins/connectionserial.h>
Include dependency graph for nex_dome.cpp:

Macros

#define DOME_SPEED   2.0 /* 2 degrees per second, constant */
 
#define SHUTTER_TIMER   5.0 /* Shutter closes/open in 5 seconds */
 

Functions

std::unique_ptr< NexDomenexDome (new NexDome())
 
void ISPoll (void *p)
 Used to read periodically the data from the device. More...
 
void ISGetProperties (const char *dev)
 Get Device Properties. More...
 
void ISNewSwitch (const char *dev, const char *name, ISState *states, char *names[], int num)
 Update the value of an existing switch vector property. More...
 
void ISNewText (const char *dev, const char *name, char *texts[], char *names[], int num)
 Update the value of an existing text vector property. More...
 
void ISNewNumber (const char *dev, const char *name, double values[], char *names[], int num)
 
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...
 

Macro Definition Documentation

◆ DOME_SPEED

#define DOME_SPEED   2.0 /* 2 degrees per second, constant */

◆ SHUTTER_TIMER

#define SHUTTER_TIMER   5.0 /* Shutter closes/open in 5 seconds */

Function Documentation

◆ ISNewNumber()

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

◆ ISPoll()

void ISPoll ( void *  p)

Used to read periodically the data from the device.

Parameters
pthe AAGCloudWatcher object

◆ nexDome()

std::unique_ptr<NexDome> nexDome ( new   NexDome())