MDSTk Libraries  1.1.0
Medical Data Segmentation Toolkit
Public Types | Public Member Functions
mds::base::CFuncHandler< T, F > Class Template Reference

Wraps pointers to functions. More...

#include <mdsFunctor.h>

Inheritance diagram for mds::base::CFuncHandler< T, F >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef T::tBase tBase
 Base types.
typedef tBase::tParam1 tParam1
typedef tBase::tParam2 tParam2
typedef tBase::tParam3 tParam3
typedef tBase::tParam4 tParam4
typedef tBase::tResult tResult

Public Member Functions

 CFuncHandler (F Func)
 Constructor.
tBaseclone () const
 Creates a new copy of the functor object.
tResult operator() ()
 Function operators.
tResult operator() (tParam1 p1)
tResult operator() (tParam1 p1, tParam2 p2)
tResult operator() (tParam1 p1, tParam2 p2, tParam3 p3)
tResult operator() (tParam1 p1, tParam2 p2, tParam3 p3, tParam4 p4)

Detailed Description

template<class T, typename F>
class mds::base::CFuncHandler< T, F >

Wraps pointers to functions.


Member Typedef Documentation

template<class T , typename F >
typedef T::tBase mds::base::CFuncHandler< T, F >::tBase

Base types.

template<class T , typename F >
typedef tBase::tParam1 mds::base::CFuncHandler< T, F >::tParam1
template<class T , typename F >
typedef tBase::tParam2 mds::base::CFuncHandler< T, F >::tParam2
template<class T , typename F >
typedef tBase::tParam3 mds::base::CFuncHandler< T, F >::tParam3
template<class T , typename F >
typedef tBase::tParam4 mds::base::CFuncHandler< T, F >::tParam4
template<class T , typename F >
typedef tBase::tResult mds::base::CFuncHandler< T, F >::tResult

Constructor & Destructor Documentation

template<class T , typename F >
mds::base::CFuncHandler< T, F >::CFuncHandler ( Func)

Constructor.


Member Function Documentation

template<class T , typename F >
tBase* mds::base::CFuncHandler< T, F >::clone ( ) const

Creates a new copy of the functor object.

template<class T , typename F >
tResult mds::base::CFuncHandler< T, F >::operator() ( )

Function operators.

template<class T , typename F >
tResult mds::base::CFuncHandler< T, F >::operator() ( tParam1  p1)
template<class T , typename F >
tResult mds::base::CFuncHandler< T, F >::operator() ( tParam1  p1,
tParam2  p2 
)
template<class T , typename F >
tResult mds::base::CFuncHandler< T, F >::operator() ( tParam1  p1,
tParam2  p2,
tParam3  p3 
)
template<class T , typename F >
tResult mds::base::CFuncHandler< T, F >::operator() ( tParam1  p1,
tParam2  p2,
tParam3  p3,
tParam4  p4 
)

The documentation for this class was generated from the following file: