Timer Class Reference

#include <Timer.h>

List of all members.

Public Types

typedef void(* TIMER_CALLBACK )(void *userdata)

Public Member Functions

 Timer ()
 ~Timer ()
bool start (unsigned int _secs, TIMER_CALLBACK _callfunc, void *_userdata)
bool stop ()

Private Attributes

void * userdata
TIMER_CALLBACK callfunc
unsigned int secs
volatile bool running


Member Typedef Documentation

typedef void(* Timer::TIMER_CALLBACK)(void *userdata)


Constructor & Destructor Documentation

Timer::Timer (  ) 

Timer::~Timer (  ) 


Member Function Documentation

bool Timer::start ( unsigned int  _secs,
TIMER_CALLBACK  _callfunc,
void *  _userdata 
)

bool Timer::stop (  ) 


Member Data Documentation

void* Timer::userdata [private]

unsigned int Timer::secs [private]

volatile bool Timer::running [private]


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

Generated on Wed Jun 18 09:40:47 2008 for pktanon by  doxygen 1.5.5