|
| EventDispatcher (const EventDispatcher &ed) |
|
int | addEventListener (eventType, const EventCallback &) |
|
void | removeEventListener (eventType, const EventCallback &) |
|
void | removeEventListener (int id) |
|
bool | hasEventListeners (void *CallbackThis) |
|
bool | hasEventListeners (eventType, const EventCallback &) |
|
void | removeEventListeners (void *CallbackThis) |
|
void | removeAllEventListeners () |
|
virtual void | dispatchEvent (Event *event) |
|
int | getListenersCount () const |
|
int | getLastListenerID () const |
|
const EventCallback & | getListenerByIndex (int index) const |
|
| Object (const Object &src) |
|
| Object (bool assignUniqueID=true) |
|
void | addRef () |
|
void | releaseRef () |
|
| ObjectBase (const ObjectBase &src) |
|
| ObjectBase (bool assignID=true) |
|
const std::string & | getName () const |
|
const void * | getUserData () const |
|
int | getObjectID () const |
|
bool | isName (const std::string &name) const |
|
bool | isName (const char *name) const |
|
void | setName (const std::string &name) |
|
void | setUserData (const void *data) |
|
void | dumpObject () const |
|
void | __removeFromDebugList () |
|
|
typedef std::vector< listener > | listeners |
|
|
int | _lastID |
|
listeners * | _listeners |
|
std::string | __name |
|
int | __id |
|
const void * | __userData |
|
|
typedef std::vector< ObjectBase * > | __createdObjects |
|
static void | dumpCreatedObjects () |
|
static void | showAssertInCtor (int id) |
|
static void | showAssertInDtor (int id) |
|
static __createdObjects & | __getCreatedObjects () |
|
static void | __startTracingLeaks () |
|
static void | __stopTracingLeaks () |
|
int | _ref_counter |
|
void | __doCheck () |
|
void | __generateID () |
|
std::string * | __getName () const |
|
void | __freeName () const |
|
static void | __addToDebugList (ObjectBase *base) |
|
static void | __removeFromDebugList (ObjectBase *base) |
|
static int | _lastID |
|
static int | _assertCtorID |
|
static int | _assertDtorID |
|
◆ hasEventListeners() [1/2]
bool oxygine::EventDispatcher::hasEventListeners |
( |
void * |
CallbackThis | ) |
|
check if event listener exists by THIS used in CLOSURE(this, ...), not working with labmda
◆ hasEventListeners() [2/2]
bool oxygine::EventDispatcher::hasEventListeners |
( |
eventType |
, |
|
|
const EventCallback & |
|
|
) |
| |
check if event listener exists, not working with lambda, works only with CLOSURE(...)
◆ removeAllEventListeners()
void oxygine::EventDispatcher::removeAllEventListeners |
( |
| ) |
|
removes all added event listeners
◆ removeEventListener() [1/2]
void oxygine::EventDispatcher::removeEventListener |
( |
eventType |
, |
|
|
const EventCallback & |
|
|
) |
| |
remove event listener by event type with callback, not working with lambda functions, works only for CLOSURE(...)
◆ removeEventListener() [2/2]
void oxygine::EventDispatcher::removeEventListener |
( |
int |
id | ) |
|
remove by ID, where is ID returned from addEventListener
◆ removeEventListeners()
void oxygine::EventDispatcher::removeEventListeners |
( |
void * |
CallbackThis | ) |
|
removes all added event listeners by THIS used in CLOSURE(this, ...)
The documentation for this class was generated from the following file: