Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::SimpleMemberCommand< T > Class Template Reference
[ITK System Objects]

Command subclass that calls a pointer to a member function. More...

#include <itkCommand.h>

Inheritance diagram for itk::SimpleMemberCommand< T >:

Inheritance graph
[legend]
Collaboration diagram for itk::SimpleMemberCommand< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T::* TMemberFunctionPointer )()
typedef SimpleMemberCommand Self
typedef SmartPointer< SelfPointer

Public Member Functions

virtual const char * GetNameOfClass () const
void SetCallbackFunction (T *object, TMemberFunctionPointer memberFunction)
virtual void Execute (Object *, const EventObject &)
virtual void Execute (const Object *, const EventObject &)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 SimpleMemberCommand ()
virtual ~SimpleMemberCommand ()

Protected Attributes

T * m_This
TMemberFunctionPointer m_MemberFunction

Detailed Description

template<class T>
class itk::SimpleMemberCommand< T >

Command subclass that calls a pointer to a member function.

SimpleMemberCommand

SimpleMemberCommand calls a pointer to a member function with no arguments.

Definition at line 227 of file itkCommand.h.


Member Typedef Documentation

template<class T>
typedef SmartPointer<Self> itk::SimpleMemberCommand< T >::Pointer
 

Reimplemented from itk::Command.

Definition at line 236 of file itkCommand.h.

template<class T>
typedef SimpleMemberCommand itk::SimpleMemberCommand< T >::Self
 

Standard class typedefs.

Reimplemented from itk::Command.

Definition at line 235 of file itkCommand.h.

template<class T>
typedef void(T::* itk::SimpleMemberCommand< T >::TMemberFunctionPointer)()
 

A method callback.

Definition at line 232 of file itkCommand.h.

Referenced by itk::SimpleMemberCommand< T >::Execute().


Constructor & Destructor Documentation

template<class T>
itk::SimpleMemberCommand< T >::SimpleMemberCommand  )  [inline, protected]
 

Definition at line 272 of file itkCommand.h.

template<class T>
virtual itk::SimpleMemberCommand< T >::~SimpleMemberCommand  )  [inline, protected, virtual]
 

Definition at line 273 of file itkCommand.h.


Member Function Documentation

template<class T>
virtual void itk::SimpleMemberCommand< T >::Execute const Object ,
const EventObject
[inline, virtual]
 

Invoke the callback function.

Implements itk::Command.

Definition at line 260 of file itkCommand.h.

References itk::SimpleMemberCommand< T >::m_MemberFunction, itk::SimpleMemberCommand< T >::m_This, and itk::SimpleMemberCommand< T >::TMemberFunctionPointer.

template<class T>
virtual void itk::SimpleMemberCommand< T >::Execute Object ,
const EventObject
[inline, virtual]
 

Invoke the callback function.

Implements itk::Command.

Definition at line 253 of file itkCommand.h.

References itk::SimpleMemberCommand< T >::m_MemberFunction.

template<class T>
virtual const char* itk::SimpleMemberCommand< T >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Command.

template<class T>
Pointer itk::SimpleMemberCommand< T >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

template<class T>
void itk::SimpleMemberCommand< T >::SetCallbackFunction T *  object,
TMemberFunctionPointer  memberFunction
[inline]
 

Specify the callback function.

Definition at line 245 of file itkCommand.h.

References itk::SimpleMemberCommand< T >::m_MemberFunction.


Member Data Documentation

template<class T>
TMemberFunctionPointer itk::SimpleMemberCommand< T >::m_MemberFunction [protected]
 

Definition at line 271 of file itkCommand.h.

Referenced by itk::SimpleMemberCommand< T >::Execute(), and itk::SimpleMemberCommand< T >::SetCallbackFunction().

template<class T>
T* itk::SimpleMemberCommand< T >::m_This [protected]
 

Definition at line 270 of file itkCommand.h.

Referenced by itk::SimpleMemberCommand< T >::Execute().


The documentation for this class was generated from the following file:
Generated at Thu May 25 02:21:39 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000