presage
0.9.1
|
#include <dispatcher.h>
Public Types | |
typedef void(class_t::* | mbr_func_ptr_t) (const std::string &value) |
typedef std::map< std::string, mbr_func_ptr_t > | dispatch_map_t |
Public Member Functions | |
Dispatcher (class_t *obj) | |
~Dispatcher () | |
void | map (Observable *var, const mbr_func_ptr_t &ptr) |
void | dispatch (const Observable *var) |
Private Attributes | |
class_t * | object |
dispatch_map_t | dispatch_map |
std::list< Observable * > | observables |
Dispatches observable notifications.
Definition at line 41 of file dispatcher.h.
typedef std::map<std::string, mbr_func_ptr_t> Dispatcher< class_t >::dispatch_map_t |
Definition at line 63 of file dispatcher.h.
typedef void(class_t::* Dispatcher< class_t >::mbr_func_ptr_t) (const std::string &value) |
Definition at line 62 of file dispatcher.h.
|
inline |
Definition at line 65 of file dispatcher.h.
|
inline |
Definition at line 70 of file dispatcher.h.
|
inline |
Definition at line 91 of file dispatcher.h.
Referenced by PredictorRegistry::update(), DictionaryPredictor::update(), DejavuPredictor::update(), AbbreviationExpansionPredictor::update(), SmoothedNgramPredictor::update(), RecencyPredictor::update(), Selector::update(), ARPAPredictor::update(), PredictorActivator::update(), and ContextTracker::update().
|
inline |
Definition at line 80 of file dispatcher.h.
Referenced by AbbreviationExpansionPredictor::AbbreviationExpansionPredictor(), ARPAPredictor::ARPAPredictor(), ContextTracker::ContextTracker(), DejavuPredictor::DejavuPredictor(), DictionaryPredictor::DictionaryPredictor(), PredictorActivator::PredictorActivator(), PredictorRegistry::PredictorRegistry(), RecencyPredictor::RecencyPredictor(), Selector::Selector(), and SmoothedNgramPredictor::SmoothedNgramPredictor().
|
private |
Definition at line 104 of file dispatcher.h.
|
private |
Definition at line 103 of file dispatcher.h.
|
private |
Definition at line 105 of file dispatcher.h.