10#include <boost/python/class.hpp>
11#include <boost/python/def.hpp>
12#include <boost/python/pure_virtual.hpp>
24 callMethod<void>(
m_self,
"onPropertyValueChanged", newValue, prevValue);
36 class_<ConfigPropertyObserverWrapper, boost::noncopyable>(
"ConfigPropertyObserver", init<std::string>())
37 .def(init<std::string>())
void export_ConfigPropertyObserver()
void onPropertyValueChanged(const std::string &newValue, const std::string &prevValue) override
ConfigPropertyObserverWrapper(PyObject *self, const std::string &propertyName)
The ConfigObserver is used to observe changes to the value of a single configuration property based o...
ReturnType callMethod(PyObject *obj, const char *methodName, const Args &...args)
Wrapper around boost::python::call_method to acquire GIL for duration of call.