LibPkg
|
A mixin class to allow an object to watch the environment checker. More...
#include <env_checker.h>
Public Member Functions | |
watcher () | |
Construct watcher. More... | |
virtual | ~watcher () |
Destroy watcher. More... | |
void | watch (env_checker &e) |
Begin watching environment. More... | |
void | unwatch (env_checker &e) |
Cease watching environment. More... | |
virtual void | handle_change (env_checker &e)=0 |
Handle change to environment. More... | |
A mixin class to allow an object to watch the environment checker.
pkg::env_checker::watcher::watcher | ( | ) |
Construct watcher.
|
virtual |
Destroy watcher.
void pkg::env_checker::watcher::watch | ( | env_checker & | e | ) |
Begin watching environment.
e | the environment to begin watching |
Referenced by pkg::env_packages_table::env_packages_table().
void pkg::env_checker::watcher::unwatch | ( | env_checker & | e | ) |
Cease watching environment.
e | the environment to cease watching |
|
pure virtual |
Handle change to environment.
e | the environment that has changed |
Reference Manual | LibPkg | Version 0.6.1 (28 Jan 2015) |