μHAL (v2.6.5)
Part of the IPbus software repository
Public Member Functions | List of all members
uhal::BaseFunctionObject< R > Class Template Referenceabstract

Abstract base class for wrapping function pointers, function objects and bound functions as objects. More...

#include <uhal/XmlParser.hpp>

Inheritance diagram for uhal::BaseFunctionObject< R >:
[legend]

Public Member Functions

 BaseFunctionObject ()
 Default constructor. More...
 
virtual ~BaseFunctionObject ()
 Destructor. More...
 
virtual R operator() (const pugi::xml_node &aNode)=0
 Functor which converts an XML node to an object of template type R. More...
 

Detailed Description

template<typename R>
class uhal::BaseFunctionObject< R >

Abstract base class for wrapping function pointers, function objects and bound functions as objects.

Definition at line 75 of file XmlParser.hpp.

Constructor & Destructor Documentation

◆ BaseFunctionObject()

template<typename R >
uhal::BaseFunctionObject< R >::BaseFunctionObject ( )

Default constructor.

Definition at line 45 of file XmlParser.hxx.

◆ ~BaseFunctionObject()

template<typename R >
uhal::BaseFunctionObject< R >::~BaseFunctionObject ( )
virtual

Destructor.

Definition at line 50 of file XmlParser.hxx.

Member Function Documentation

◆ operator()()

template<typename R>
virtual R uhal::BaseFunctionObject< R >::operator() ( const pugi::xml_node &  aNode)
pure virtual

Functor which converts an XML node to an object of template type R.

Parameters
aNodean XML node for converting to an object
Returns
an object of template type R

Implemented in uhal::FunctionObject< R, T * >, and uhal::FunctionObject< R, T >.


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