Overview | All Modules | Tutorial | User's Guide | Programming Guide
Previous

COVISE Online Documentation

Next

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:
vrui::coButton vrui::coDialog vrui::coDragNDropManager vrui::coMenu vrui::coPopupHandle vrui::coRowMenuHandle vrui::coSlider vrui::coToolboxMenuHandle vrui::coValuePoti vrui::vruiIntersection

Public Member Functions

 coUpdateable ()
 Constructor. More...
 
virtual ~coUpdateable ()
 you should adds this object to the update manager in your constructor More...
 
virtual bool update ()=0
 this method is called once per frame as long as it returns true. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ coUpdateable()

vrui::coUpdateable::coUpdateable ( )

Constructor.

◆ ~coUpdateable()

vrui::coUpdateable::~coUpdateable ( )
virtual

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

Destructor

Member Function Documentation

◆ update()

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 vrui::coButton, vrui::coDialog, vrui::coPopupHandle, vrui::coRowMenu, vrui::coRowMenuHandle, vrui::coSlider, vrui::coToolboxMenu, vrui::coToolboxMenuHandle, vrui::coValuePoti, vrui::coSlopePoti, and vrui::vruiIntersection.


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

Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2009 HLRS, 2004-2009 RRZK, 2005-2009 Visenso
COVISE Version 6.5 Academic