#include <GameState.h>
Public Member Functions | |
| GameStatePerfCounter (const char *name) | |
| ~GameStatePerfCounter () | |
| void | start () |
| void | end () |
| const char * | getName () |
| unsigned int | getTotal () |
| bool | getUsed () |
Protected Attributes | |
| bool | used_ |
| std::string | name_ |
| unsigned int | start_ |
| unsigned int | total_ |
Definition at line 37 of file GameState.h.
| GameStatePerfCounter::GameStatePerfCounter | ( | const char * | name | ) |
Definition at line 31 of file GameState.cpp.
| GameStatePerfCounter::~GameStatePerfCounter | ( | ) |
Definition at line 36 of file GameState.cpp.
| void GameStatePerfCounter::start | ( | ) |
| void GameStatePerfCounter::end | ( | ) |
| const char* GameStatePerfCounter::getName | ( | ) | [inline] |
Definition at line 46 of file GameState.h.
References name_.
Referenced by GameState::clearTimers().
| unsigned int GameStatePerfCounter::getTotal | ( | ) |
| bool GameStatePerfCounter::getUsed | ( | ) | [inline] |
Definition at line 48 of file GameState.h.
References used_.
Referenced by GameState::clearTimers().
bool GameStatePerfCounter::used_ [protected] |
std::string GameStatePerfCounter::name_ [protected] |
unsigned int GameStatePerfCounter::start_ [protected] |
unsigned int GameStatePerfCounter::total_ [protected] |
1.5.3