Classes | Namespaces | Functions
function_objects.hpp File Reference

Functional objects and generators. More...

#include <ecl/concepts/nullary_function.hpp>
#include "../utilities/references.hpp"
Include dependency graph for function_objects.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ecl::BinaryFunction< A1, A2, R >
 Virtual interface definition for binary function objects. More...
class  ecl::BoundNullaryMemberFunction< C, R >
 Nullary function object for bound nullary member functions. More...
class  ecl::BoundNullaryMemberFunction< C, void >
 Specialisation of the bound nullary member function for void functions. More...
class  ecl::BoundUnaryFreeFunction< A, R >
 Nullary function object for bound unary global/static functions. More...
class  ecl::BoundUnaryFreeFunction< A, void >
 Specialisation for bound void unary functions. More...
class  ecl::BoundUnaryMemberFunction< C, A, R >
 Nullary function object for bound unary member functions. More...
class  ecl::NullaryFreeFunction< R >
 Nullary function object for void global/static functions. More...
class  ecl::NullaryFreeFunction< void >
 Specialisation for free nullary functions that return void. More...
class  ecl::NullaryFunction< R >
 Virtual interface definition for nullary function objects. More...
class  ecl::NullaryFunctionCopy< FunctionObject, Result >
 Create a NullaryFunction object composited from an existing function object. More...
class  ecl::NullaryFunctionCopy< FunctionObject, void >
 Specialisation of NullaryFunctionCopy for void return types. More...
class  ecl::NullaryFunctionReference< FunctionObject, Result >
 Creates a nullary function from a reference wrapper. More...
class  ecl::NullaryFunctionReference< FunctionObject, void >
 Creates a void nullary function from a reference wrapper. More...
class  ecl::NullaryMemberFunction< C, R >
 Unary function object for member functions without arguments. More...
class  ecl::NullaryMemberFunction< C, void >
 Specialisation of the unary function object for void member functions without arguments. More...
class  ecl::PartiallyBoundBinaryMemberFunction< C, A, B, R >
 Binary function object for partially bound binary member functions. More...
class  ecl::PartiallyBoundUnaryMemberFunction< C, A, R >
 Unary function object for partially bound unary member functions. More...
class  ecl::UnaryFreeFunction< A, R >
 Unary function object for global/static functions. More...
class  ecl::UnaryFreeFunction< A, void >
 Specialisations for free unary functions with no return type. More...
class  ecl::UnaryFunction< A, R >
 Virtual interface definition for unary function objects. More...
class  ecl::UnaryFunctionCopy< FunctionObject, T, Result >
 Create a UnaryFunction object composited from an existing function object. More...
class  ecl::UnaryFunctionCopy< FunctionObject, T, void >
 Specialisation of UnaryFunctionCopy for void return types. More...
class  ecl::UnaryFunctionReference< FunctionObject, T, Result >
 Creates a unary function from a reference wrapper. More...
class  ecl::UnaryFunctionReference< ReferenceWrapper, T, void >
 Creates a void unary function from a reference wrapper. More...
class  ecl::UnaryMemberFunction< C, A, R >
 Binary function object for unary member functions. More...
class  ecl::UnaryMemberFunction< C, A, void >
 Specialisation of the binary function object for void unary member functions. More...

Namespaces

namespace  ecl
 

Embedded control libraries.


Functions

template<typename R >
NullaryFreeFunction< R > ecl::generateFunctionObject (R(*function)())
 Generate a nullary function object from a void global/static function.
template<typename A , typename R >
UnaryFreeFunction< A, R > ecl::generateFunctionObject (R(*function)(A))
 Generate a unary function object from a unary global/static function.
template<typename A , typename R , typename I >
BoundUnaryFreeFunction< A, R > ecl::generateFunctionObject (R(*function)(A), I &a)
 Generate a nullary function object from a bound unary global/static function.
template<typename A , typename R , typename I >
BoundUnaryFreeFunction< A, R > ecl::generateFunctionObject (R(*function)(A), const I &a)
 Generate a nullary function object from a bound unary global/static function.
template<typename C , typename R >
NullaryMemberFunction< C, R > ecl::generateFunctionObject (R(C::*function)())
 Generate a unary function object from a nullary member function.
template<typename C , typename R >
BoundNullaryMemberFunction< C, R > ecl::generateFunctionObject (R(C::*function)(), C &c)
 Generate a nullary function object by binding a nullary member function with its instance.
template<typename C , typename A , typename R >
UnaryMemberFunction< C, A, R > ecl::generateFunctionObject (R(C::*function)(A))
 Generate a binary function object from a unary member function.
template<typename C , typename A , typename R >
PartiallyBoundUnaryMemberFunction
< C, A, R > 
ecl::generateFunctionObject (R(C::*function)(A), C &c)
 Generate a unary function object by partially binding a unary member function.
template<typename C , typename A , typename R , typename I >
BoundUnaryMemberFunction< C, A, R > ecl::generateFunctionObject (R(C::*function)(A), C &c, I &a)
 Generate a nullary function object by binding a unary member function.
template<typename C , typename A , typename R , typename I >
BoundUnaryMemberFunction< C, A, R > ecl::generateFunctionObject (R(C::*function)(A), C &c, const I &a)
 Generate a nullary function object by binding a unary member function.

Detailed Description

Functional objects and generators.

Date:
June 2009

Definition in file function_objects.hpp.



ecl_utilities
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 21:17:40