base_mgr

namespace eos
template<typename T, typename Key = int>
class base_mgr

Protected Functions

inline base_mgr()
inline virtual ~base_mgr()
inline virtual void add_handler(T *handler)
inline virtual void add_handler(Key const &key, T *handler)
inline virtual void remove_handler(T *handler)
inline virtual void remove_handler(Key const &key, T *handler)
template<typename Func>
inline void handler_foreach(Func f)
template<typename Func>
inline void handler_foreach(Key key, Func f)

Private Members

bool inForeach_
std::map<T*, bool> watchAllHandlers_
std::map<Key, std::map<T*, bool>> keySpecificHandlers_

Friends

friend class base_handler