PSCF v1.1
Public Member Functions | List of all members
Util::IFunctor< T > Class Template Referenceabstract

Interface for functor that wraps a void function with one argument (abstract). More...

#include <IFunctor.h>

Inheritance diagram for Util::IFunctor< T >:
Util::MethodFunctor< Object, T >

Public Member Functions

virtual ~IFunctor ()
 Destructor (virtual) More...
 
virtual void operator() (const T &t)=0
 Call the associated function. More...
 

Detailed Description

template<typename T = void>
class Util::IFunctor< T >

Interface for functor that wraps a void function with one argument (abstract).

The operator (const T& t ) invokes the associated one-parameter function.

Definition at line 24 of file IFunctor.h.

Constructor & Destructor Documentation

◆ ~IFunctor()

template<typename T = void>
virtual Util::IFunctor< T >::~IFunctor ( )
inlinevirtual

Destructor (virtual)

Definition at line 31 of file IFunctor.h.

Member Function Documentation

◆ operator()()

template<typename T = void>
virtual void Util::IFunctor< T >::operator() ( const T &  t)
pure virtual

Call the associated function.

Parameters
tparameter value passed to associated function.

Implemented in Util::MethodFunctor< Object, T >.


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