OpenSceneGraph 2.8.3

osgViewer::ThreadingHandler Class Reference

Event handler allowing to change the viewer threading model. More...

Inheritance diagram for osgViewer::ThreadingHandler:

List of all members.

Public Member Functions

 ThreadingHandler ()
virtual void getUsage (osg::ApplicationUsage &usage) const
 Get the keyboard and mouse usage of this manipulator.
void setKeyEventChangeThreadingModel (int key)
int getKeyEventChangeThreadingModel () const
void setChangeThreadingModel (bool flag)
bool getChangeThreadingModel () const
void setKeyEventChangeEndBarrierPosition (int key)
int getKeyEventChangeEndBarrierPosition () const
void setChangeEndBarrierPosition (bool flag)
bool getChangeEndBarrierPosition () const
bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa)
 Deprecated, Handle events, return true if handled, false otherwise.

Protected Attributes

int _keyEventChangeThreadingModel
bool _changeThreadingModel
int _keyEventChangeEndBarrierPosition
bool _changeEndBarrierPosition
osg::Timer_t _tickOrLastKeyPress
bool _done

Detailed Description

Event handler allowing to change the viewer threading model.


Constructor & Destructor Documentation

osgViewer::ThreadingHandler::ThreadingHandler ( )

Member Function Documentation

bool osgViewer::ThreadingHandler::getChangeEndBarrierPosition ( ) const [inline]
bool osgViewer::ThreadingHandler::getChangeThreadingModel ( ) const [inline]
int osgViewer::ThreadingHandler::getKeyEventChangeEndBarrierPosition ( ) const [inline]
int osgViewer::ThreadingHandler::getKeyEventChangeThreadingModel ( ) const [inline]
virtual void osgViewer::ThreadingHandler::getUsage ( osg::ApplicationUsage usage) const [virtual]

Get the keyboard and mouse usage of this manipulator.

Reimplemented from osgGA::GUIEventHandler.

bool osgViewer::ThreadingHandler::handle ( const osgGA::GUIEventAdapter ,
osgGA::GUIActionAdapter  
) [virtual]

Deprecated, Handle events, return true if handled, false otherwise.

Reimplemented from osgGA::GUIEventHandler.

void osgViewer::ThreadingHandler::setChangeEndBarrierPosition ( bool  flag) [inline]
void osgViewer::ThreadingHandler::setChangeThreadingModel ( bool  flag) [inline]
void osgViewer::ThreadingHandler::setKeyEventChangeEndBarrierPosition ( int  key) [inline]
void osgViewer::ThreadingHandler::setKeyEventChangeThreadingModel ( int  key) [inline]

Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:31 for the OpenSceneGraph by doxygen 1.7.3.