#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 * | GetClassName () 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 74 of file itkCommand.h.
|
Reimplemented from itk::Command. Definition at line 85 of file itkCommand.h. |
|
Standard class typedefs. Reimplemented from itk::Command. Definition at line 84 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 80 of file itkCommand.h. |
|
pointer to a member function that takes a Object* and the event Definition at line 79 of file itkCommand.h. |
|
Definition at line 133 of file itkCommand.h. References itk::MemberCommand< T >::Self. |
|
Definition at line 134 of file itkCommand.h. |
|
Invoke the member function with a const object. Implements itk::Command. Definition at line 120 of file itkCommand.h. References itk::MemberCommand< T >::m_ConstMemberFunction. |
|
Invoke the member function. Implements itk::Command. Definition at line 110 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 101 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 95 of file itkCommand.h. References itk::MemberCommand< T >::m_MemberFunction, and itk::MemberCommand< T >::m_This. |
|
Definition at line 132 of file itkCommand.h. Referenced by itk::MemberCommand< T >::Execute(), and itk::MemberCommand< T >::SetCallbackFunction(). |
|
Definition at line 131 of file itkCommand.h. Referenced by itk::MemberCommand< T >::Execute(), and itk::MemberCommand< T >::SetCallbackFunction(). |
|
Definition at line 130 of file itkCommand.h. Referenced by itk::MemberCommand< T >::SetCallbackFunction(). |