Mantid
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
ConfigObserverWrapper Class Reference
Inheritance diagram for ConfigObserverWrapper:
Mantid::Kernel::ConfigObserver

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...
 
ConfigObserveroperator= (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
 

Detailed Description

Definition at line 18 of file ConfigObserver.cpp.

Constructor & Destructor Documentation

◆ ConfigObserverWrapper()

ConfigObserverWrapper::ConfigObserverWrapper ( PyObject *  self)
inlineexplicit

Definition at line 20 of file ConfigObserver.cpp.

Member Function Documentation

◆ onValueChanged()

void ConfigObserverWrapper::onValueChanged ( const std::string &  name,
const std::string &  newValue,
const std::string &  prevValue 
)
inlineoverridevirtual

Implements Mantid::Kernel::ConfigObserver.

Definition at line 23 of file ConfigObserver.cpp.

References m_self.

Referenced by export_ConfigObserver().

Member Data Documentation

◆ m_self

PyObject* ConfigObserverWrapper::m_self
private

Definition at line 28 of file ConfigObserver.cpp.

Referenced by onValueChanged().


The documentation for this class was generated from the following file: