ClockManager Class Reference

#include <ClockManager.h>

Inheritance diagram for ClockManager:
Object

# Public Member Functions

void reset ()
 Reset all the registered clocks.
void register (Clock clock)
void unregister (Clock clock)
void update (uint32 elapsedMilliseconds)

# Protected Attributes

VirtualList clocks
 Linked list of Clocks.

# Additional Inherited Members

- Private Member Functions inherited from Object
void constructor ()
 Class' constructor.
const void * getVTable ()
bool mutateTo (const void *targetClass)
- Static Private Member Functions inherited from Object
static Object getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod)
- Private Attributes inherited from Object
void * vTable
 Pointer to the class's virtual table.

# Detailed Description

Class ClockManager

Inherits from Object

Manages the instances of Clock.

Definition at line 35 of file ClockManager.h.

# Member Function Documentation

# register()

secure void ClockManager::register ( Clock clock)

Register a new clock

Parameters
clockClock to register

Definition at line 49 of file ClockManager.c.

# reset()

secure void ClockManager::reset ( )

Reset all the registered clocks.

Definition at line 34 of file ClockManager.c.

# unregister()

secure void ClockManager::unregister ( Clock clock)

Unregister clock.

Parameters
clockClock to unregister

Definition at line 64 of file ClockManager.c.

# update()

secure void ClockManager::update ( uint32 elapsedMilliseconds)

Update the clocks.

Parameters
elapsedMillisecondsMilliseconds that passed since the previous call to this method

Definition at line 76 of file ClockManager.c.

# Member Data Documentation

# clocks

VirtualList ClockManager::clocks
protected

Linked list of Clocks.

Definition at line 40 of file ClockManager.h.


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