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

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

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

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Member Functions

virtual const char * GetClassName () const
void SetCallbackFunction (const 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

 SimpleConstMemberCommand ()
virtual ~SimpleConstMemberCommand ()

Protected Attributes

const T * m_This
TMemberFunctionPointer m_MemberFunction

Detailed Description

template<class T>
class itk::SimpleConstMemberCommand< T >

Command subclass that calls a pointer to a member function.

SimpleConstMemberCommand

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

Definition at line 284 of file itkCommand.h.


Member Typedef Documentation

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

Reimplemented from itk::Command.

Definition at line 293 of file itkCommand.h.

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

Standard class typedefs.

Reimplemented from itk::Command.

Definition at line 292 of file itkCommand.h.

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

A const member method callback. Definition at line 289 of file itkCommand.h.


Constructor & Destructor Documentation

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

Definition at line 329 of file itkCommand.h.

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

Definition at line 330 of file itkCommand.h.


Member Function Documentation

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

Invoke the const member method callback.

Implements itk::Command.

Definition at line 317 of file itkCommand.h.

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

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

Invoke the const member method callback.

Implements itk::Command.

Definition at line 310 of file itkCommand.h.

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

template<class T>
virtual const char* itk::SimpleConstMemberCommand< T >::GetClassName  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Command.

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

Method for creation through the object factory.

Reimplemented from itk::Object.

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

Specify the const member method callback. Definition at line 302 of file itkCommand.h.

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


Member Data Documentation

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

Definition at line 328 of file itkCommand.h.

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

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

Definition at line 327 of file itkCommand.h.


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