TwiceAsNice  2019-02-18
Functions
dome.cpp File Reference

Construct a dome device that the user may operate to open or close the dome shutter door. More...

#include "dome.h"
#include <memory>
#include <cstring>
#include <unistd.h>
Include dependency graph for dome.cpp:

Functions

std::unique_ptr< Domedome (new Dome())
 
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...
 

Detailed Description

Construct a dome device that the user may operate to open or close the dome shutter door.

This driver is snooping on the Rain Detector rain property status. If rain property state is alert, we close the dome shutter door if it is open, and we prevent the user from opening it until the rain threat passes.

Author
Jasem Mutlaq

Function Documentation

◆ dome()

std::unique_ptr<Dome> dome ( new   Dome())

◆ ISNewNumber()

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