msl 1.3.0
Loading...
Searching...
No Matches
msl::graph::FlexibleFunctionAdapter< T > Class Template Reference

Detailed Description

template<typename T>
class msl::graph::FlexibleFunctionAdapter< T >

Adapt a FlexibleFunction to its nominal form.

#include <FlexibleFunction.h>

Public Types

using Pointer = std::shared_ptr< Dictionary >
 Reference-counted pointer to Dictionary

 

Public Member Functions

result_type operator() (std::function< T()> const &f) const
 Adapt an empty function.
 
result_type operator() (std::function< T(Dictionary::Pointer)> const &f) const
 Adapt an (dictionary) function.
 
result_type operator() (std::function< T(MrProt &)> const &f) const
 Adapt an (protocol) function.
 
result_type operator() (std::function< T(MrProt &, Dictionary::Pointer)> const &f) const
 Adapt an (protocol, dictionary) function.
 
result_type operator() (std::function< T(MrProt &, SeqLim &, SeqExpo &)> const &f) const
 Adapt an (protocol, limits, exports) function.
 
result_type operator() (std::function< T(MrProt &, SeqLim &, SeqExpo &, msl::Dictionary::Pointer)> const &f) const
 Adapt an (protocol, limits, exports, dictionary) function.
 

Member Typedef Documentation

◆ Pointer

template<typename T >
using msl::Dictionary::Pointer = std::shared_ptr< Dictionary >

Reference-counted pointer to Dictionary

Member Function Documentation

◆ operator()() [1/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T()> const &  f) const
inline

Adapt an empty function.

◆ operator()() [2/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T(Dictionary::Pointer)> const &  f) const
inline

Adapt an (dictionary) function.

◆ operator()() [3/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T(MrProt &)> const &  f) const
inline

Adapt an (protocol) function.

◆ operator()() [4/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T(MrProt &, Dictionary::Pointer)> const &  f) const
inline

Adapt an (protocol, dictionary) function.

◆ operator()() [5/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T(MrProt &, SeqLim &, SeqExpo &)> const &  f) const
inline

Adapt an (protocol, limits, exports) function.

◆ operator()() [6/6]

template<typename T >
result_type msl::graph::FlexibleFunctionAdapter< T >::operator() ( std::function< T(MrProt &, SeqLim &, SeqExpo &, msl::Dictionary::Pointer)> const &  f) const
inline

Adapt an (protocol, limits, exports, dictionary) function.


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