#include <keyboardEventHandler.h>
Inheritance diagram for keyboardEventHandler:


Public Types | |
| enum | keyStatusType { KEY_UP, KEY_DOWN } |
| typedef void(*) | functionType () |
| typedef std::map< int, functionStatusType > | keyFunctionMap |
Public Member Functions | |
| bool | addFunction (int whatKey, functionType newFunction) |
| bool | addFunction (int whatKey, keyStatusType keyPressStatus, functionType newFunction) |
| virtual bool | handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &) |
| virtual void | accept (osgGA::GUIEventHandlerVisitor &v) |
Protected Attributes | |
| keyFunctionMap | keyFuncMap |
| keyFunctionMap | keyUPFuncMap |
Data Structures | |
| struct | functionStatusType |
Definition at line 28 of file keyboardEventHandler.h.
| typedef void(*) keyboardEventHandler::functionType() |
Definition at line 32 of file keyboardEventHandler.h.
| typedef std::map<int, functionStatusType > keyboardEventHandler::keyFunctionMap |
Definition at line 51 of file keyboardEventHandler.h.
| bool keyboardEventHandler::addFunction | ( | int | whatKey, | |
| functionType | newFunction | |||
| ) |
Definition at line 26 of file keyboardEventHandler.cpp.
References keyFuncMap.
Referenced by addFunction(), and Scene3D::creerChutesEtAnim().
| bool keyboardEventHandler::addFunction | ( | int | whatKey, | |
| keyStatusType | keyPressStatus, | |||
| functionType | newFunction | |||
| ) |
Definition at line 40 of file keyboardEventHandler.cpp.
References addFunction(), KEY_DOWN, and keyUPFuncMap.
Here is the call graph for this function:

| bool keyboardEventHandler::handle | ( | const osgGA::GUIEventAdapter & | ea, | |
| osgGA::GUIActionAdapter & | ||||
| ) | [virtual] |
Definition at line 61 of file keyboardEventHandler.cpp.
References KEY_DOWN, KEY_UP, keyFuncMap, and keyUPFuncMap.
| virtual void keyboardEventHandler::accept | ( | osgGA::GUIEventHandlerVisitor & | v | ) | [inline, virtual] |
Definition at line 72 of file keyboardEventHandler.h.
keyFunctionMap keyboardEventHandler::keyFuncMap [protected] |
keyFunctionMap keyboardEventHandler::keyUPFuncMap [protected] |
1.5.1