WeakDecoratorInterface Class Reference

#include <decorator.h>

Inheritance diagram for WeakDecoratorInterface:

详细描述

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")

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( WeakDecoratorInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.interface.weakdecorator"   
)
private

◆  PrivateSetDecoratedObject()

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}

◆  SetDecoratedObject()

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}