GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
sensor_wrap.h File Reference
+ This graph shows which files directly or indirectly include this file:

Macros

#define SENSOR_ACCELEROMETER   0
 
#define SENSOR_GYROSCOPE   1
 
#define SENSOR_MAGNETOMETER   2
 
#define SENSOR_GPS   3
 

Typedefs

typedef void( SensorDataCallback )(void *user, const char *data)
 

Functions

void * SENS_CreateInstance ()
 
int SENS_DestroyInstance (void **inst)
 
int SENS_SetSensorType (void *inst, int type)
 
int SENS_GetCurrentSensorType (void *inst)
 
int SENS_Start (void *inst)
 
int SENS_Stop (void *inst)
 
int SENS_IsStarted (void *inst)
 
int SENS_SetCallback (void *inst, SensorDataCallback *callback, void *user)
 

Macro Definition Documentation

#define SENSOR_ACCELEROMETER   0
#define SENSOR_GYROSCOPE   1
#define SENSOR_MAGNETOMETER   2
#define SENSOR_GPS   3

Typedef Documentation

typedef void( SensorDataCallback)(void *user, const char *data)

Function Documentation

void* SENS_CreateInstance ( )

+ Here is the caller graph for this function:

int SENS_DestroyInstance ( void **  inst)

+ Here is the caller graph for this function:

int SENS_SetSensorType ( void *  inst,
int  type 
)

+ Here is the caller graph for this function:

int SENS_GetCurrentSensorType ( void *  inst)
int SENS_Start ( void *  inst)

+ Here is the caller graph for this function:

int SENS_Stop ( void *  inst)

+ Here is the caller graph for this function:

int SENS_IsStarted ( void *  inst)
int SENS_SetCallback ( void *  inst,
SensorDataCallback callback,
void *  user 
)

+ Here is the caller graph for this function: