Inheritance diagram for mortic::IEventManager:
Public Member Functions | |
IEventManager (IRoot *root) | |
Constructor. | |
virtual | ~IEventManager () |
Destructor. | |
virtual void | generateIrrlichtEvent (irr::SEvent event)=0 |
Generate an Irrlicht Event. | |
virtual void | generateMorticEvent (std::string name, enum EValueType *types=NULL, union UValue *values=NULL, unsigned int count=0)=0 |
Generate a Mortic Event. | |
virtual void | generateUserEvent (std::string name, enum EValueType *types=NULL, union UValue *values=NULL, unsigned int count=0)=0 |
Generates a user-made event. | |
virtual void | generateNullEvent ()=0 |
Generate an event that means nothing. |
This is the manager that generates and dispatches events. If you want to communincate to an object, you call the appropriate method from here, and your event is dispatched to every other manager's event() function. Hopefully, it is dispatched from there to your object.
Definition at line 141 of file IEventManager.h.
|
Constructor.
Definition at line 145 of file IEventManager.h. |
|
Destructor.
Definition at line 148 of file IEventManager.h. |
|
Generate an Irrlicht Event. This generates a mortic wrapper for the Irrlicht event given.
|
|
Generate a Mortic Event. This should only be used internally for classification porpouses. Used the same as generateUserEvent()
|
|
Generate an event that means nothing. Because this event holds no data, it can only be used once in the code, usually for tests. I really have no idea why it is here... |
|
Generates a user-made event. This is the function you would use to generate an event.
|