![]() |
Leviathan
0.8.0.0
Leviathan game engine
|
#include <CallableObject.h>
Public Member Functions | |
DLLEXPORT | CallableObject () |
virtual DLLEXPORT | ~CallableObject () |
virtual DLLEXPORT int | OnEvent (Event *event)=0 |
virtual DLLEXPORT int | OnGenericEvent (GenericEvent *event)=0 |
Static Public Member Functions | |
static DLLEXPORT EVENT_TYPE | ResolveStringToType (const std::string &type) |
static DLLEXPORT EVENT_TYPE | GetCommonEventType (const std::string &type) |
static DLLEXPORT std::string | GetListenerNameFromType (EVENT_TYPE type) |
Protected Member Functions | |
void | UnRegisterAllEvents () |
void | UnRegister (EVENT_TYPE from, bool all=false) |
void | UnRegister (const std::string &genericname, bool all=false) |
void | RegisterForEvent (EVENT_TYPE toregister) |
void | RegisterForEvent (const std::string &genericname) |
Definition at line 11 of file CallableObject.h.
CallableObject::CallableObject | ( | ) |
Definition at line 9 of file CallableObject.cpp.
|
virtual |
Definition at line 10 of file CallableObject.cpp.
|
static |
not a global event like in ResolveStringToType
Definition at line 64 of file CallableObject.cpp.
|
static |
reverse of above and returns for example from EVENT_TYPE_SHOW "OnShow"
Definition at line 77 of file CallableObject.cpp.
Implemented in Leviathan::GUI::VideoPlayer, Leviathan::GUI::View, and Leviathan::Script::EventListener.
|
pure virtual |
Implemented in Leviathan::GUI::VideoPlayer, Leviathan::GUI::View, and Leviathan::Script::EventListener.
|
protected |
Definition at line 31 of file CallableObject.cpp.
|
protected |
Definition at line 37 of file CallableObject.cpp.
|
static |
Definition at line 51 of file CallableObject.cpp.
|
protected |
Definition at line 21 of file CallableObject.cpp.
|
protected |
Definition at line 26 of file CallableObject.cpp.
|
protected |
Definition at line 43 of file CallableObject.cpp.