Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berry::MessageDelegate< R, A > Class Template Reference

#include <berryMessage.h>

Inheritance diagram for berry::MessageDelegate< R, A >:
Collaboration diagram for berry::MessageDelegate< R, A >:

Public Member Functions

 MessageDelegate (R *object, A(R::*memberFunctionPointer)())
 
 ~MessageDelegate () override
 
Execute () override
 
bool operator== (const MessageAbstractDelegate< A > *c) override
 
MessageAbstractDelegate< A > * Clone () const override
 
- Public Member Functions inherited from berry::MessageAbstractDelegate< void >
virtual ~MessageAbstractDelegate ()
 
virtual bool operator== (const MessageAbstractDelegate *cmd)=0
 
virtual MessageAbstractDelegateClone () const=0
 

Detailed Description

template<class R, typename A = void>
class berry::MessageDelegate< R, A >

Definition at line 124 of file berryMessage.h.

Constructor & Destructor Documentation

◆ MessageDelegate()

template<class R , typename A = void>
berry::MessageDelegate< R, A >::MessageDelegate ( R *  object,
A(R::*)()  memberFunctionPointer 
)
inline

Definition at line 130 of file berryMessage.h.

Referenced by berry::MessageDelegate< R, A >::Clone().

◆ ~MessageDelegate()

template<class R , typename A = void>
berry::MessageDelegate< R, A >::~MessageDelegate ( )
inlineoverride

Definition at line 135 of file berryMessage.h.

Member Function Documentation

◆ Clone()

template<class R , typename A = void>
MessageAbstractDelegate<A>* berry::MessageDelegate< R, A >::Clone ( ) const
inlineoverride

Definition at line 159 of file berryMessage.h.

References berry::MessageDelegate< R, A >::MessageDelegate().

◆ Execute()

template<class R , typename A = void>
A berry::MessageDelegate< R, A >::Execute ( )
inlineoverridevirtual

Implements berry::MessageAbstractDelegate< void >.

Definition at line 140 of file berryMessage.h.

◆ operator==()

template<class R , typename A = void>
bool berry::MessageDelegate< R, A >::operator== ( const MessageAbstractDelegate< A > *  c)
inlineoverride

Definition at line 145 of file berryMessage.h.


The documentation for this class was generated from the following file: