PSCF v1.1
Public Member Functions | List of all members
Util::MethodFunctor< Object, void > Class Template Reference

Functor that wraps a class member function with no arguments. More...

#include <MethodFunctor.h>

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

Public Member Functions

 MethodFunctor (Object &object, Method0Ptr methodPtr)
 Constructor. More...
 
virtual ~MethodFunctor ()
 Destructor. More...
 
virtual void operator() ()
 Call a specific member function with one parameter. More...
 
- Public Member Functions inherited from Util::IFunctor< void >
virtual ~IFunctor ()
 Destructor (virtual) More...
 
virtual void operator() ()=0
 Call a specific member function with one parameter. More...
 

Detailed Description

template<class Object>
class Util::MethodFunctor< Object, void >

Functor that wraps a class member function with no arguments.

Definition at line 67 of file MethodFunctor.h.

Constructor & Destructor Documentation

◆ MethodFunctor()

template<class Object >
Util::MethodFunctor< Object, void >::MethodFunctor ( Object &  object,
Method0Ptr  methodPtr 
)
inline

Constructor.

Parameters
objectinvoking object
methodPtrpointer to member function

Definition at line 79 of file MethodFunctor.h.

◆ ~MethodFunctor()

template<class Object >
virtual Util::MethodFunctor< Object, void >::~MethodFunctor ( )
inlinevirtual

Destructor.

Definition at line 87 of file MethodFunctor.h.

Member Function Documentation

◆ operator()()

template<class Object >
virtual void Util::MethodFunctor< Object, void >::operator() ( )
inlinevirtual

Call a specific member function with one parameter.

Implements Util::IFunctor< void >.

Definition at line 89 of file MethodFunctor.h.


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