#include <itkCommand.h>
Inheritance diagram for itk::MemberCommand< T >:
Public Types | |
typedef MemberCommand | Self |
typedef SmartPointer< Self > | Pointer |
typedef void(T::* | TMemberFunctionPointer )(Object *, const EventObject &) |
typedef void(T::* | TConstMemberFunctionPointer )(const Object *, const EventObject &) |
Public Member Functions | |
virtual const char * | GetNameOfClass () const |
void | SetCallbackFunction (T *object, TMemberFunctionPointer memberFunction) |
void | SetCallbackFunction (T *object, TConstMemberFunctionPointer memberFunction) |
virtual void | Execute (Object *caller, const EventObject &event) |
virtual void | Execute (const Object *caller, const EventObject &event) |
Static Public Member Functions | |
Pointer | New () |
Protected Member Functions | |
MemberCommand () | |
virtual | ~MemberCommand () |
Protected Attributes | |
T * | m_This |
TMemberFunctionPointer | m_MemberFunction |
TConstMemberFunctionPointer | m_ConstMemberFunction |
MemberCommand calls a pointer to a member function with the same arguments as Execute on Command.
Definition at line 81 of file itkCommand.h.
|
Reimplemented from itk::Command. Definition at line 92 of file itkCommand.h. |
|
Standard class typedefs. Reimplemented from itk::Command. Definition at line 91 of file itkCommand.h. Referenced by itk::MemberCommand< T >::MemberCommand(). |
|
pointer to a member function that takes a Object* and the event Definition at line 87 of file itkCommand.h. |
|
pointer to a member function that takes a Object* and the event Definition at line 86 of file itkCommand.h. |
|
Definition at line 140 of file itkCommand.h. References itk::MemberCommand< T >::Self. |
|
Definition at line 141 of file itkCommand.h. |
|
Invoke the member function with a const object. Implements itk::Command. Definition at line 127 of file itkCommand.h. References itk::MemberCommand< T >::m_ConstMemberFunction. |
|
Invoke the member function. Implements itk::Command. Definition at line 117 of file itkCommand.h. References itk::MemberCommand< T >::m_MemberFunction. |
|
Run-time type information (and related methods). Reimplemented from itk::Command. |
|
Method for creation through the object factory. Reimplemented from itk::Object. |
|
Set the callback function along with the object that it will be invoked on. Definition at line 108 of file itkCommand.h. References itk::MemberCommand< T >::m_ConstMemberFunction, and itk::MemberCommand< T >::m_This. |
|
Set the callback function along with the object that it will be invoked on. Definition at line 102 of file itkCommand.h. References itk::MemberCommand< T >::m_MemberFunction, and itk::MemberCommand< T >::m_This. |
|
Definition at line 139 of file itkCommand.h. Referenced by itk::MemberCommand< T >::Execute(), and itk::MemberCommand< T >::SetCallbackFunction(). |
|
Definition at line 138 of file itkCommand.h. Referenced by itk::MemberCommand< T >::Execute(), and itk::MemberCommand< T >::SetCallbackFunction(). |
|
Definition at line 137 of file itkCommand.h. Referenced by itk::MemberCommand< T >::SetCallbackFunction(). |