Helper class to implement callbacks with lifetime management. More...
#include <notifiee.hpp>
Public Types | |
typedef FUNCTOR | functor_t |
Public Member Functions | |
notifiee () | |
~notifiee () | |
Private Attributes | |
notifier< functor_t > * | notifier_ |
Pointer the the notifier that's linked to us. More... | |
Friends | |
class | notifier< functor_t > |
Helper class to implement callbacks with lifetime management.
This part manages the lifetime off the callback.
Definition at line 32 of file notifiee.hpp.
typedef FUNCTOR gui2::notifiee< FUNCTOR >::functor_t |
Definition at line 35 of file notifiee.hpp.
|
inline |
Definition at line 38 of file notifiee.hpp.
|
inline |
Definition at line 42 of file notifiee.hpp.
References gui2::notifier< FUNCTOR >::disconnect_notifiee(), and gui2::notifiee< FUNCTOR >::notifier_.
Definition at line 35 of file notifiee.hpp.
|
private |
Pointer the the notifier that's linked to us.
Definition at line 51 of file notifiee.hpp.
Referenced by gui2::notifier< FUNCTOR >::connect_notifiee(), gui2::notifier< FUNCTOR >::disconnect_notifiee(), and gui2::notifiee< FUNCTOR >::~notifiee().