ut_timer.h File Reference

Go to the source code of this file.

Typedefs

typedef struct _ut_Timer ut_Timer
typedef void( ut_TimerCallback )(void *userdata, GError *timerError)

Functions

ut_Timerut_Timer_new (void *userdata, ut_TimerCallback *cb, GError **error)
void ut_Timer_destroy (ut_Timer *self)
gboolean ut_Timer_set_after (ut_Timer *self, int secs, GError **error)
void ut_Timer_cancel (ut_Timer *self)
gboolean ut_Timer_is_active (ut_Timer *self)

Typedef Documentation

typedef struct _ut_Timer ut_Timer

Definition at line 10 of file ut_timer.h.

typedef void( ut_TimerCallback)(void *userdata, GError *timerError)

Definition at line 14 of file ut_timer.h.


Function Documentation

void ut_Timer_cancel ( ut_Timer self  ) 

Definition at line 113 of file ut_timer_epoc.cpp.

Referenced by sa_Sensor_mark_stop(), ut_Timer_destroy(), and ut_Timer_set_after().

void ut_Timer_destroy ( ut_Timer self  ) 

Definition at line 90 of file ut_timer_epoc.cpp.

References ut_Timer_cancel().

Referenced by sa_Sensor_mark_destroy().

gboolean ut_Timer_is_active ( ut_Timer self  ) 

Definition at line 118 of file ut_timer_epoc.cpp.

Referenced by sa_Sensor_mark_is_active(), and ut_Timer_set_after().

ut_Timer* ut_Timer_new ( void *  userdata,
ut_TimerCallback cb,
GError **  error 
)

Definition at line 70 of file ut_timer_epoc.cpp.

References evCallback(), gx_error_no_memory, make_error, and CUtTimer::NewL().

Referenced by sa_Sensor_mark_new().

gboolean ut_Timer_set_after ( ut_Timer self,
int  secs,
GError **  error 
)

Definition at line 98 of file ut_timer_epoc.cpp.

References SecsToUsecs(), setTimer(), ut_Timer_cancel(), and ut_Timer_is_active().

Referenced by setTimer().


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