libsigc++  2.99.1
Classes | Typedefs | Functions
sigc Namespace Reference

The libsigc++ namespace. More...

Classes

struct  adaptor_base
 A hint to the compiler. More...
 
struct  adaptor_functor
 Converts an arbitrary functor into an adaptor type. More...
 
struct  adaptor_trait
 Trait that specifies what is the adaptor version of a functor type. More...
 
struct  adaptor_trait< T_functor, false >
 Trait that specifies what is the adaptor version of a functor type. More...
 
struct  adaptor_trait< T_functor, true >
 Trait that specifies what is the adaptor version of a functor type. More...
 
struct  adapts
 Base type for adaptors. More...
 
struct  bind_functor
 Adaptor that binds arguments to the wrapped functor. More...
 
struct  bind_functor<-1, T_functor, T_type...>
 Adaptor that binds argument(s) to the wrapped functor. More...
 
struct  bind_return_functor
 Adaptor that fixes the return value of the wrapped functor. More...
 
class  bound_argument
 A bound_argument<Foo> object stores a bound (for instance, with sigc::bind(), or sigc::bind_return()) argument. More...
 
class  bound_argument< std::reference_wrapper< const T_wrapped > >
 bound_argument object for a bound argument that is passed by bind() or returned by bind_return() by const reference, specialized for const reference_wrapper<> types. More...
 
class  bound_argument< std::reference_wrapper< T_wrapped > >
 bound_argument object for a bound argument that is passed by bind() or returned by bind_return() by reference, specialized for std::reference_wrapper<> types. More...
 
class  bound_mem_functor
 
class  can_deduce_result_type_with_decltype
 Helper class, to determine if decltype() can deduce the result type of a functor. More...
 
struct  compose1_functor
 Adaptor that combines two functors. More...
 
struct  compose2_functor
 Adaptor that combines three functors. More...
 
struct  connection
 Convinience class for safe disconnection. More...
 
struct  exception_catch_functor
 
struct  exception_catch_functor< T_functor, T_catcher, void >
 
struct  functor_base
 A hint to the compiler. More...
 
struct  functor_trait
 Trait that specifies the return type of any type. More...
 
struct  hide_functor
 Adaptor that adds a dummy parameter to the wrapped functor. More...
 
class  limit_reference
 A limit_reference<Foo> object stores a reference (Foo&), but makes sure that, if Foo inherits from sigc::trackable, then visit_each<>() will "limit" itself to the sigc::trackable reference instead of the derived reference. More...
 
class  limit_reference< T_type, true >
 limit_reference object for a class that derives from trackable. More...
 
class  mem_functor
 
struct  member_method_class
 
struct  member_method_class< T_result(T_obj::*)(T_arg...) const >
 
struct  member_method_class< T_result(T_obj::*)(T_arg...) const volatile >
 
struct  member_method_class< T_result(T_obj::*)(T_arg...) volatile >
 
struct  member_method_class< T_result(T_obj::*)(T_arg...)>
 
struct  member_method_is_const
 
struct  member_method_is_const< T_result(T_obj::*)(T_arg...) const >
 
struct  member_method_is_const< T_result(T_obj::*)(T_arg...) const volatile >
 
struct  member_method_is_const< T_result(T_obj::*)(T_arg...) volatile >
 
struct  member_method_is_const< T_result(T_obj::*)(T_arg...)>
 
struct  member_method_is_volatile
 
struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) const >
 
struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) const volatile >
 
struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...) volatile >
 
struct  member_method_is_volatile< T_result(T_obj::*)(T_arg...)>
 
struct  member_method_result
 
struct  member_method_result< T_result(T_obj::*)(T_arg...) const >
 
struct  member_method_result< T_result(T_obj::*)(T_arg...) const volatile >
 
struct  member_method_result< T_result(T_obj::*)(T_arg...) volatile >
 
struct  member_method_result< T_result(T_obj::*)(T_arg...)>
 
struct  notifiable
 
class  pointer_functor
 pointer_functor wraps existing non-member functions with, or without, arguments. More...
 
struct  retype_functor
 Adaptor that performs C-style casts on the parameters passed on to the functor. More...
 
struct  retype_return_functor
 Adaptor that performs a C-style cast on the return value of a functor. More...
 
struct  retype_return_functor< void, T_functor >
 Adaptor that performs a C-style cast on the return value of a functor. More...
 
class  signal
 Convenience wrapper for the numbered sigc::signal# templates. More...
 
struct  signal_base
 Base class for the sigc::signal# templates. More...
 
class  signal_with_accumulator
 Signal declaration. More...
 
class  slot
 Converts an arbitrary functor to a unified type which is opaque. More...
 
class  slot_base
 Base type for slots. More...
 
struct  slot_const_iterator
 STL-style const iterator for slot_list. More...
 
struct  slot_iterator
 STL-style iterator for slot_list. More...
 
struct  slot_list
 STL-style list interface for sigc::signal#. More...
 
class  track_obj_functor
 track_obj_functor wraps a functor and stores a reference to a trackable object. More...
 
struct  trackable
 Base class for objects with auto-disconnection. More...
 
struct  type_trait
 
struct  type_trait< const T_type& >
 
struct  type_trait< T_type& >
 
struct  type_trait< T_type[N]>
 
struct  type_trait< void >
 
struct  unwrap_reference
 
struct  unwrap_reference< std::reference_wrapper< const T_type > >
 
struct  unwrap_reference< std::reference_wrapper< T_type > >
 
struct  visitor
 sigc::visitor<T_functor>::do_visit_each() performs a functor on each of the targets of a functor. More...
 

Typedefs

template<typename T >
using type_trait_pass_t = typename type_trait< T >::pass
 
template<typename T >
using type_trait_take_t = typename type_trait< T >::take
 

Functions

template<int I_location, class T_functor , class... T_bound>
decltype(auto) bind (const T_functor& _A_func, T_bound..._A_b)
 Creates an adaptor of type sigc::bind_functor which binds the passed argument to the passed functor. More...
 
template<class T_functor , class... T_type>
decltype(auto) bind (const T_functor& _A_func, T_type..._A_b)
 Creates an adaptor of type sigc::bind_functor which fixes the last arguments of the passed functor. More...
 
template<class T_return , class T_functor >
bind_return_functor< T_return, T_functor > bind_return (const T_functor& _A_functor, T_return _A_ret_value)
 Creates an adaptor of type sigc::bind_return_functor which fixes the return value of the passed functor to the passed argument. More...
 
template<class T_setter , class T_getter >
compose1_functor< T_setter, T_getter > compose (const T_setter& _A_setter, const T_getter& _A_getter)
 Creates an adaptor of type sigc::compose1_functor which combines two functors. More...
 
template<class T_setter , class T_getter1 , class T_getter2 >
compose2_functor< T_setter, T_getter1, T_getter2 > compose (const T_setter& _A_setter, const T_getter1& _A_getter1, const T_getter2& _A_getter2)
 Creates an adaptor of type sigc::compose2_functor which combines three functors. More...
 
template<class T_functor , class T_catcher >
decltype(auto) exception_catch (const T_functor& _A_func, const T_catcher& _A_catcher)
 
template<int I_location, class T_functor >
decltype(auto) hide (const T_functor& _A_func)
 Creates an adaptor of type sigc::hide_functor which adds a dummy parameter to the passed functor. More...
 
template<class T_functor >
decltype(auto) hide (const T_functor& _A_func)
 Creates an adaptor of type sigc::hide_functor which adds a dummy parameter to the passed functor. More...
 
template<class T_functor >
retype_return_functor< void, T_functor > hide_return (const T_functor& _A_functor)
 Creates an adaptor of type sigc::retype_return_functor which drops the return value of the passed functor. More...
 
template<class T_return , class T_obj , class... T_arg>
decltype(auto) mem_fun (T_return(T_obj::* _A_func)(T_arg...))
 Creates a functor of type sigc::mem_functor which wraps a method. More...
 
template<class T_return , class T_obj , class T_obj2 , class... T_arg>
decltype(auto) mem_fun (T_obj* _A_obj, T_return(T_obj2::* _A_func)(T_arg...))
 Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
 
template<class T_return , class T_obj , class T_obj2 , class... T_arg>
decltype(auto) mem_fun (T_obj& _A_obj, T_return(T_obj2::* _A_func)(T_arg...))
 Creates a functor of type sigc::bound_mem_functor which encapsulates a method and an object instance. More...
 
template<class T_return , class... T_args>
pointer_functor< T_return, T_args...> ptr_fun (T_return(* _A_func)(T_args...))
 Creates a functor of type sigc::pointer_functor which wraps an existing non-member function. More...
 
template<class T_return , class... T_arg>
decltype(auto) retype (const slot< T_return, T_arg...>& _A_functor)
 Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
 
template<class T_return , class... T_arg>
decltype(auto) retype (const pointer_functor< T_return, T_arg...>& _A_functor)
 Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
 
template<class T_func , class... T_arg>
decltype(auto) retype (const mem_functor< T_func, T_arg...>& _A_functor)
 Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
 
template<class T_func , class... T_arg>
decltype(auto) retype (const bound_mem_functor< T_func, T_arg...>& _A_functor)
 Creates an adaptor of type sigc::retype_functor which performs C-style casts on the parameters passed on to the functor. More...
 
template<class T_return , class T_functor >
retype_return_functor< T_return, T_functor > retype_return (const T_functor& _A_functor)
 Creates an adaptor of type sigc::retype_return_functor which performs a C-style cast on the return value of the passed functor. More...
 
template<typename T_functor , typename... T_obj>
decltype(auto) track_obj (const T_functor& _A_func, const T_obj&..._A_obj)
 Creates an adaptor of type sigc::track_obj_functor which wraps a functor. More...
 
template<class T_type >
T_type& unwrap (const std::reference_wrapper< T_type >& v)
 
template<class T_type >
const T_type& unwrap (const std::reference_wrapper< const T_type >& v)
 
template<class T_action , class T_functor >
void visit_each (const T_action& _A_action, const T_functor& _A_functor)
 This function performs a functor on each of the targets of a functor. More...
 
template<class T_type , class T_action , class T_functor >
void visit_each_type (const T_action& _A_action, const T_functor& _A_functor)
 This function performs a functor on each of the targets of a functor limited to a restricted type. More...
 

Detailed Description

The libsigc++ namespace.

Typedef Documentation

template <typename T >
using sigc::type_trait_pass_t = typedef typename type_trait<T>::pass
template <typename T >
using sigc::type_trait_take_t = typedef typename type_trait<T>::take

Function Documentation

template <class T_functor , class T_catcher >
decltype(auto) sigc::exception_catch ( const T_functor &  _A_func,
const T_catcher &  _A_catcher 
)
inline
template <class T_type >
T_type& sigc::unwrap ( const std::reference_wrapper< T_type > &  v)
template <class T_type >
const T_type& sigc::unwrap ( const std::reference_wrapper< const T_type > &  v)