sa_sensor_mark.c File Reference

Go to the source code of this file.

Classes

struct  _sa_Sensor_mark

Functions

static void timerCallback (void *userdata, GError *timerError)
static gboolean setTimer (sa_Sensor_mark *self, GError **error)
EXTERN_C sa_Sensor_marksa_Sensor_mark_new (LogDb *log, GError **error)
EXTERN_C void sa_Sensor_mark_destroy (sa_Sensor_mark *self)
EXTERN_C gboolean sa_Sensor_mark_start (sa_Sensor_mark *self, GError **error)
EXTERN_C void sa_Sensor_mark_stop (sa_Sensor_mark *self)
EXTERN_C gboolean sa_Sensor_mark_is_active (sa_Sensor_mark *self)

Function Documentation

EXTERN_C void sa_Sensor_mark_destroy ( sa_Sensor_mark self  ) 

Definition at line 79 of file sa_sensor_mark.c.

References sa_Sensor_mark_stop(), and ut_Timer_destroy().

Referenced by sa_Sensor_mark_new().

EXTERN_C gboolean sa_Sensor_mark_is_active ( sa_Sensor_mark self  ) 

Definition at line 112 of file sa_sensor_mark.c.

References ut_Timer_is_active().

Referenced by sa_Sensor_mark_start(), and sa_Sensor_mark_stop().

EXTERN_C sa_Sensor_mark* sa_Sensor_mark_new ( LogDb log,
GError **  error 
)
EXTERN_C gboolean sa_Sensor_mark_start ( sa_Sensor_mark self,
GError **  error 
)

Definition at line 90 of file sa_sensor_mark.c.

References log_db_log_mark(), sa_Sensor_mark_is_active(), and setTimer().

EXTERN_C void sa_Sensor_mark_stop ( sa_Sensor_mark self  ) 
static gboolean setTimer ( sa_Sensor_mark self,
GError **  error 
) [static]

Definition at line 27 of file sa_sensor_mark.c.

References ut_Timer_set_after().

Referenced by sa_Sensor_mark_start(), and timerCallback().

static void timerCallback ( void *  userdata,
GError *  timerError 
) [static]

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