Mantid
|
Public Member Functions | |
ConfigObserverWrapper (PyObject *self) | |
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. More... | |
ConfigObserver (const ConfigObserver &other) | |
Copying a config observer is the same as default constructing one. More... | |
void | notifyValueChanged (ConfigValChangeNotification_ptr notification) |
Called when a config property's value is changed. More... | |
void | notifyValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue) |
Called when a config property's value is changed. More... | |
ConfigObserver & | operator= (const ConfigObserver &other) |
Nothing to do but we must overload the = operator to prevent a default copy which would produce incorrect results. More... | |
virtual | ~ConfigObserver () noexcept |
Private Attributes | |
PyObject * | m_self |
Additional Inherited Members | |
virtual void | onValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue)=0 |
Definition at line 18 of file ConfigObserver.cpp.
|
inlineexplicit |
Definition at line 20 of file ConfigObserver.cpp.
|
inlineoverridevirtual |
Implements Mantid::Kernel::ConfigObserver.
Definition at line 23 of file ConfigObserver.cpp.
References m_self.
Referenced by export_ConfigObserver().
|
private |
Definition at line 28 of file ConfigObserver.cpp.
Referenced by onValueChanged().