Inheritance diagram for mortic::IEvent:
Public Member Functions | |
IEvent (IRoot *root) | |
Constructor. | |
virtual | ~IEvent () |
Destructor. | |
virtual enum EEventType | getEventType ()=0 |
Get the Event Type. | |
virtual unsigned int | getCount ()=0 |
Returns the number of event arguments. | |
virtual enum EValueType | getValueType (unsigned int i)=0 |
Returns the type of value. | |
virtual union UValue | getValue (unsigned int i)=0 |
Returns the value. | |
virtual std::string | getEventName ()=0 |
Gets the Event Name. | |
virtual irr::SEvent | getIrrlichtEvent ()=0 |
Return the Irrlicht Event. |
This is an event generated by the engine. See IEventManager a list of events as well as more info.
Definition at line 74 of file IEventManager.h.
|
Constructor.
Definition at line 78 of file IEventManager.h. |
|
Destructor.
Definition at line 81 of file IEventManager.h. |
|
Returns the number of event arguments. These arguments can be accessed through getValueType() and getValue().
|
|
Gets the Event Name. The event name is arbitrary, but is almost always used to identify the event.
|
|
Get the Event Type. The event type determines the origin of the event. It could be user-generated, made by the mortic engine, etc.
|
|
Return the Irrlicht Event. This only works if the event originated from Irrlicht.
|
|
Returns the value. This returns the value at index i, but be sure to access the right member of the UValue!
|
|
Returns the type of value. This returns the type of value at index i.
|