TwiceAsNice  2019-02-18
Macros | Functions
agent_imager.cpp File Reference
#include "agent_imager.h"
#include "indistandardproperty.h"
#include <cstring>
#include <algorithm>
#include <memory>
#include "group.h"
Include dependency graph for agent_imager.cpp:

Macros

#define DOWNLOAD_TAB   "Download images"
 
#define IMAGE_NAME   "%s/%s_%d_%03d%s"
 
#define IMAGE_PREFIX   "_TMP_"
 
#define GROUP_PREFIX   "GROUP_"
 
#define GROUP_PREFIX_LEN   6
 

Functions

std::shared_ptr< Imagerimager (new Imager())
 
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

◆ DOWNLOAD_TAB

#define DOWNLOAD_TAB   "Download images"

◆ GROUP_PREFIX

#define GROUP_PREFIX   "GROUP_"

◆ GROUP_PREFIX_LEN

#define GROUP_PREFIX_LEN   6

◆ IMAGE_NAME

#define IMAGE_NAME   "%s/%s_%d_%03d%s"

◆ IMAGE_PREFIX

#define IMAGE_PREFIX   "_TMP_"

Function Documentation

◆ imager()

std::shared_ptr<Imager> imager ( new   Imager())

◆ ISNewNumber()

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