|
Mantid
|
Public Member Functions | |
| ConfigObserverWrapper (PyObject *self) | |
| void | notifyValueChanged (ConfigValChangeNotification_ptr notification) |
| Called when a config property's value is changed. | |
| void | notifyValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue) |
| Called when a config property's value is changed. | |
| void | onValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue) override |
Public Member Functions inherited from Mantid::Kernel::ConfigObserver | |
| ConfigObserver () | |
| Begins listening to notifications from the global ConfigService. | |
| ConfigObserver (const ConfigObserver &other) | |
| Copying a config observer is the same as default constructing one. | |
| void | notifyValueChanged (ConfigValChangeNotification_ptr notification) |
| Called when a config property's value is changed. | |
| void | notifyValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue) |
| Called when a config property's value is changed. | |
| ConfigObserver & | operator= (const ConfigObserver &other) |
| Nothing to do but we must overload the = operator to prevent a default copy which would produce incorrect results. | |
| virtual | ~ConfigObserver () noexcept |
Private Attributes | |
| PyObject * | m_self |
Additional Inherited Members |
Definition at line 18 of file ConfigObserver.cpp.
|
inlineexplicit |
Definition at line 20 of file ConfigObserver.cpp.
| void Mantid::Kernel::ConfigObserver::notifyValueChanged | ( | ConfigValChangeNotification_ptr | notification | ) |
Called when a config property's value is changed.
| notification | The Poco notification object. |
Definition at line 25 of file ConfigObserver.cpp.
| void Mantid::Kernel::ConfigObserver::notifyValueChanged | ( | const std::string & | name, |
| const std::string & | newValue, | ||
| const std::string & | oldValue | ||
| ) |
Called when a config property's value is changed.
| name | The name of the property which changed. |
| newValue | The new value of the property. |
| oldValue | The old value of the property. |
Definition at line 24 of file ConfigObserver.cpp.
|
inlineoverridevirtual |
Implements Mantid::Kernel::ConfigObserver.
Definition at line 23 of file ConfigObserver.cpp.
Referenced by export_ConfigObserver().
|
private |
Definition at line 28 of file ConfigObserver.cpp.
Referenced by onValueChanged().