#include <EventHandler.h>
Public Member Functions | |
void | getUsage (osg::ApplicationUsage &usage) const |
virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &) |
SceneEventHandler (std::vector< osg::ref_ptr< osgWidget::Window > > &windows, TextHUD *textHUD, SceneBuilder *sceneBuilder, ConfigFile *config) | |
Private Attributes | |
ConfigFile * | _config |
osg::ref_ptr< osgOceanScene > | _scene |
SceneBuilder * | _sceneBuilder |
osg::ref_ptr< TextHUD > | _textHUD |
std::vector< osg::ref_ptr < osgWidget::Window > > | _windows |
bool | draw_frames_ |
Definition at line 20 of file EventHandler.h.
SceneEventHandler::SceneEventHandler | ( | std::vector< osg::ref_ptr< osgWidget::Window > > & | windows, |
TextHUD * | textHUD, | ||
SceneBuilder * | sceneBuilder, | ||
ConfigFile * | config | ||
) | [inline] |
Definition at line 32 of file EventHandler.h.
void SceneEventHandler::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [inline] |
Definition at line 201 of file EventHandler.h.
virtual bool SceneEventHandler::handle | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | |||
) | [inline, virtual] |
Definition at line 40 of file EventHandler.h.
ConfigFile* SceneEventHandler::_config [private] |
Definition at line 27 of file EventHandler.h.
osg::ref_ptr<osgOceanScene> SceneEventHandler::_scene [private] |
Definition at line 23 of file EventHandler.h.
SceneBuilder* SceneEventHandler::_sceneBuilder [private] |
Definition at line 24 of file EventHandler.h.
osg::ref_ptr<TextHUD> SceneEventHandler::_textHUD [private] |
Definition at line 25 of file EventHandler.h.
std::vector<osg::ref_ptr<osgWidget::Window> > SceneEventHandler::_windows [private] |
Definition at line 26 of file EventHandler.h.
bool SceneEventHandler::draw_frames_ [private] |
Definition at line 29 of file EventHandler.h.