YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::UpdateableTimer Class Reference

#include <UpdateableTimer.hpp>

Collaboration diagram for yap::UpdateableTimer:

List of all members.

Public Member Functions

 UpdateableTimer ()
 UpdateableTimer (const Time &initTime)
void Update (const Time &dt)
void Reset ()
void Reset (const Time &init)
const TimeGetCurrentTime () const
int DelayIsComplete (const Time &delay, bool reset)

Private Member Functions

 DISALLOW_COPY (UpdateableTimer)

Private Attributes

Time currentTime_

Detailed Description

Definition at line 9 of file UpdateableTimer.hpp.


Constructor & Destructor Documentation

yap::UpdateableTimer::UpdateableTimer ( )

Definition at line 5 of file UpdateableTimer.cpp.

yap::UpdateableTimer::UpdateableTimer ( const Time initTime)
explicit

Definition at line 10 of file UpdateableTimer.cpp.


Member Function Documentation

int yap::UpdateableTimer::DelayIsComplete ( const Time delay,
bool  reset 
)

Definition at line 35 of file UpdateableTimer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

yap::UpdateableTimer::DISALLOW_COPY ( UpdateableTimer  )
private
const Time & yap::UpdateableTimer::GetCurrentTime ( ) const

Definition at line 30 of file UpdateableTimer.cpp.

Here is the caller graph for this function:

void yap::UpdateableTimer::Reset ( )

Definition at line 20 of file UpdateableTimer.cpp.

Here is the caller graph for this function:

void yap::UpdateableTimer::Reset ( const Time init)

Definition at line 25 of file UpdateableTimer.cpp.

void yap::UpdateableTimer::Update ( const Time dt)

Definition at line 15 of file UpdateableTimer.cpp.

Here is the caller graph for this function:


Member Data Documentation

Time yap::UpdateableTimer::currentTime_
private

Definition at line 28 of file UpdateableTimer.hpp.


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