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

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

Inheritance diagram for SurgSim::Devices::OsgKeyboardHandler:

Public Member Functions

 OsgKeyboardHandler ()
 Constructor. More...
 
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

§ OsgKeyboardHandler()

SurgSim::Devices::OsgKeyboardHandler::OsgKeyboardHandler ( )

Constructor.

Member Function Documentation

§ handle()

bool SurgSim::Devices::OsgKeyboardHandler::handle ( const osgGA::GUIEventAdapter &  ea,
osgGA::GUIActionAdapter &  aa 
)
override

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

§ m_keyboardScaffold

std::weak_ptr<KeyboardScaffold> SurgSim::Devices::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: