ClockManager Class Reference
#include <ClockManager.h>
Inheritance diagram for ClockManager:
![](../class_clock_manager.png)
# 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 | |
![]() | |
void | constructor () |
Class' constructor. | |
const void * | getVTable () |
bool | mutateTo (const void *targetClass) |
![]() | |
static Object | getCast (void *object, ClassPointer targetClassGetClassMethod, ClassPointer baseClassGetClassMethod) |
![]() | |
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
-
clock Clock 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 | ) |
# update()
secure void ClockManager::update | ( | uint32 | elapsedMilliseconds | ) |
Update the clocks.
- Parameters
-
elapsedMilliseconds Milliseconds that passed since the previous call to this method
Definition at line 76 of file ClockManager.c.
# Member Data Documentation
# 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:
- VUEngine-Core/source/Misc/Time/ClockManager.h
- VUEngine-Core/source/Misc/Time/ClockManager.c