ApparatusFramework::TimerMgr::Timer Struct Reference

#include <PatternServices/current/include/TimerMgr.h>

List of all members.

Public Member Functions

bool operator== (const Timer &lvalue) const
bool operator!= (const Timer &lvalue) const
bool operator< (const Timer &lvalue) const

Public Attributes

TimerId m_timerId
Taskm_task
Timeout m_timeout

Detailed Description

This struct represents the timer objects handled by the manager itself. the timerstruct

Definition at line 235 of file TimerMgr.h.


Member Function Documentation

bool ApparatusFramework::TimerMgr::Timer::operator!= ( const Timer lvalue  )  const

Implements the non equal operator and finds out if the compared timers are two different ones or not

Parameters:
lvalue Address of the timer to to be compared with.
Returns:
returns true if the two compared objects are unequal, false if not
bool ApparatusFramework::TimerMgr::Timer::operator< ( const Timer lvalue  )  const

Implements the smaller than operator for timers and decides which of the two timers has the shorter timeout therefore belonging before the other one in the timer list (used to sort the timers according to there timeout).

Parameters:
lvalue Address of the timer to be compared with.
Returns:
true if this is smaller than the parameter object, false if not
bool ApparatusFramework::TimerMgr::Timer::operator== ( const Timer lvalue  )  const

Operators Implements equal operator and tells you whether the two compared timers are in fact one and the same

Parameters:
lvalue Address of the timer to be compared with.
Returns:
returns true if the two compared objects are equel or false if they are not.

Member Data Documentation

The task, to which a message is sent once the timeout has run out.

Definition at line 243 of file TimerMgr.h.

How long shall it go until the timer fires (in ms) ?

Definition at line 247 of file TimerMgr.h.

timer fields Id to clearly identify the timer for later manipulations.

Definition at line 239 of file TimerMgr.h.

© 2004-2010 bbv Software Services AG / Apparatus Services