#include <ec_event.h>


Public Member Functions | |
| Event () | |
| virtual | ~Event () |
| virtual void | consume () |
| virtual bool | isConsumed () const |
| virtual IEventSource * | getSource () const |
| virtual void | setSource (IEventSource *source) |
| virtual int | getTimeStamp () const |
| virtual void | setTimeStamp (int timestamp) |
| virtual const std::string & | getName () const |
| virtual std::string | getAttrStr () const |
| virtual std::string | getDebugString () const |
Base class for all events
Definition at line 49 of file ec_event.h.
| FIFE::Event::Event | ( | ) | [inline] |
Constructor.
Definition at line 53 of file ec_event.h.
| virtual FIFE::Event::~Event | ( | ) | [inline, virtual] |
Destructor.
Definition at line 60 of file ec_event.h.
| virtual void FIFE::Event::consume | ( | ) | [inline, virtual] |
Marks the event as consumed.
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 64 of file ec_event.h.
| virtual std::string FIFE::Event::getAttrStr | ( | ) | const [inline, virtual] |
Gets attribute string of the event
Reimplemented in FIFE::InputEvent, and FIFE::MouseEvent.
Definition at line 96 of file ec_event.h.
Referenced by getDebugString().

| virtual std::string FIFE::Event::getDebugString | ( | ) | const [inline, virtual] |
Gets the debugstring of the event
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 106 of file ec_event.h.
References getAttrStr(), and getName().
| virtual const std::string& FIFE::Event::getName | ( | ) | const [inline, virtual] |
Gets the name of the event
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 89 of file ec_event.h.
Referenced by getDebugString().

| virtual IEventSource* FIFE::Event::getSource | ( | ) | const [inline, virtual] |
Gets the source of the event.
Definition at line 73 of file ec_event.h.
Referenced by FIFE::InputEvent::getName().

| virtual int FIFE::Event::getTimeStamp | ( | ) | const [inline, virtual] |
Gets the timestamp of the event
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 81 of file ec_event.h.
| virtual bool FIFE::Event::isConsumed | ( | ) | const [inline, virtual] |
Checks if the event is consumed.
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 69 of file ec_event.h.
| virtual void FIFE::Event::setSource | ( | IEventSource * | source | ) | [inline, virtual] |
Sets the source of the event.
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 77 of file ec_event.h.
| virtual void FIFE::Event::setTimeStamp | ( | int | timestamp | ) | [inline, virtual] |
Sets the timestamp of the event
Reimplemented in FIFE::InputEvent, FIFE::Command, FIFE::KeyEvent, and FIFE::MouseEvent.
Definition at line 85 of file ec_event.h.
1.6.3