Public Member Functions | Public Attributes | Protected Attributes

KeyboardEventHandler Class Reference

Inheritance diagram for KeyboardEventHandler:
CallBacker

List of all members.

Public Member Functions

 KeyboardEventHandler ()
void triggerKeyPressed (const KeyboardEvent &)
void triggerKeyReleased (const KeyboardEvent &)
bool hasEvent () const
const KeyboardEventevent () const
bool isHandled () const
void setHandled (bool yn)

Public Attributes

Notifier< KeyboardEventHandlerkeyPressed
Notifier< KeyboardEventHandlerkeyReleased

Protected Attributes

const KeyboardEventevent_
bool ishandled_

Constructor & Destructor Documentation

KeyboardEventHandler::KeyboardEventHandler (  ) 

Member Function Documentation

const KeyboardEvent& KeyboardEventHandler::event (  )  const [inline]
Note:
only ok to call in function triggered by an event from this class.
bool KeyboardEventHandler::hasEvent (  )  const [inline]
bool KeyboardEventHandler::isHandled (  )  const [inline]
void KeyboardEventHandler::setHandled ( bool  yn  )  [inline]
void KeyboardEventHandler::triggerKeyPressed ( const KeyboardEvent  ) 
void KeyboardEventHandler::triggerKeyReleased ( const KeyboardEvent  ) 

Member Data Documentation