FiReS  0.2.0
FiReS - Filter, Retrieval and Search
fires::ObserverManager Class Reference
+ Collaboration diagram for fires::ObserverManager:

Public Types

typedef std::function< void(Object *, const std::string &) > ObserverCallback
 
typedef std::vector< std::pair< void *, ObserverCallback > > ObserverCallbacks
 
typedef std::unordered_map< Object *, std::unordered_map< PropertyGID, ObserverCallbacks > > ObserverCallbacksMap
 

Static Public Member Functions

template<class OBSERVER >
static void addObserver (Object *notifier, const std::string &propLabel, OBSERVER *observer, void(OBSERVER::*memberFunc)(Object *, const std::string &))
 
static void trigger (Object *notifier, const std::string &propLabel)
 
static void removeObserver (void *observer)
 
static void removeNotifier (Object *notifier)
 

Static Protected Attributes

static ObserverCallbacksMap _callbacksMap
 

Detailed Description

Definition at line 40 of file ObserverManager.h.


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