Public Member Functions | Private Attributes | List of all members
SurgSim::Device::OsgKeyboardHandler Class Reference

#include <SurgSim/Devices/Keyboard/OsgKeyboardHandler.h>

Inheritance diagram for SurgSim::Device::OsgKeyboardHandler:

Public Member Functions

 OsgKeyboardHandler ()
 Constructor. More...
 
virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &aa) override
 Method to handle GUI event. More...
 

Private Attributes

std::weak_ptr< KeyboardScaffoldm_keyboardScaffold
 A back pointer to the scaffold which owns this handle. More...
 

Constructor & Destructor Documentation

SurgSim::Device::OsgKeyboardHandler::OsgKeyboardHandler ( )

Constructor.

Member Function Documentation

bool SurgSim::Device::OsgKeyboardHandler::handle ( const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  aa 
)
overridevirtual

Method to handle GUI event.

Parameters
eaA osgGA::GUIEventAdapter
aaA osgGA::GUIActionAdapter (required by this virtual method)
Returns
True if the event has been handled by this method; Otherwise, false.

Member Data Documentation

std::weak_ptr<KeyboardScaffold> SurgSim::Device::OsgKeyboardHandler::m_keyboardScaffold
private

A back pointer to the scaffold which owns this handle.


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