#include <decorator.h>
A weak decorator is a decorator which stores its decorated object as a weak reference.
Public Member Functions | |
MAXON_METHOD void | PrivateSetDecoratedObject (const ObjectRef &object) |
template<typename INTERFACE > | |
MAXON_FUNCTION void | SetDecoratedObject (const ObjectBaseRef< INTERFACE > &object) |
Private Member Functions | |
MAXON_INTERFACE (WeakDecoratorInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.weakdecorator") | |
|
private |
MAXON_METHOD void PrivateSetDecoratedObject | ( | const ObjectRef & | object | ) |
Sets the object where all calls should be forwarded to.
[in] | object | The object to decorate. @MAXON_ANNOTATION{refclass=false} |
MAXON_FUNCTION void SetDecoratedObject | ( | const ObjectBaseRef< INTERFACE > & | object | ) |
Sets the object where all calls should be forwarded to.
[in] | object | The object to decorate. @MAXON_ANNOTATION{interfaceParameter=INTERFACE} |