FIFE
2008.0
|
#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 int32_t | getTimeStamp () const |
virtual void | setTimeStamp (int32_t 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.
|
inline |
Constructor.
Definition at line 53 of file ec_event.h.
|
inlinevirtual |
Destructor.
Definition at line 60 of file ec_event.h.
|
inlinevirtual |
Marks the event as consumed.
Reimplemented in FIFE::MouseEvent, FIFE::InputEvent, FIFE::KeyEvent, and FIFE::Command.
Definition at line 64 of file ec_event.h.
Referenced by FIFE::Command::consume(), and FIFE::InputEvent::consume().
|
inlinevirtual |
Gets attribute string of the event
Reimplemented in FIFE::MouseEvent, and FIFE::InputEvent.
Definition at line 96 of file ec_event.h.
Referenced by FIFE::InputEvent::getAttrStr(), and getDebugString().
|
inlinevirtual |
Gets the debugstring of the event
Reimplemented in FIFE::MouseEvent, FIFE::KeyEvent, FIFE::InputEvent, and FIFE::Command.
Definition at line 106 of file ec_event.h.
References getAttrStr(), and getName().
Referenced by FIFE::Command::getDebugString(), and FIFE::InputEvent::getDebugString().
|
inlinevirtual |
Gets the name of the event
Reimplemented in FIFE::MouseEvent, FIFE::KeyEvent, FIFE::InputEvent, and FIFE::Command.
Definition at line 89 of file ec_event.h.
Referenced by getDebugString().
|
inlinevirtual |
Gets the source of the event.
Definition at line 73 of file ec_event.h.
|
inlinevirtual |
Gets the timestamp of the event
Reimplemented in FIFE::MouseEvent, FIFE::KeyEvent, FIFE::InputEvent, and FIFE::Command.
Definition at line 81 of file ec_event.h.
Referenced by FIFE::Command::getTimeStamp(), and FIFE::InputEvent::getTimeStamp().
|
inlinevirtual |
Checks if the event is consumed.
Reimplemented in FIFE::MouseEvent, FIFE::InputEvent, FIFE::KeyEvent, and FIFE::Command.
Definition at line 69 of file ec_event.h.
Referenced by FIFE::Command::isConsumed(), and FIFE::InputEvent::isConsumed().
|
inlinevirtual |
Sets the source of the event.
Reimplemented in FIFE::MouseEvent, FIFE::KeyEvent, FIFE::InputEvent, and FIFE::Command.
Definition at line 77 of file ec_event.h.
Referenced by FIFE::Command::setSource(), and FIFE::InputEvent::setSource().
|
inlinevirtual |
Sets the timestamp of the event
Reimplemented in FIFE::MouseEvent, FIFE::KeyEvent, FIFE::InputEvent, and FIFE::Command.
Definition at line 85 of file ec_event.h.
Referenced by FIFE::Command::setTimeStamp(), and FIFE::InputEvent::setTimeStamp().