Ocean
Ocean::ParameterizedFunctionBase< RT > Class Template Referenceabstract

This class is the base class for a parameterized function container. More...

Inheritance diagram for Ocean::ParameterizedFunctionBase< RT >:

Public Member Functions

virtual ~ParameterizedFunctionBase ()
 Destructs a parameterized function object. More...
 
virtual RT call () const =0
 Calls the internal encapsulated function and uses the specified parameters. More...
 
virtual ParameterizedFunctionBasecopy () const =0
 Creates a copy of the entire derivated object. More...
 
virtual unsigned int parameters () const =0
 Returns the number of function parameters. More...
 
virtual void * parameter (const unsigned int index)=0
 Returns a specified parameter as a void pointer to the parameter's pointer. More...
 
virtual void setParameter (const unsigned int index, const void *value)=0
 Sets a specified parameter. More...
 
virtual const std::type_info & type (const unsigned int index) const =0
 Returns the parameter type of a specific parameter. More...
 

Detailed Description

template<typename RT>
class Ocean::ParameterizedFunctionBase< RT >

This class is the base class for a parameterized function container.

This base function cantainer allows the specification of parameters and therefore can call the encapsulated function without explicit parameters.

Template Parameters
RTDefines the return data type

Constructor & Destructor Documentation

◆ ~ParameterizedFunctionBase()

template<typename RT >
Ocean::ParameterizedFunctionBase< RT >::~ParameterizedFunctionBase
virtual

Destructs a parameterized function object.

Member Function Documentation

◆ call()

◆ copy()

◆ parameter()

◆ parameters()

◆ setParameter()

◆ type()


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