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< KeyboardScaffold > | m_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

  ea | A osgGA::GUIEventAdapter
  aa | A 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:

- SurgSim/Devices/Keyboard/OsgKeyboardHandler.h
- SurgSim/Devices/Keyboard/OsgKeyboardHandler.cpp