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 * GetClassName () 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 152 of file itkCommand.h.


Member Typedef Documentation

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

Reimplemented from itk::Command.

Definition at line 161 of file itkCommand.h.

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

Standard class typedefs.

Reimplemented from itk::Command.

Definition at line 160 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 157 of file itkCommand.h.

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


Constructor & Destructor Documentation

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

Definition at line 201 of file itkCommand.h.

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

Definition at line 202 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 189 of file itkCommand.h.

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

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 179 of file itkCommand.h.

template<class T>
virtual const char* itk::ReceptorMemberCommand< T >::GetClassName  )  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 171 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 200 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 199 of file itkCommand.h.

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


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 02:51:49 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000