Base: Modernise ctors dtors defs etc

This commit is contained in:
berniev
2022-08-01 13:56:03 +10:00
committed by wwmayer
parent ea233be212
commit 15419982d4
60 changed files with 271 additions and 363 deletions

View File

@@ -52,12 +52,12 @@ public:
{
inst = obj;
}
virtual ~ParameterGrpObserver()
~ParameterGrpObserver() override
{
Base::PyGILStateLocker lock;
inst = Py::None();
}
virtual void OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::MessageType Reason)
void OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::MessageType Reason) override
{
Base::PyGILStateLocker lock;
try {
@@ -93,9 +93,9 @@ public:
static void init_type(); // announce properties and methods
ParameterGrpPy(const Base::Reference<ParameterGrp> &rcParamGrp);
~ParameterGrpPy();
~ParameterGrpPy() override;
Py::Object repr();
Py::Object repr() override;
Py::Object getGroup(const Py::Tuple&);
Py::Object getGroupName(const Py::Tuple&);