36 std::set<watcher*> _watchers;
52 void register_watcher(
watcher& w);
58 void deregister_watcher(
watcher& w);
66 std::set<table*> _tables;
82 void unwatch(
table& t);
87 virtual void handle_change(
table& t)=0;
The namespace used to hold the package management library.
Definition: auto_dir.cc:23
A mixin class to allow an object to watch one or more tables.
Definition: table.h:62
table()
Construct table.
Definition: table.cc:21
virtual ~table()
Destroy table.
Definition: table.cc:24
friend class watcher
Definition: table.h:32
void notify()
Notify watchers that a change has occurred.
Definition: table.cc:42
A base class to represent a data table.
Definition: table.h:29