gdk-graphics 0b051eb9b5c1eaa0658babaa4463dd7a80aa9d2c
Loading...
Searching...
No Matches
jfc::event< event_parameter_types_param > Class Template Referencefinal

event class that requires the user to clean up after themselves More...

#include <event.h>

Public Types

using observer_type = std::function<void(event_parameter_types_param...)>
 

Public Member Functions

void subscribe (observer_type observer)
 adds an observer
 
void unsubscribe (const observer_type &observer)
 removes an observer
 
void notify (event_parameter_types_param... params) const
 notify observers
 

Detailed Description

template<class... event_parameter_types_param>
class jfc::event< event_parameter_types_param >

event class that requires the user to clean up after themselves


The documentation for this class was generated from the following file: