Classes | Public Member Functions

a5::Keyboard Class Reference
[Keyboard]

Object representing a keyboard. More...

#include <Keyboard.hpp>

Inheritance diagram for a5::Keyboard:
Inheritance graph

List of all members.

Classes

class  Event
 Keyboard event object. More...
struct  Key
struct  Modifier

Public Member Functions

 Keyboard ()
 Creates a Keyboard.
std::auto_ptr< a5::EventHandle (ALLEGRO_EVENT *raw_event) const
 Processes Allegro event messages in to A5SES Events.
void SetEventSource (ALLEGRO_EVENT_SOURCE *event_source)
 Points the Allegro event source towards this object.
 operator ALLEGRO_EVENT_SOURCE * () const
 Returns a pointer to the Allegro event source.

Detailed Description

Object representing a keyboard.


Constructor & Destructor Documentation

a5::Keyboard::Keyboard (  ) 

Creates a Keyboard.


Member Function Documentation

std::auto_ptr<a5::Event> a5::Keyboard::Handle ( ALLEGRO_EVENT *  raw_event  )  const [virtual]

Processes Allegro event messages in to A5SES Events.

Implements a5::Event_Source.

void a5::Event_Source::SetEventSource ( ALLEGRO_EVENT_SOURCE *  event_source  )  [inherited]

Points the Allegro event source towards this object.

a5::Event_Source::operator ALLEGRO_EVENT_SOURCE * (  )  const [inherited]

Returns a pointer to the Allegro event source.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines