TwiceAsNice  2019-02-18
Macros | Functions
nightcrawler.cpp File Reference
#include "nightcrawler.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <cmath>
#include <cstring>
#include <memory>
#include <termios.h>
Include dependency graph for nightcrawler.cpp:

Macros

#define NIGHTCRAWLER_TIMEOUT   3
 
#define NIGHTCRAWLER_THRESHOLD   0.1
 
#define NC_25_STEPS   374920
 
#define NC_30_STEPS   444080
 
#define NC_35_STEPS   505960
 
#define ROTATOR_TAB   "Rotator"
 
#define AUX_TAB   "Aux"
 
#define SETTINGS_TAB   "Settings"
 

Functions

std::unique_ptr< NightCrawlertommyGoodBoy (new NightCrawler())
 
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

◆ AUX_TAB

#define AUX_TAB   "Aux"

◆ NC_25_STEPS

#define NC_25_STEPS   374920

◆ NC_30_STEPS

#define NC_30_STEPS   444080

◆ NC_35_STEPS

#define NC_35_STEPS   505960

◆ NIGHTCRAWLER_THRESHOLD

#define NIGHTCRAWLER_THRESHOLD   0.1

◆ NIGHTCRAWLER_TIMEOUT

#define NIGHTCRAWLER_TIMEOUT   3

◆ ROTATOR_TAB

#define ROTATOR_TAB   "Rotator"

◆ SETTINGS_TAB

#define SETTINGS_TAB   "Settings"

Function Documentation

◆ ISNewNumber()

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

◆ tommyGoodBoy()

std::unique_ptr<NightCrawler> tommyGoodBoy ( new   NightCrawler())