|
Allolib
1.0
C++ Components For Interactive Multimedia
|
Public Member Functions | |
| virtual | ~Watcher () |
| destructor automatically un-registers: | |
| void | watch (std::string resourcename) |
| get notifications from a named resource | |
| void | unwatch (std::string resourcename) |
| stop notifications from a named resource | |
| void | unwatch () |
| stop all notifications | |
| virtual void | onEvent (std::string resourcename, std::string eventname) |
| the notification handler: | |
Static Public Member Functions | |
| static void | notify (std::string resourcename, std::string eventname) |
| trigger a notification for a named resource | |
! base class for all notifiable objects: MyWatcher w; w.watch("foo"); Watcher::notify("foo", "bar");
Definition at line 46 of file al_Watcher.hpp.