Auxiliary and miscellaneous functions/macros
[Port Access, Device Initialization]


Defines

#define SET_FLOAT(v, f)   v.type = PF_FLOAT; v.value.f = f
#define SET_INT(v, i)   v.type = PF_INT; v.value.f = i
#define SET_STRING(v, s, l)

Typedefs

typedef int( PropCallback )(TOKEN t)

Detailed Description

Auxiliary functions for handling & reporting errors.

Define Documentation

#define SET_FLOAT ( v,
 )     v.type = PF_FLOAT; v.value.f = f

Initialize float PFValue

#define SET_INT ( v,
 )     v.type = PF_INT; v.value.f = i

Initialize integer PFValue

#define SET_STRING ( v,
s,
 ) 

Value:

v.type = PF_STRING; v.value.p = (void *) s; \
                              v.len = l;
Initialize string PFValue


Typedef Documentation

typedef int( PropCallback)(TOKEN t)

Property callback function for recursive node walker. See source code for detailed information.

Parameters:
t The current node token
Returns:
1: success, continue walking 0: quit walking.


Generated on Mon Aug 9 15:37:46 2010 for PhotonFocusCameraControlLibrary by  doxygen 1.5.8