Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::AbstractDelegate< void > Class Referenceabstract

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)=0
 
virtual bool equals (const AbstractDelegate &other) const =0
 
virtual AbstractDelegateclone () const =0
 Compares the AbstractDelegate with the other one for equality.
 
virtual void disable ()=0
 Returns a deep copy of the AbstractDelegate.
 
virtual const AbstractDelegateunwrap () const
 Disables the delegate, which is done prior to removal.
 

Detailed Description

Base class for Delegate and Expire.

Definition at line 68 of file AbstractDelegate.h.

Constructor & Destructor Documentation

◆ AbstractDelegate() [1/2]

Poco::AbstractDelegate< void >::AbstractDelegate ( )
inline

Definition at line 72 of file AbstractDelegate.h.

◆ AbstractDelegate() [2/2]

Poco::AbstractDelegate< void >::AbstractDelegate ( const AbstractDelegate< void > & )
inline

Definition at line 76 of file AbstractDelegate.h.

◆ ~AbstractDelegate()

virtual Poco::AbstractDelegate< void >::~AbstractDelegate ( )
inlinevirtual

Definition at line 80 of file AbstractDelegate.h.

Member Function Documentation

◆ clone()

virtual AbstractDelegate * Poco::AbstractDelegate< void >::clone ( ) const
pure virtual

Compares the AbstractDelegate with the other one for equality.

◆ disable()

virtual void Poco::AbstractDelegate< void >::disable ( )
pure virtual

Returns a deep copy of the AbstractDelegate.

◆ equals()

virtual bool Poco::AbstractDelegate< void >::equals ( const AbstractDelegate< void > & other) const
pure virtual

Invokes the delegate's callback function. Returns true if successful, or false if the delegate has been disabled or has expired.

◆ notify()

virtual bool Poco::AbstractDelegate< void >::notify ( const void * sender)
pure virtual

◆ unwrap()

virtual const AbstractDelegate * Poco::AbstractDelegate< void >::unwrap ( ) const
inlinevirtual

Disables the delegate, which is done prior to removal.

Returns the unwrapped delegate. Must be overridden by decorators like Expire.

Definition at line 98 of file AbstractDelegate.h.


The documentation for this class was generated from the following file: