Guiliani  Version 2.5 revision 7293 (documentation build 13)
CTimerCallback Struct Reference

Structure to hold timer information. More...

#include <GUITimer.h>

Public Member Functions

 CTimerCallback ()
 
eC_Bool operator!= (const CTimerCallback &T) const
 
eC_Bool operator== (const CTimerCallback &T) const
 
eC_Bool operator> (const CTimerCallback &T) const
 

Public Attributes

CGUIAnimatablem_pAnimatable
 The animatable whose DoAnimate method has to be called.
 
eC_UInt m_uiDuration
 
eC_UInt m_uiOldTime
 
eC_UInt m_uiRestTime
 The temporary time used to calculate the time left after each call of CGUITimer::Process() in milliseconds. More...
 

Detailed Description

Structure to hold timer information.

Constructor & Destructor Documentation

◆ CTimerCallback()

CTimerCallback::CTimerCallback ( )
inline

Constructor.

Member Function Documentation

◆ operator!=()

eC_Bool CTimerCallback::operator!= ( const CTimerCallback T) const
inline

comparison operator "not equal to"

Parameters
T
Returns
true if not equal

◆ operator==()

eC_Bool CTimerCallback::operator== ( const CTimerCallback T) const
inline

comparison operator "equal to"

Parameters
T
Returns
true if equal

◆ operator>()

eC_Bool CTimerCallback::operator> ( const CTimerCallback T) const
inline

comparison operator "larger than"

Parameters
T
Returns
true if greater

Member Data Documentation

◆ m_uiDuration

eC_UInt CTimerCallback::m_uiDuration

The time set by CGUITimer::AddAnimationCallback() in milliseconds. It will not be changed unless the user changes it.

◆ m_uiOldTime

eC_UInt CTimerCallback::m_uiOldTime

The time in milliseconds that is obtained in the last call to Process() or as this callback added to the list.

◆ m_uiRestTime

eC_UInt CTimerCallback::m_uiRestTime

The temporary time used to calculate the time left after each call of CGUITimer::Process() in milliseconds.

If it is less than the ElapsedTime, it is reset to the uiStartTime, and the associated animatable's DoAnimate() method is called.


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