EagerDecoratorInterface Class Reference

#include <decorator.h>

Inheritance diagram for EagerDecoratorInterface:

详细描述

An eager decorator is a decorator which knows its decorated object already on construction (eagerly).

公共成员函数

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)

私有成员函数

  MAXON_INTERFACE ( EagerDecoratorInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.eagerdecorator")

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( EagerDecoratorInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.interface.eagerdecorator"   
)
private

◆  PrivateSetDecoratedObject() [1/2]

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() [1/2]

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}

◆  PrivateSetDecoratedObject() [2/2]

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}

◆  SetDecoratedObject() [2/2]

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}