|
GDCM
2.2.4
|
Command subclass that calls a pointer to a member function. More...
#include <gdcmCommand.h>


Public Types | |
| typedef SimpleMemberCommand | Self |
| typedef void(T::* | TMemberFunctionPointer )() |
Public Member Functions | |
| virtual void | Execute (Subject *, const Event &) |
| virtual void | Execute (const Subject *, const Event &) |
| void | SetCallbackFunction (T *object, TMemberFunctionPointer memberFunction) |
Static Public Member Functions | |
| static SmartPointer < SimpleMemberCommand > | New () |
Protected Member Functions | |
| SimpleMemberCommand () | |
| virtual | ~SimpleMemberCommand () |
Protected Member Functions inherited from gdcm::Command | |
| Command () | |
| ~Command () | |
Protected Attributes | |
| TMemberFunctionPointer | m_MemberFunction |
| T * | m_This |
Command subclass that calls a pointer to a member function.
SimpleMemberCommand calls a pointer to a member function with no arguments.
| typedef SimpleMemberCommand gdcm::SimpleMemberCommand< T >::Self |
Standard class typedefs.
| typedef void(T::* gdcm::SimpleMemberCommand< T >::TMemberFunctionPointer)() |
A method callback.
|
inlineprotected |
Referenced by gdcm::SimpleMemberCommand< T >::New().
|
inlineprotectedvirtual |
|
inlinevirtual |
Invoke the callback function.
Implements gdcm::Command.
References gdcm::SimpleMemberCommand< T >::m_MemberFunction.
|
inlinevirtual |
Abstract method that defines the action to be taken by the command. This variant is expected to be used when requests comes from a const Object
Implements gdcm::Command.
References gdcm::SimpleMemberCommand< T >::m_MemberFunction.
|
inlinestatic |
Run-time type information (and related methods). Method for creation through the object factory.
References gdcm::SimpleMemberCommand< T >::SimpleMemberCommand().
|
inline |
Specify the callback function.
References gdcm::SimpleMemberCommand< T >::m_MemberFunction, and gdcm::SimpleMemberCommand< T >::m_This.
|
protected |
|
protected |
Referenced by gdcm::SimpleMemberCommand< T >::SetCallbackFunction().
1.8.4