#include <decorator.h>
An eager decorator is a decorator which knows its decorated object already on construction (eagerly).
Public Member Functions | |
MAXON_METHOD void | PrivateSetDecoratedObject (const ObjectRef &object) |
template<typename INTERFACE > | |
MAXON_FUNCTION void | SetDecoratedObject (const ObjectBaseRef< INTERFACE > &object) |
MAXON_METHOD void | PrivateSetDecoratedObject (ObjectRef &&object) |
template<typename INTERFACE > | |
MAXON_FUNCTION void | SetDecoratedObject (ObjectBaseRef< INTERFACE > &&object) |
Private Member Functions | |
MAXON_INTERFACE (EagerDecoratorInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.eagerdecorator") | |
|
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} |
MAXON_METHOD void PrivateSetDecoratedObject | ( | 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 | ( | ObjectBaseRef< INTERFACE > && | object | ) |
Sets the object where all calls should be forwarded to.
[in] | object | The object to decorate. @MAXON_ANNOTATION{interfaceParameter=INTERFACE} |