OpenCOVER
|
#include <coUpdateManager.h>
Public Member Functions | |
coUpdateManager () | |
Constructor. More... | |
~coUpdateManager () | |
Desctructor. More... | |
void | update () |
all objectpreFrame More... | |
void | add (coUpdateable *, bool first=false) |
add an updateable object More... | |
void | remove (coUpdateable *) |
remove an updateable object More... | |
void | removeAll () |
remove all updateable object More... | |
Protected Attributes | |
std::list< coUpdateable * > | updateList |
list of updateable objects More... | |
the UpdateManager keeps a list of all updateable objects and calls their update method once per frame.
vrui::coUpdateManager::coUpdateManager | ( | ) |
Constructor.
vrui::coUpdateManager::~coUpdateManager | ( | ) |
Desctructor.
void vrui::coUpdateManager::add | ( | coUpdateable * | , |
bool | first = false |
||
) |
add an updateable object
void vrui::coUpdateManager::remove | ( | coUpdateable * | ) |
remove an updateable object
void vrui::coUpdateManager::removeAll | ( | ) |
remove all updateable object
void vrui::coUpdateManager::update | ( | ) |
all objectpreFrame
|
protected |
list of updateable objects