freesecs::ms_timer_t Class Reference

Timer implementation Implementation is based on: More...

#include <timer.h>

Collaboration diagram for freesecs::ms_timer_t:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ms_timer_t ()
 timer ctor Throws an exception if timer creation unsuccessfull
 ~ms_timer_t ()
int start (unsigned long timeout_ms)
 starts a timer
int stop ()
 stops a timer
template<class T>
void add_handler (T *p_class, int(T::*p_func)())
 adds a handler for timer event processing

Detailed Description

Timer implementation Implementation is based on:

See also:
async_reception_t

Definition at line 39 of file timer.h.


Member Function Documentation

int ms_timer_t::start ( unsigned long  timeout_ms  ) 

starts a timer

Parameters:
timeout_ms Timeout in milliseconds
Returns:
errorcode according to errno specification

Definition at line 105 of file timer.cpp.

References freesecs::async_reception_t::start_recv().

Referenced by freesecs::active_hsms_sm_t::z0_0(), freesecs::active_hsms_sm_t::z10(), freesecs::passive_hsms_sm_t::z10(), freesecs::active_hsms_sm_t::z14(), freesecs::active_hsms_sm_t::z1_0(), freesecs::passive_hsms_sm_t::z1_0(), freesecs::active_hsms_sm_t::z2_0(), freesecs::passive_hsms_sm_t::z2_0(), freesecs::active_hsms_sm_t::z5(), freesecs::active_hsms_sm_t::z7(), and freesecs::passive_hsms_sm_t::z7().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Fri Oct 3 15:30:10 2008 for FREESECS hsms by  doxygen 1.5.1