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

Teddy::Application::BaseSimulationTimer Class Reference

#include <BaseSimulationTimer.h>

Inheritance diagram for Teddy::Application::BaseSimulationTimer:

Inheritance graph
[legend]
Collaboration diagram for Teddy::Application::BaseSimulationTimer:

Collaboration graph
[legend]
List of all members.

Public Methods

 BaseSimulationTimer ()
 BaseSimulationTimer construtor. More...

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

void add (Teddy::MixIn::Tick *tick)
void remove (Teddy::MixIn::Tick *tick)

Protected Attributes

list< Teddy::MixIn::Tick * > ticks
list< Teddy::MixIn::Tick * > add_list
list< Teddy::MixIn::Tick * > remove_list

Constructor & Destructor Documentation

Teddy::Application::BaseSimulationTimer::BaseSimulationTimer  
 

BaseSimulationTimer construtor.

Definition at line 44 of file BaseSimulationTimer.cpp.

References SIMULATION_INTERVAL_MS.


Member Function Documentation

void Teddy::Application::BaseSimulationTimer::add Teddy::MixIn::Tick   tick
 

Definition at line 52 of file BaseSimulationTimer.cpp.

References add_list, Teddy::MixIn::Mutex::lock, tick, and Teddy::MixIn::Mutex::unlock.

void Teddy::Application::BaseSimulationTimer::remove Teddy::MixIn::Tick   tick
 

Definition at line 59 of file BaseSimulationTimer.cpp.

References Teddy::MixIn::Mutex::lock, remove_list, tick, ticks, and Teddy::MixIn::Mutex::unlock.

void Teddy::Application::BaseSimulationTimer::tick   [virtual]
 

Tick BaseSimulationTimer.

Reimplemented from Teddy::SysSupport::Timer.

Definition at line 68 of file BaseSimulationTimer.cpp.

References add_list, Teddy::MixIn::Mutex::lock, Teddy::MixIn::Tick::Tick, ticks, and Teddy::MixIn::Mutex::unlock.

Referenced by add, and remove.


Member Data Documentation

list<Teddy::MixIn::Tick*> Teddy::Application::BaseSimulationTimer::add_list [protected]
 

Definition at line 55 of file BaseSimulationTimer.h.

Referenced by add, and tick.

list<Teddy::MixIn::Tick*> Teddy::Application::BaseSimulationTimer::remove_list [protected]
 

Definition at line 56 of file BaseSimulationTimer.h.

Referenced by remove.

list<Teddy::MixIn::Tick*> Teddy::Application::BaseSimulationTimer::ticks [protected]
 

Definition at line 54 of file BaseSimulationTimer.h.

Referenced by remove, and tick.


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