Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

timer_callback Class Reference

implements callback for timer event firing More...

#include <timer.h>

Inheritance diagram for timer_callback:

daemon msg_communicator

List of all members.

Public Member Functions

virtual ~timer_callback ()
 destructor
virtual void notify (size_t ident, size_t interval, size_t multiplier)=0
 periodically notifies user in a separate thread


Detailed Description

implements callback for timer event firing

Definition at line 38 of file timer.h.


Constructor & Destructor Documentation

virtual timer_callback::~timer_callback (  )  [inline, virtual]

destructor

Definition at line 43 of file timer.h.


Member Function Documentation

virtual void timer_callback::notify ( size_t  ident,
size_t  interval,
size_t  multiplier 
) [pure virtual]

periodically notifies user in a separate thread

Parameters:
ident  timer ident
interval  repeatition interval in milliseconds
multiplier  multiplier coefficient for repeatition interval

Implemented in daemon, and msg_communicator.

Referenced by timer::v_do_job().


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


© Copyright Terimber 2003-.