Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::SpaceGame::SimulationTimer Class Reference

Thread which updates scene. More...

#include <SimulationTimer.h>

Collaboration diagram for Teddy::SpaceGame::SimulationTimer:

Collaboration graph
[legend]
List of all members.

Public Methods

 SimulationTimer (Root *root)
 SimulationTimer construtor. More...

virtual void tick ()
 Tick SimulationTimer. More...


Protected Attributes

Rootroot
Clock * clock

Detailed Description

Thread which updates scene.

Todo:
docs

Definition at line 45 of file SimulationTimer.h.


Constructor & Destructor Documentation

Teddy::SpaceGame::SimulationTimer::SimulationTimer Root   root
 

SimulationTimer construtor.

Definition at line 41 of file SimulationTimer.cpp.

References clock, root, and SIMULATION_INTERVAL_MS.


Member Function Documentation

void Teddy::SpaceGame::SimulationTimer::tick   [virtual]
 

Tick SimulationTimer.

Definition at line 51 of file SimulationTimer.cpp.

References clock, and root.


Member Data Documentation

Clock* Teddy::SpaceGame::SimulationTimer::clock [protected]
 

Definition at line 53 of file SimulationTimer.h.

Referenced by SimulationTimer(), and tick().

Root* Teddy::SpaceGame::SimulationTimer::root [protected]
 

Definition at line 52 of file SimulationTimer.h.

Referenced by SimulationTimer(), and tick().


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