turbo::EventHandler< Args > Class Template Reference

Public Types

typedef std::function< void(Args...)> handler_func_type
 
typedef unsigned int handler_id_type
 

Public Member Functions

 EventHandler (const handler_func_type &handlerFunc)
 
 EventHandler (const EventHandler &src)
 
 EventHandler (EventHandler &&src)
 
EventHandleroperator= (const EventHandler &src)
 
EventHandleroperator= (EventHandler &&src)
 
void operator() (Args... params) const
 
bool operator== (const EventHandler &other) const
 
 operator bool () const
 
handler_id_type id () const
 

Detailed Description

template<typename... Args>
class turbo::EventHandler< Args >

Examples
events.cpp.

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