#include <decorator.h>
A weak decorator is a decorator which stores its decorated object as a weak reference.
公共成员函数 |
|
MAXON_METHOD void | PrivateSetDecoratedObject (const ObjectRef &object) |
template<typename INTERFACE > | |
MAXON_FUNCTION void | SetDecoratedObject (const ObjectBaseRef < INTERFACE > &object) |
私有成员函数 |
|
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} |