![]() |
![]() |
Inheritance diagram for sigc::internal::typed_slot_rep< T_functor >:
Public Types | |
typedef typed_slot_rep<T_functor> | self |
typedef adaptor_trait< T_functor >::adaptor_type | adaptor_type |
Public Member Functions | |
typed_slot_rep (const T_functor& functor) | |
Constructs an invalid typed slot_rep object. | |
typed_slot_rep (const typed_slot_rep& cl) | |
~typed_slot_rep () | |
Static Public Member Functions | |
static void* | destroy (void* data) |
Detaches the stored functor from the other referred trackables and destroys it. | |
static void* | dup (void* data) |
Makes a deep copy of the slot_rep object. | |
Public Attributes | |
adaptor_type | functor_ |
The functor contained by this slot_rep object. |
A typed slot_rep holds a functor that can be invoked from slot::operator()(). visit_each() is used to visit the functor's targets that inherit trackable recursively and register the notification callback. Consequently the slot_rep object will be notified when some referred object is destroyed or overwritten.
|
|
|
|
|
Constructs an invalid typed slot_rep object. The notification callback is registered using visit_each().
|
|
|
|
|
|
Detaches the stored functor from the other referred trackables and destroys it. This does not destroy the base slot_rep object. |
|
Makes a deep copy of the slot_rep object. Deep copy means that the notification callback of the new slot_rep object is registered in the referred trackables.
|
|
The functor contained by this slot_rep object.
|