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

objects that are derived from this class are called once per frame More...

#include <coUpdateManager.h>

Inheritance diagram for vrui::coUpdateable:
Inheritance graph
[legend]

Public Member Functions

 coUpdateable ()
 Constructor. More...
 
virtual ~coUpdateable ()
 Destructor. More...
 
virtual bool update ()=0
 

Detailed Description

objects that are derived from this class are called once per frame

Constructor & Destructor Documentation

vrui::coUpdateable::coUpdateable ( )

Constructor.

virtual vrui::coUpdateable::~coUpdateable ( )
virtual

Destructor.

you should adds this object to the update manager in your constructor

Member Function Documentation

virtual bool vrui::coUpdateable::update ( )
pure virtual

this method is called once per frame as long as it returns true. as soon as it returns false, it is removed from the update manager and not called again. the update method is called prior to preFrame();

Implemented in opencover::coVRFileManager, vrui::coSlopePoti, vrui::coSlider, vrui::coValuePoti, vrui::coButton, vrui::coToolboxMenu, vrui::coRowMenu, vrui::coDialog, opencover::coVRSelectionManager, vrui::coRowMenuHandle, vrui::coToolboxMenuHandle, vrui::coPopupHandle, and vrui::vruiIntersection.


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