event class that automatically cleans up unused observers
More...
#include <smart_event.h>
|
using | observer_type = std::function<void(event_parameter_types_param...)> |
|
using | observer_weak_ptr_type = std::weak_ptr<observer_type> |
|
using | observer_shared_ptr_type = std::shared_ptr<observer_type> |
|
|
observer_shared_ptr_type | subscribe (observer_type aObserverFunctor) |
| adds an observer
|
|
void | notify (const event_parameter_types_param &... params) const |
| notify observers & remove any null observers
|
|
template<class... event_parameter_types_param>
class jfc::smart_event< event_parameter_types_param >
event class that automatically cleans up unused observers
The documentation for this class was generated from the following file:
- /home/deck/Workspace/gdk-test_game/thirdparty/gdk-graphics/include/jfc/smart_event.h