libsigc++ 3.6.0
|
track_obj_functor wraps a functor and stores a reference to a trackable object. More...
#include <sigc++/adaptors/track_obj.h>
Public Member Functions | |
track_obj_functor (const T_functor &func, const T_obj &... obj) | |
Constructs a track_obj_functor object that wraps the passed functor and stores a reference to the passed trackable objects. | |
template<typename... T_arg> | |
decltype(auto) | operator() (T_arg &&... arg) |
Invokes the wrapped functor passing on the arguments. | |
![]() | |
adapts (const T_functor &functor) | |
Constructs an adaptor that wraps the passed functor. | |
Additional Inherited Members | |
![]() | |
adaptor_type | functor_ |
Adaptor that is invoked from operator()(). | |
track_obj_functor wraps a functor and stores a reference to a trackable object.
Use the convenience function track_object() to create an instance of track_obj_functor.
track_obj() is a deprecated alternative to track_object().
T_functor | The type of functor to wrap. |
T_obj | The types of the trackable objects. |
|
inlineexplicit |
Constructs a track_obj_functor object that wraps the passed functor and stores a reference to the passed trackable objects.
func | Functor. |
obj | Trackable objects. |
|
inline |
Invokes the wrapped functor passing on the arguments.
arg | Arguments to be passed on to the functor. |