"Fossies" - the Fresh Open Source Software Archive

Member "libsigc++-3.0.0/docs/docs/reference/html/structsigc_1_1compose2__functor.html" (5 Sep 2019, 14190 Bytes) of package /linux/misc/libsigc++-3.0.0.tar.xz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. You can here alternatively try to browse the pure source code or just view or download the uninterpreted raw source code. If the rendering is insufficient you may try to find and view the page on the project site itself.

libsigc++  3.0.0
Public Member Functions | Public Attributes | List of all members
sigc::compose2_functor< T_setter, T_getter1, T_getter2 > Struct Template Reference

Adaptor that combines three functors. More...

#include <sigc++/adaptors/compose.h>

Inheritance diagram for sigc::compose2_functor< T_setter, T_getter1, T_getter2 >:
Inheritance graph
[legend]

Public Member Functions

 compose2_functor (const T_setter& setter, const T_getter1& getter1, const T_getter2& getter2)
 Constructs a compose2_functor object that combines the passed functors. More...
 
template<typename... T_arg>
decltype(auto) operator() (T_arg...a)
 
- Public Member Functions inherited from sigc::adapts< T_setter >
 adapts (const T_setter& functor)
 Constructs an adaptor that wraps the passed functor. More...
 

Public Attributes

T_getter1 get1_
 
T_getter2 get2_
 
- Public Attributes inherited from sigc::adapts< T_setter >
adaptor_type functor_
 Adaptor that is invoked from operator()(). More...
 

Detailed Description

template<typename T_setter, typename T_getter1, typename T_getter2>
struct sigc::compose2_functor< T_setter, T_getter1, T_getter2 >

Adaptor that combines three functors.

Use the convenience function sigc::compose() to create an instance of sigc::compose2_functor.

The following template arguments are used:

Constructor & Destructor Documentation

template <typename T_setter , typename T_getter1 , typename T_getter2 >
sigc::compose2_functor< T_setter, T_getter1, T_getter2 >::compose2_functor ( const T_setter &  setter,
const T_getter1 &  getter1,
const T_getter2 &  getter2 
)
inline

Constructs a compose2_functor object that combines the passed functors.

Parameters
setterFunctor that receives the return values of the invocation of getter1 and getter2.
getter1Functor to invoke from operator()().
getter2Functor to invoke from operator()().

Member Function Documentation

template <typename T_setter , typename T_getter1 , typename T_getter2 >
template <typename... T_arg>
decltype(auto) sigc::compose2_functor< T_setter, T_getter1, T_getter2 >::operator() ( T_arg...  a)
inline

Member Data Documentation

template <typename T_setter , typename T_getter1 , typename T_getter2 >
T_getter1 sigc::compose2_functor< T_setter, T_getter1, T_getter2 >::get1_
template <typename T_setter , typename T_getter1 , typename T_getter2 >
T_getter2 sigc::compose2_functor< T_setter, T_getter1, T_getter2 >::get2_