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

Public Member Functions

 ConfigPropertyObserverWrapper (PyObject *self, const std::string &propertyName)
 
void onPropertyValueChanged (const std::string &newValue, const std::string &prevValue) override
 
- Public Member Functions inherited from Mantid::Kernel::ConfigPropertyObserver
 ConfigPropertyObserver (std::string propertyName)
 Begins listening for change notifications from the global ConfigService concerning the property with the specified name. More...
 
virtual ~ConfigPropertyObserver ()=default
 

Private Attributes

PyObject * m_self
 

Additional Inherited Members

- Protected Member Functions inherited from Mantid::Kernel::ConfigPropertyObserver
virtual void onPropertyValueChanged (const std::string &newValue, const std::string &prevValue)=0
 
void onValueChanged (const std::string &name, const std::string &newValue, const std::string &prevValue) override
 Filters out change notifications concerning other properties. More...
 

Detailed Description

Definition at line 18 of file ConfigPropertyObserver.cpp.

Constructor & Destructor Documentation

◆ ConfigPropertyObserverWrapper()

ConfigPropertyObserverWrapper::ConfigPropertyObserverWrapper ( PyObject *  self,
const std::string &  propertyName 
)
inline

Definition at line 20 of file ConfigPropertyObserver.cpp.

Member Function Documentation

◆ onPropertyValueChanged()

void ConfigPropertyObserverWrapper::onPropertyValueChanged ( const std::string &  newValue,
const std::string &  prevValue 
)
inlineoverridevirtual

Implements Mantid::Kernel::ConfigPropertyObserver.

Definition at line 23 of file ConfigPropertyObserver.cpp.

References m_self.

Referenced by export_ConfigPropertyObserver().

Member Data Documentation

◆ m_self

PyObject* ConfigPropertyObserverWrapper::m_self
private

Definition at line 28 of file ConfigPropertyObserver.cpp.

Referenced by onPropertyValueChanged().


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