osgViewer::ThreadingHandler Class Reference

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

Inheritance diagram for osgViewer::ThreadingHandler:

Inheritance graph
[legend]

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

virtual void osgViewer::ThreadingHandler::getUsage ( osg::ApplicationUsage usage  )  const [virtual]

Get the keyboard and mouse usage of this manipulator.

Reimplemented from osgGA::GUIEventHandler.

void osgViewer::ThreadingHandler::setKeyEventChangeThreadingModel ( int  key  )  [inline]

int osgViewer::ThreadingHandler::getKeyEventChangeThreadingModel (  )  const [inline]

void osgViewer::ThreadingHandler::setChangeThreadingModel ( bool  flag  )  [inline]

bool osgViewer::ThreadingHandler::getChangeThreadingModel (  )  const [inline]

void osgViewer::ThreadingHandler::setKeyEventChangeEndBarrierPosition ( int  key  )  [inline]

int osgViewer::ThreadingHandler::getKeyEventChangeEndBarrierPosition (  )  const [inline]

void osgViewer::ThreadingHandler::setChangeEndBarrierPosition ( bool  flag  )  [inline]

bool osgViewer::ThreadingHandler::getChangeEndBarrierPosition (  )  const [inline]

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

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

Reimplemented from osgGA::GUIEventHandler.


Member Data Documentation

int osgViewer::ThreadingHandler::_keyEventChangeThreadingModel [protected]

bool osgViewer::ThreadingHandler::_changeThreadingModel [protected]

int osgViewer::ThreadingHandler::_keyEventChangeEndBarrierPosition [protected]

bool osgViewer::ThreadingHandler::_changeEndBarrierPosition [protected]

osg::Timer_t osgViewer::ThreadingHandler::_tickOrLastKeyPress [protected]

bool osgViewer::ThreadingHandler::_done [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:54 2007 for the OpenSceneGraph by doxygen 1.5.3.