TwiceAsNice  2019-02-18
Classes | Macros | Typedefs | Enumerations
indiapi.h File Reference
This graph shows which files directly or indirectly include this file:

Classes

struct  IText
 One text descriptor. More...
 
struct  _ITextVectorProperty
 Text vector property descriptor. More...
 
struct  INumber
 One number descriptor. More...
 
struct  _INumberVectorProperty
 Number vector property descriptor. More...
 
struct  ISwitch
 One switch descriptor. More...
 
struct  _ISwitchVectorProperty
 Switch vector property descriptor. More...
 
struct  ILight
 One light descriptor. More...
 
struct  _ILightVectorProperty
 Light vector property descriptor. More...
 
struct  IBLOB
 One Blob (Binary Large Object) descriptor. More...
 
struct  _IBLOBVectorProperty
 BLOB (Binary Large Object) vector property descriptor. More...
 

Macros

#define INDIV   1.7
 
#define INDI_VERSION_MAJOR   1
 
#define INDI_VERSION_MINOR   7
 
#define INDI_VERSION_RELEASE   4
 
#define MAXINDINAME   64
 
#define MAXINDILABEL   64
 
#define MAXINDIDEVICE   64
 
#define MAXINDIGROUP   64
 
#define MAXINDIFORMAT   64
 
#define MAXINDIBLOBFMT   64
 
#define MAXINDITSTAMP   64
 
#define MAXINDIMESSAGE   255
 
#define NARRAY(a)   (sizeof(a) / sizeof(a[0]))
 Handy macro to find the number of elements in array a[]. More...
 

Typedefs

typedef struct _ITextVectorProperty ITextVectorProperty
 
typedef struct _INumberVectorProperty INumberVectorProperty
 
typedef struct _ISwitchVectorProperty ISwitchVectorProperty
 
typedef struct _ILightVectorProperty ILightVectorProperty
 
typedef struct _IBLOBVectorProperty IBLOBVectorProperty
 

Enumerations

enum  ISState { ISS_OFF = 0, ISS_ON, ISS_OFF = 0, ISS_ON }
 Switch state. More...
 
enum  IPState {
  IPS_IDLE = 0, IPS_OK, IPS_BUSY, IPS_ALERT,
  IPS_IDLE = 0, IPS_OK, IPS_BUSY, IPS_ALERT
}
 Property state. More...
 
enum  ISRule {
  ISR_1OFMANY, ISR_ATMOST1, ISR_NOFMANY, ISR_1OFMANY,
  ISR_ATMOST1, ISR_NOFMANY
}
 Switch vector rule hint. More...
 
enum  IPerm {
  IP_RO, IP_WO, IP_RW, IP_RO,
  IP_WO, IP_RW
}
 Permission hint, with respect to client. More...
 

Macro Definition Documentation

◆ INDI_VERSION_MAJOR

#define INDI_VERSION_MAJOR   1

◆ INDI_VERSION_MINOR

#define INDI_VERSION_MINOR   7

◆ INDI_VERSION_RELEASE

#define INDI_VERSION_RELEASE   4

◆ INDIV

#define INDIV   1.7

◆ MAXINDIBLOBFMT

#define MAXINDIBLOBFMT   64

◆ MAXINDIDEVICE

#define MAXINDIDEVICE   64

◆ MAXINDIFORMAT

#define MAXINDIFORMAT   64

◆ MAXINDIGROUP

#define MAXINDIGROUP   64

◆ MAXINDILABEL

#define MAXINDILABEL   64

◆ MAXINDIMESSAGE

#define MAXINDIMESSAGE   255

◆ MAXINDINAME

#define MAXINDINAME   64

◆ MAXINDITSTAMP

#define MAXINDITSTAMP   64

◆ NARRAY

#define NARRAY (   a)    (sizeof(a) / sizeof(a[0]))

Handy macro to find the number of elements in array a[].

Must be used with actual array, not pointer.

Typedef Documentation

◆ IBLOBVectorProperty

◆ ILightVectorProperty

◆ INumberVectorProperty

◆ ISwitchVectorProperty

◆ ITextVectorProperty

Enumeration Type Documentation

◆ IPerm

enum IPerm

Permission hint, with respect to client.

Enumerator
IP_RO 

Read Only

IP_WO 

Write Only

IP_RW 

Read & Write

IP_RO 

Read Only

IP_WO 

Write Only

IP_RW 

Read & Write

◆ IPState

enum IPState

Property state.

Enumerator
IPS_IDLE 

State is idle

IPS_OK 

State is ok

IPS_BUSY 

State is busy

IPS_ALERT 

State is alert

IPS_IDLE 

State is idle

IPS_OK 

State is ok

IPS_BUSY 

State is busy

IPS_ALERT 

State is alert

◆ ISRule

enum ISRule

Switch vector rule hint.

Enumerator
ISR_1OFMANY 

Only 1 switch of many can be ON (e.g. radio buttons)

ISR_ATMOST1 

At most one switch can be ON, but all switches can be off. It is similar to ISR_1OFMANY with the exception that all switches can be off.

ISR_NOFMANY 

Any number of switches can be ON (e.g. check boxes)

ISR_1OFMANY 

Only 1 switch of many can be ON (e.g. radio buttons)

ISR_ATMOST1 

At most one switch can be ON, but all switches can be off. It is similar to ISR_1OFMANY with the exception that all switches can be off.

ISR_NOFMANY 

Any number of switches can be ON (e.g. check boxes)

◆ ISState

enum ISState

Switch state.

Enumerator
ISS_OFF 

Switch is OFF

ISS_ON 

Switch is ON

ISS_OFF 

Switch is OFF

ISS_ON 

Switch is ON