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

itk::ReceptorMemberCommand< 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::ReceptorMemberCommand< T >:

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef void(T::* TMemberFunctionPointer )(const EventObject &)
typedef ReceptorMemberCommand Self
typedef SmartPointer< SelfPointer

Public Member Functions

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

Static Public Member Functions

Pointer New ()

Protected Member Functions

 ReceptorMemberCommand ()
virtual ~ReceptorMemberCommand ()

Protected Attributes

T * m_This
TMemberFunctionPointer m_MemberFunction

Detailed Description

template<class T>
class itk::ReceptorMemberCommand< T >

Command subclass that calls a pointer to a member function.

ReceptorMemberCommand

ReceptorMemberCommand calls a pointer to a member function with only and itk::EventObject as argument

Definition at line 159 of file itkCommand.h.


Member Typedef Documentation

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

Reimplemented from itk::Command.

Definition at line 168 of file itkCommand.h.

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

Standard class typedefs.

Reimplemented from itk::Command.

Definition at line 167 of file itkCommand.h.

Referenced by itk::ReceptorMemberCommand< T >::~ReceptorMemberCommand().

template<class T>
typedef void(T::* itk::ReceptorMemberCommand< T >::TMemberFunctionPointer)(const EventObject &)
 

pointer to a member function that takes a Object* and the event

Definition at line 164 of file itkCommand.h.

Referenced by itk::ReceptorMemberCommand< T >::Execute(), and itk::ReceptorMemberCommand< T >::~ReceptorMemberCommand().


Constructor & Destructor Documentation

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

Definition at line 208 of file itkCommand.h.

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

Definition at line 209 of file itkCommand.h.

References itk::ReceptorMemberCommand< T >::Self, and itk::ReceptorMemberCommand< T >::TMemberFunctionPointer.


Member Function Documentation

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

Invoke the member function with a const object

Implements itk::Command.

Definition at line 196 of file itkCommand.h.

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

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

Invoke the member function.

Implements itk::Command.

Definition at line 186 of file itkCommand.h.

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

Run-time type information (and related methods).

Reimplemented from itk::Command.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

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

Set the callback function along with the object that it will be invoked on.

Definition at line 178 of file itkCommand.h.

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


Member Data Documentation

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

Definition at line 207 of file itkCommand.h.

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

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

Definition at line 206 of file itkCommand.h.

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


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