![]() |
libfilezilla
|
This is the recommended event class. More...
#include <event.hpp>


Public Types | |
| typedef UniqueType | unique_type |
| typedef std::tuple< Values... > | tuple_type |
Public Member Functions | |
| template<typename First_Value , typename... Remaining_Values> | |
| simple_event (First_Value &&value, Remaining_Values &&...values) | |
| simple_event (simple_event const &op)=default | |
| simple_event & | operator= (simple_event const &op)=default |
| virtual void const * | derived_type () const |
| Simply returns type() | |
Public Member Functions inherited from event_base | |
| event_base (event_base const &)=delete | |
| event_base & | operator= (event_base const &)=delete |
Static Public Member Functions | |
| static void const * | type () |
| Returns a unique pointer for the type such that can be used directly in derived_type. | |
Public Attributes | |
| tuple_type | v_ |
| The event value, gets built from the arguments passed in the constructur. More... | |
This is the recommended event class.
Instanciate the template with a unique type to identify the type of the event and a number of types for the values.
Keep the values simple, in particular avoid mutexes in your values.
| tuple_type v_ |
The event value, gets built from the arguments passed in the constructur.
You don't need to access this member directly if you use the dispatch mechanism.
1.8.14