protlib::TimerModule Class Reference
[Timer Module]

timer module class More...

#include <source/ariba/utility/transport/tcpip/protlib/timer_module.h>

Inherits protlib::Thread, and protlib::TimerCallback.

Collaboration diagram for protlib::TimerModule:

Collaboration graph
[legend]

List of all members.

Classes

class  TimerMap
 timer map More...

Public Member Functions

virtual void timer_expired (timer_id_t timer, timer_callback_param_t callback_param)
 callback member function
 TimerModule (const TimerModuleParam &p)
 constructor
virtual ~TimerModule ()
 destructor
virtual void main_loop (uint32 nr)
 timer module main loop

Private Member Functions

void process_queue ()
 wait for incoming messages
void process_elapsed_timers ()
 check timers and send messages
bool start_timer (TimerMsg *m)
 start a timer
bool restart_timer (TimerMsg *m)
 restart a timer
bool stop_timer (TimerMsg *m)
 stop a timer
bool stop_all_timers ()
 stop all timers
void send_error_or_dispose (TimerMsg *m, bool ok)
 send back error

Private Attributes

TimerManager tm
 timer module parameters
const TimerModuleParam timerparam
 module parameters
class
protlib::TimerModule::TimerMap 
tmap
 timer map


Detailed Description

timer module class

This is the timer module.

Definition at line 198 of file timer_module.h.


Member Data Documentation

timer module parameters

Definition at line 230 of file timer_module.h.

Referenced by process_elapsed_timers(), restart_timer(), start_timer(), stop_all_timers(), and stop_timer().

timer map

This stores timer IDs and the corresponding message IDs.

Referenced by restart_timer(), start_timer(), stop_all_timers(), stop_timer(), timer_expired(), and TimerModule().


The documentation for this class was generated from the following files:

Generated on Fri Aug 14 23:39:55 2009 for Ariba by  doxygen 1.5.8