#include <Timer.hpp>
Public Member Functions | |
unsigned int | SubType () const |
Returns the subtype ID of the event. | |
Event (const Event_Source *source_) | |
Creates a Timer event. | |
unsigned int | Type () const |
Returns the Type ID of the event Returns 0 (User_Type) for all user events. | |
operator ALLEGRO_EVENT * () const | |
Returns a pointer to the Allegro event. | |
Public Attributes | |
ALLEGRO_EVENT * | raw |
const Event_Source * | source |
Pointer to the Event_Source that emitted the event. | |
Static Public Attributes | |
static const unsigned int | Type = 0x00000001 |
static const unsigned int | User_Type = 0x00000000 |
Timer event object.
a5::Timer::Event::Event | ( | const Event_Source * | source_ | ) |
Creates a Timer event.
unsigned int a5::Timer::Event::SubType | ( | ) | const [virtual] |
Returns the subtype ID of the event.
Reimplemented from a5::Event.
unsigned int a5::Event::Type | ( | ) | const [inherited] |
Returns the Type ID of the event Returns 0 (User_Type) for all user events.
a5::Event::operator ALLEGRO_EVENT * | ( | ) | const [inherited] |
Returns a pointer to the Allegro event.
const Event_Source* a5::Event::source [inherited] |
Pointer to the Event_Source that emitted the event.