![]() |
Scanframe Modular Application 0.1.0
|
Template class used to bind listeners to a handler_type instance. More...
#include <TListener.h>


Classes | |
| class | emitter_type |
| Emitter class type for creating an instance which is emitting events to listeners. More... | |
Public Types | |
| typedef std::function< void(Args...)> | func_type |
| Function type of the lambda or function. | |
| typedef TListener | listener_type |
| Listener type of the lambda or function. This type is wraps around a std::function. | |
Public Member Functions | |
| TListener (ListenerList *list, const func_type &lambda) | |
| Constructor. | |
| TListener (const TListener &)=delete | |
| Do not allow copying. | |
| ~TListener () override | |
| Overridden destructor from ListenerList::base_type in order to delete entries of any instantiated template. | |
Template class used to bind listeners to a handler_type instance.
| Args |
| typedef std::function<void(Args...)> sf::TListener< Args >::func_type |
Function type of the lambda or function.
| typedef TListener sf::TListener< Args >::listener_type |
Listener type of the lambda or function. This type is wraps around a std::function.
|
explicit |
Constructor.
| list | Owning list |
| lambda | The actual function to call. |
|
delete |
Do not allow copying.
|
override |
Overridden destructor from ListenerList::base_type in order to delete entries of any instantiated template.