base_mgrΒΆ

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

Protected Functions

base_mgr()
virtual ~base_mgr()
virtual void add_handler(T * handler)
virtual void add_handler(Key const & key, T * handler)
virtual void remove_handler(T * handler)
virtual void remove_handler(Key const & key, T * handler)
template <typename Func>
void handler_foreach(Func f)
template <typename Func>
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

Previous topic

base_handler

Next topic

class_map