OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Attributes | List of all members
vrui::coUpdateManager Class Reference

#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...
 

Detailed Description

the UpdateManager keeps a list of all updateable objects and calls their update method once per frame.

Constructor & Destructor Documentation

vrui::coUpdateManager::coUpdateManager ( )

Constructor.

vrui::coUpdateManager::~coUpdateManager ( )

Desctructor.

Member Function Documentation

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

Member Data Documentation

std::list<coUpdateable *> vrui::coUpdateManager::updateList
protected

list of updateable objects


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