FIFE
2008.0
|
#include <ec_command.h>
Public Member Functions | |
Command () | |
virtual | ~Command () |
CommandType | getCommandType () const |
int32_t | getCode () const |
virtual void | consume () |
virtual bool | isConsumed () 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 | getDebugString () const |
![]() | |
Event () | |
virtual | ~Event () |
virtual IEventSource * | getSource () const |
virtual std::string | getAttrStr () const |
Class for commands Commands are arbitrary events e.g. send from one subsystem to another
Definition at line 44 of file ec_command.h.
|
inline |
Constructor.
Definition at line 48 of file ec_command.h.
|
inlinevirtual |
Destructor.
Definition at line 55 of file ec_command.h.
|
inlinevirtual |
Marks the event as consumed.
Reimplemented from FIFE::Event.
Definition at line 69 of file ec_command.h.
References FIFE::Event::consume().
|
inline |
Gets the code of this command. Meaning of code depends on the command type
Definition at line 66 of file ec_command.h.
|
inline |
Gets the type of this command
Definition at line 60 of file ec_command.h.
|
inlinevirtual |
Gets the debugstring of the event
Reimplemented from FIFE::Event.
Definition at line 80 of file ec_command.h.
References FIFE::Event::getDebugString().
|
inlinevirtual |
Gets the name of the event
Reimplemented from FIFE::Event.
Definition at line 76 of file ec_command.h.
|
inlinevirtual |
Gets the timestamp of the event
Reimplemented from FIFE::Event.
Definition at line 73 of file ec_command.h.
References FIFE::Event::getTimeStamp().
|
inlinevirtual |
Checks if the event is consumed.
Reimplemented from FIFE::Event.
Definition at line 70 of file ec_command.h.
References FIFE::Event::isConsumed().
Referenced by FIFE::EventManager::dispatchCommand().
|
inlinevirtual |
Sets the source of the event.
Reimplemented from FIFE::Event.
Definition at line 72 of file ec_command.h.
References FIFE::Event::setSource().
Referenced by FIFE::EventManager::processEvents().
|
inlinevirtual |
Sets the timestamp of the event
Reimplemented from FIFE::Event.
Definition at line 74 of file ec_command.h.
References FIFE::Event::setTimeStamp().