Annwvyn::AnnTimer Class Reference

Internal utility class that represent a timer. More...

#include <AnnEvents.hpp>

Public Member Functions

AnnTimerID getID () const
 

Private Member Functions

 AnnTimer (AnnTimerID id, double delay)
 Timer object for the EventMAnager. More...
 
bool isTimeout () const
 If timeout. More...
 

Private Attributes

AnnTimerID tID
 Timeout ID. More...
 
double timeoutTime
 Time of timeout. More...
 

Friends

class AnnEventManager
 

Detailed Description

Internal utility class that represent a timer.

Definition at line 426 of file AnnEvents.hpp.

Constructor & Destructor Documentation

◆ AnnTimer()

AnnTimer::AnnTimer ( AnnTimerID  id,
double  delay 
)
private

Timer object for the EventMAnager.

Definition at line 471 of file AnnEvents.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ getID()

AnnTimerID AnnTimer::getID ( ) const

Definition at line 544 of file AnnEvents.cpp.

Here is the caller graph for this function:

◆ isTimeout()

bool AnnTimer::isTimeout ( ) const
private

If timeout.

Definition at line 477 of file AnnEvents.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Function Documentation

◆ AnnEventManager

friend class AnnEventManager
friend

Definition at line 432 of file AnnEvents.hpp.

Member Data Documentation

◆ tID

AnnTimerID Annwvyn::AnnTimer::tID
private

Timeout ID.

Definition at line 438 of file AnnEvents.hpp.

◆ timeoutTime

double Annwvyn::AnnTimer::timeoutTime
private

Time of timeout.

Definition at line 440 of file AnnEvents.hpp.


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