#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, osg::ref_ptr< osgOceanScene > scene, std::vector< boost::shared_ptr< ROSInterface > > &ROSInterfaces, ConfigFile *config) | |
Private Attributes | |
ConfigFile * | _config |
std::vector< boost::shared_ptr < ROSInterface > > | _ROSInterfaces |
osg::ref_ptr< osgOceanScene > | _scene |
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, | ||
osg::ref_ptr< osgOceanScene > | scene, | ||
std::vector< boost::shared_ptr< ROSInterface > > & | ROSInterfaces, | ||
ConfigFile * | config | ||
) | [inline] |
Definition at line 32 of file EventHandler.h.
void SceneEventHandler::getUsage | ( | osg::ApplicationUsage & | usage | ) | const [inline] |
Definition at line 157 of file EventHandler.h.
virtual bool SceneEventHandler::handle | ( | const osgGA::GUIEventAdapter & | ea, |
osgGA::GUIActionAdapter & | |||
) | [inline, virtual] |
Definition at line 41 of file EventHandler.h.
ConfigFile* SceneEventHandler::_config [private] |
Definition at line 27 of file EventHandler.h.
std::vector<boost::shared_ptr<ROSInterface> > SceneEventHandler::_ROSInterfaces [private] |
Definition at line 26 of file EventHandler.h.
osg::ref_ptr<osgOceanScene> SceneEventHandler::_scene [private] |
Definition at line 23 of file EventHandler.h.
osg::ref_ptr<TextHUD> SceneEventHandler::_textHUD [private] |
Definition at line 24 of file EventHandler.h.
std::vector<osg::ref_ptr<osgWidget::Window> > SceneEventHandler::_windows [private] |
Definition at line 25 of file EventHandler.h.
bool SceneEventHandler::draw_frames_ [private] |
Definition at line 29 of file EventHandler.h.