MagAO-X
Operations Applications Utilities Source
indiMacros.hpp File Reference

Macros for INDI. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SET_INDI_NEWCALLBACK(class, prop)
 Declare and define the static callback for a new property request. More...
 
#define SET_INDI_SETCALLBACK(class, prop)
 Declare and define the static callback for a set property request. More...
 
#define INDI_NEWCALLBACK_DECL(class, prop)
 Declare the callback for a new property request, and declare and define the static wrapper. More...
 
#define INDI_SETCALLBACK_DECL(class, prop)
 Declare the callback for a set property request, and declare and define the static wrapper. More...
 
#define INDI_NEWCALLBACK_DEFN(class, prop)   int class::newCallBack_ ## prop
 Define the callback for a new property request. More...
 
#define INDI_SETCALLBACK_DEFN(class, prop)   int class::setCallBack_ ## prop
 Define the callback for a set property request. More...
 
#define INDI_NEWCALLBACK(prop)   st_newCallBack_ ## prop
 Get the name of the static callback wrapper for a new property. More...
 
#define INDI_SETCALLBACK(prop)   st_setCallBack_ ## prop
 Get the name of the static callback wrapper for a set property. More...
 
#define REG_INDI_NEWPROP(prop, propName, type)   registerIndiPropertyNew( prop, propName, type, pcf::IndiProperty::ReadWrite, pcf::IndiProperty::Idle, INDI_NEWCALLBACK(prop));
 Register a NEW INDI property with the class, using the standard callback name. More...
 
#define REG_INDI_NEWPROP_NOCB(prop, propName, type)   registerIndiPropertyNew( prop, propName, type, pcf::IndiProperty::ReadOnly, pcf::IndiProperty::Idle, 0);
 Register a NEW INDI property with the class, with no callback. More...
 
#define REG_INDI_SETPROP(prop, devName, propName)   registerIndiPropertySet( prop,devName, propName, INDI_SETCALLBACK(prop));
 Register a SET INDI property with the class, using the standard callback name. More...
 

Detailed Description

Macros for INDI.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

History:

  • 2018-05-27 created by JRM

Definition in file indiMacros.hpp.