Public Member Functions

fl7::events::KeyEventArgs Class Reference

#include <KeyEventArgs.h>

Inheritance diagram for fl7::events::KeyEventArgs:
fl7::events::EventArgs

List of all members.

Public Member Functions

virtual ~KeyEventArgs (void)
 KeyEventArgs (faces::Face *face, unsigned key_index, float action_time)
unsigned GetKeyIndex () const
float GetActionTime () const

Detailed Description

The (base) class for event arguments passed in to key event callbacks.


Constructor & Destructor Documentation

virtual fl7::events::KeyEventArgs::~KeyEventArgs ( void   )  [inline, virtual]

Destructor.

fl7::events::KeyEventArgs::KeyEventArgs ( faces::Face face,
unsigned  key_index,
float  action_time 
) [inline]

Explicit constructor.


Member Function Documentation

float fl7::events::KeyEventArgs::GetActionTime (  )  const [inline]

Returns the time (in seconds) the key has been in action (or 0).

unsigned fl7::events::KeyEventArgs::GetKeyIndex (  )  const [inline]

Returns the index of the key that has been pressed or released.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines