libsigc++ 2.12.1
sigc::const_limit_reference< T_type, true > Class Template Reference

const_limit_reference object for a class that derives from trackable. More...

#include <sigc++/limit_reference.h>

Public Member Functions

 const_limit_reference (const T_type & _A_target)
 Constructor.
 
 const_limit_reference (const T_type & _A_target)
 Constructor.
 
const T_type & invoke () const
 Retrieve the reference.
 
const T_type & invoke () const
 Retrieve the reference.
 
const T_type & visit () const
 Retrieve the entity to visit for visit_each().
 
const trackablevisit () const
 Retrieve the entity to visit for visit_each().
 

Detailed Description

template<class T_type>
class sigc::const_limit_reference< T_type, true >

const_limit_reference object for a class that derives from trackable.

  • T_type The type of the reference.

Constructor & Destructor Documentation

◆ const_limit_reference() [1/2]

template <class T_type>
sigc::const_limit_reference< T_type, true >::const_limit_reference ( const T_type & _A_target)
inline

Constructor.

Parameters
_A_targetThe reference to limit.

◆ const_limit_reference() [2/2]

sigc::const_limit_reference< T_type, I_derives_trackable >::const_limit_reference ( const T_type & _A_target)
inline

Constructor.

Parameters
_A_targetThe reference to limit.

Member Function Documentation

◆ invoke() [1/2]

const T_type & sigc::const_limit_reference< T_type, I_derives_trackable >::invoke ( ) const
inline

Retrieve the reference.

This is always a reference to the derived instance.

Returns
The reference.

◆ invoke() [2/2]

template <class T_type>
const T_type & sigc::const_limit_reference< T_type, true >::invoke ( ) const
inline

Retrieve the reference.

This is always a reference to the derived instance.

Returns
The reference.

◆ visit() [1/2]

const T_type & sigc::const_limit_reference< T_type, I_derives_trackable >::visit ( ) const
inline

Retrieve the entity to visit for visit_each().

Depending on the template specialization, this is either a derived reference, or sigc::trackable& if T_type derives from sigc::trackable.

Returns
The reference.

◆ visit() [2/2]

template <class T_type>
const trackable & sigc::const_limit_reference< T_type, true >::visit ( ) const
inline

Retrieve the entity to visit for visit_each().

Depending on the template specialization, this is either a derived reference, or sigc::trackable& if T_type derives from sigc::trackable.

Returns
The reference.