Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

algorithmImport Class Reference

template class to convert a void member function of a class into an algorithmCommand. More...

#include <algorithmImport.h>

Inheritance diagram for algorithmImport:

algorithmCommand algorithmVI List of all members.

Public Methods

 algorithmImport (T* t, ptr_mem run)
 constructor - set the template and the member function to run.

virtual ~algorithmImport ()
 default destructor.

virtual void execute ()
 execute as algorithm the member function of the template class.


Private Types

typedef void (T::*  ptr_mem )()

Private Attributes

T* m_t
 pointer to the template.

ptr_mem m_run
 pointer to the template member function.


Detailed Description

template<class T> class algorithmImport

template class to convert a void member function of a class into an algorithmCommand.

algorihtmImport is an algorithmVI.
algorithmImport takes as arguments: a template class and a pointer to a void member function of this class.

Definition at line 19 of file algorithmImport.h.


Member Typedef Documentation

template<class T>
typedef void (T::* algorithmImport<T>::ptr_mem)() [private]


Constructor & Destructor Documentation

template<class T>
algorithmImport<T>::algorithmImport<T> (
T * t,
ptr_mem run )

constructor - set the template and the member function to run.

Definition at line 27 of file algorithmImport.h.

template<class T>
algorithmImport<T>::~algorithmImport<T> ( ) [inline, virtual]

default destructor.

Definition at line 29 of file algorithmImport.h.


Member Function Documentation

template<class T>
void algorithmImport<T>::execute ( ) [inline, virtual]

execute as algorithm the member function of the template class.

Reimplemented from algorithmVI.

Definition at line 32 of file algorithmImport.h.


Member Data Documentation

template<class T>
ptr_mem algorithmImport<T>::m_run [private]

pointer to the template member function.

Definition at line 39 of file algorithmImport.h.

template<class T>
T * algorithmImport<T>::m_t [private]

pointer to the template.

Definition at line 37 of file algorithmImport.h.


The documentation for this class was generated from the following file:
Generated at Fri Aug 18 12:57:39 2000 for centella framework by doxygen 1.1.3 written by Dimitri van Heesch, © 1997-2000