#include <lugre_timer.h>
Public Member Functions | |
| cTimerRegistration (cListener *pListener, void *iUserData, const size_t iTime, const size_t iInterval=0, const size_t iFrameInterval=0) | |
| bool | Trigger (const size_t iCurTime, const size_t iEvent) |
| returns false if this registration should be removed | |
| void | Cancel () |
Public Attributes | |
| size_t | miTime |
| size_t | miInterval |
| size_t | miFrameInterval |
| =0 for timeouts and frameintervals | |
| size_t | miIntervalCount |
| =0 for timeouts and intervals | |
| cSmartPtr< cListener > | mpListener |
| incremented by one on each hit | |
| void * | miUserData |
| bool | mbIsAlive |
Definition at line 66 of file lugre_timer.h.
| Lugre::cTimer::cTimerRegistration::cTimerRegistration | ( | cListener * | pListener, | |
| void * | iUserData, | |||
| const size_t | iTime, | |||
| const size_t | iInterval = 0, |
|||
| const size_t | iFrameInterval = 0 | |||
| ) | [inline] |
Definition at line 75 of file lugre_timer.h.
| bool Lugre::cTimer::cTimerRegistration::Trigger | ( | const size_t | iCurTime, | |
| const size_t | iEvent | |||
| ) |
returns false if this registration should be removed
Definition at line 97 of file lugre_timer.cpp.
References mbIsAlive, miFrameInterval, miInterval, miIntervalCount, miTime, miUserData, mpListener, and PROFILE.
Referenced by Lugre::cTimer::StartFrame().
| void Lugre::cTimer::cTimerRegistration::Cancel | ( | ) | [inline] |
Definition at line 67 of file lugre_timer.h.
Referenced by Lugre::cTimer::cTimerRegistrationCompare::operator()(), Lugre::cTimer::StartFrame(), and Trigger().
=0 for timeouts and frameintervals
Definition at line 69 of file lugre_timer.h.
Referenced by Trigger().
incremented by one on each hit
Definition at line 71 of file lugre_timer.h.
Referenced by Trigger().
1.5.6