libgpac
Documentation of the core library of GPAC
|
Macros | |
#define | SENSOR_ACCELEROMETER 0 |
#define | SENSOR_GYROSCOPE 1 |
#define | SENSOR_ORIENTATION 2 |
#define | SENSOR_MAGNETOMETER 3 |
#define | SENSOR_GPS 4 |
Typedefs | |
typedef void() | SensorDataCallback(int sensor_type, float x, float y, float z, float w) |
Functions | |
void * | sensor_create (int type, SensorDataCallback *callback) |
int | sensor_destroy (void **inst) |
int | sensor_get_type (void *inst) |
int | sensor_start (void *inst) |
int | sensor_stop (void *inst) |
int | sensor_is_running (void *inst) |
#define SENSOR_ACCELEROMETER 0 |
#define SENSOR_GYROSCOPE 1 |
#define SENSOR_ORIENTATION 2 |
#define SENSOR_MAGNETOMETER 3 |
#define SENSOR_GPS 4 |
typedef void() SensorDataCallback(int sensor_type, float x, float y, float z, float w) |
void* sensor_create | ( | int | type, |
SensorDataCallback * | callback | ||
) |
int sensor_destroy | ( | void ** | inst | ) |
int sensor_get_type | ( | void * | inst | ) |
int sensor_start | ( | void * | inst | ) |
int sensor_stop | ( | void * | inst | ) |
int sensor_is_running | ( | void * | inst | ) |