Ark Server API (ASE) - Wiki
|
Base class for Delegate and Expire. More...
#include <AbstractDelegate.h>
Public Member Functions | |
AbstractDelegate () | |
AbstractDelegate (const AbstractDelegate &) | |
virtual | ~AbstractDelegate () |
virtual bool | notify (const void *sender, TArgs &arguments)=0 |
virtual bool | equals (const AbstractDelegate &other) const =0 |
virtual AbstractDelegate * | clone () const =0 |
Compares the AbstractDelegate with the other one for equality. | |
virtual void | disable ()=0 |
Returns a deep copy of the AbstractDelegate. | |
virtual const AbstractDelegate * | unwrap () const |
Disables the delegate, which is done prior to removal. | |
Base class for Delegate and Expire.
Definition at line 28 of file AbstractDelegate.h.
|
inline |
Definition at line 32 of file AbstractDelegate.h.
|
inline |
Definition at line 36 of file AbstractDelegate.h.
|
inlinevirtual |
Definition at line 40 of file AbstractDelegate.h.
|
pure virtual |
Compares the AbstractDelegate with the other one for equality.
|
pure virtual |
Returns a deep copy of the AbstractDelegate.
|
pure virtual |
Invokes the delegate's callback function. Returns true if successful, or false if the delegate has been disabled or has expired.
|
pure virtual |
|
inlinevirtual |
Disables the delegate, which is done prior to removal.
Returns the unwrapped delegate. Must be overridden by decorators like Expire.
Definition at line 58 of file AbstractDelegate.h.