Yate
|
Abstract message hook. More...
#include <yatengine.h>
Public Member Functions | |
virtual bool | enqueue (Message *msg)=0 |
virtual void | clear ()=0 |
virtual bool | matchesFilter (const Message &msg)=0 |
Public Member Functions inherited from RefObject | |
RefObject () | |
virtual | ~RefObject () |
virtual void * | getObject (const String &name) const |
virtual bool | alive () const |
bool | ref () |
bool | deref () |
int | refcount () const |
virtual void | destruct () |
Public Member Functions inherited from GenObject | |
GenObject () | |
virtual | ~GenObject () |
virtual const String & | toString () const |
NamedCounter * | getObjCounter () const |
NamedCounter * | setObjCounter (NamedCounter *counter) |
Additional Inherited Members | |
Static Public Member Functions inherited from RefObject | |
static bool | alive (const RefObject *obj) |
static bool | efficientIncDec () |
Static Public Member Functions inherited from GenObject | |
static void * | getObject (const String &name, const GenObject *obj) |
static bool | getObjCounting () |
static void | setObjCounting (bool enable) |
static NamedCounter * | getObjCounter (const String &name, bool create=true) |
static ObjList & | getObjCounters () |
Protected Member Functions inherited from RefObject | |
virtual void | zeroRefs () |
bool | resurrect () |
virtual void | destroyed () |
Abstract message hook.
Abstract class for message hook
|
pure virtual |
Clear this hook data
Implemented in MessageQueue.
|
pure virtual |
Try to enqueue a message to this hook's queue
msg | The message to enqueue |
Implemented in MessageQueue.
|
pure virtual |
Check if the given message can be inserted in this queue
msg | The message to check |
Implemented in MessageQueue.