sa_sensor_tap_api.h File Reference

Go to the source code of this file.

Defines

#define DECLARE_SENSOR_singletap
#define DECLARE_SENSOR_doubletap   Sensor_tap* iSensor_doubletap
#define SENSOR_DOUBLETAP_DESTROY   delete_Sensor_tap(self->iSensor_doubletap); self->iSensor_doubletap = NULL;
#define SENSOR_DOUBLETAP_CREATE
#define SENSOR_DOUBLETAP_START   sa_typical_qt_sensor_create(self->iSensor_doubletap = new_Sensor_tap(self->ac, true, "doubletap"), "doubletap sensor initialization")
#define SENSOR_DOUBLETAP_STOP   SENSOR_DOUBLETAP_DESTROY
#define SENSOR_DOUBLETAP_IS_RUNNING   (self->iSensor_doubletap != NULL)
#define SENSOR_DOUBLETAP_RECONFIGURE(key, value)   sa_reconfigure_ignore_all_keys

Functions

Sensor_tapnew_Sensor_tap (ac_AppContext *aAppContext, bool aDouble, const char *aName)
void delete_Sensor_tap (Sensor_tap *obj)

Define Documentation

#define DECLARE_SENSOR_doubletap   Sensor_tap* iSensor_doubletap

Definition at line 33 of file sa_sensor_tap_api.h.

#define DECLARE_SENSOR_singletap

Definition at line 29 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_CREATE

Definition at line 35 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_DESTROY   delete_Sensor_tap(self->iSensor_doubletap); self->iSensor_doubletap = NULL;

Definition at line 34 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_IS_RUNNING   (self->iSensor_doubletap != NULL)

Definition at line 38 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_RECONFIGURE ( key,
value   )     sa_reconfigure_ignore_all_keys

Definition at line 39 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_START   sa_typical_qt_sensor_create(self->iSensor_doubletap = new_Sensor_tap(self->ac, true, "doubletap"), "doubletap sensor initialization")

Definition at line 36 of file sa_sensor_tap_api.h.

#define SENSOR_DOUBLETAP_STOP   SENSOR_DOUBLETAP_DESTROY

Definition at line 37 of file sa_sensor_tap_api.h.


Function Documentation

void delete_Sensor_tap ( Sensor_tap obj  ) 

Definition at line 75 of file sa_sensor_tap_qt.cpp.

Sensor_tap* new_Sensor_tap ( ac_AppContext aAppContext,
bool  aDouble,
const char *  aName 
)

Definition at line 69 of file sa_sensor_tap_qt.cpp.

References Sensor_tap::Sensor_tap().


ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:01 2011 by Doxygen 1.6.1