|
kDB: Knowledge DataBase
|
#include <MonitoredValue.h>
Public Member Functions | |
| MonitoredValue (const MonitoredValue &_rhs) | |
| MonitoredValue & | operator= (const MonitoredValue &_rhs) |
| _T_ | value () const |
| std::size_t | addMonitor (const std::function< void(const _T_ &_value)> &_function) |
| Add a monitor, which is called when the value is changed by the controller. | |
| void | removeMonitor (std::size_t _idx) |
Friends | |
| class | MonitoredValueController< _T_ > |
Represent a value that can be monitored when changed.
| _T_ knowCore::MonitoredValue< _T_ >::value | ( | ) | const |