TwiceAsNice  2019-02-18
Macros | Functions
nightscape.cpp File Reference
#include "nightscape.h"
#include <memory>
#include <unistd.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <stdlib.h>
#include <math.h>
Include dependency graph for nightscape.cpp:

Macros

#define ___secure_getenv   secure_getenv
 
#define currentCCDTemperature   TemperatureN[0].value
 

Functions

static std::unique_ptr< NightscapeCCDnightscapeCCD (new NightscapeCCD())
 
static int drop_root_privileges (void)
 
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...
 

Macro Definition Documentation

◆ ___secure_getenv

#define ___secure_getenv   secure_getenv

◆ currentCCDTemperature

#define currentCCDTemperature   TemperatureN[0].value

Function Documentation

◆ drop_root_privileges()

static int drop_root_privileges ( void  )
static

◆ ISNewNumber()

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

◆ nightscapeCCD()

static std::unique_ptr<NightscapeCCD> nightscapeCCD ( new   NightscapeCCD())
static