TwiceAsNice  2019-02-18
Macros | Functions
arm_plat_focuser_common.cpp File Reference
#include "arm_plat_focuser_common.h"
#include "indicom.h"
#include "connectionplugins/connectionserial.h"
#include <cmath>
#include <cstring>
#include <memory>
#include <termios.h>
#include <unistd.h>
Include dependency graph for arm_plat_focuser_common.cpp:
This graph shows which files directly or indirectly include this file:

Macros

#define CONTROLLER_NAME   "Platypus"
 
#define ArmPlat_TIMEOUT   2
 
#define FOCUS_SETTINGS_TAB   "Settings"
 
#define SLP_SEND_BUF_SIZE   80
 
#define OPERATIVES   2
 
#define MODELS   4
 

Functions

std::unique_ptr< ArmPlatarmplat (new ArmPlat())
 
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

◆ ArmPlat_TIMEOUT

#define ArmPlat_TIMEOUT   2

◆ CONTROLLER_NAME

#define CONTROLLER_NAME   "Platypus"

◆ FOCUS_SETTINGS_TAB

#define FOCUS_SETTINGS_TAB   "Settings"

◆ MODELS

#define MODELS   4

◆ OPERATIVES

#define OPERATIVES   2

◆ SLP_SEND_BUF_SIZE

#define SLP_SEND_BUF_SIZE   80

Function Documentation

◆ armplat()

std::unique_ptr<ArmPlat> armplat ( new   ArmPlat())

◆ ISNewNumber()

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