|
jubatus_core
0.1.2
Jubatus: Online machine learning framework for distributed environment
|
#include <event_dispatcher.hpp>


Public Member Functions | |
| void | add_event_listener (const EventType &type, callback_t callback) |
| virtual | ~event_dispatcher () |
Protected Member Functions | |
| void | dispatch (const EventType &type, const EventData &data) const |
Protected Attributes | |
| event_type_table | events_ |
Private Types | |
| typedef jubatus::util::lang::function< void(const EventData &)> | callback_t |
| typedef std::vector< callback_t > | callbacks_t |
| typedef std::map< EventType, callbacks_t > | event_type_table |
Definition at line 30 of file event_dispatcher.hpp.
|
private |
Definition at line 31 of file event_dispatcher.hpp.
|
private |
Definition at line 32 of file event_dispatcher.hpp.
|
private |
Definition at line 33 of file event_dispatcher.hpp.
|
inlinevirtual |
Definition at line 36 of file event_dispatcher.hpp.
| void jubatus::core::clustering::event_dispatcher< EventType, EventData >::add_event_listener | ( | const EventType & | type, |
| callback_t | callback | ||
| ) |
Definition at line 46 of file event_dispatcher.hpp.
|
protected |
Definition at line 53 of file event_dispatcher.hpp.
|
protected |
Definition at line 42 of file event_dispatcher.hpp.
1.8.9.1