Base/App: add new signal interface to Parameter

Added new signal interface using boost::signals2 signalParamChanged.

Exposed to Python as ParameterGrpPy.AttachManager() to monitor changes
to all parameters, sub groups under the referring group.

Added new attribute for ParameterGrp(Py) to query the Parent and Manager
of the referring group.
This commit is contained in:
Zheng, Lei
2022-11-22 21:54:44 +08:00
committed by Chris Hennes
parent 6cc849fb73
commit 01f7782124
8 changed files with 794 additions and 183 deletions

View File

@@ -64,6 +64,13 @@ void Handled::unref() const
}
}
int Handled::unrefNoDelete() const
{
int res = _lRefCount->deref();
assert(res>=0);
return res;
}
int Handled::getRefCount() const
{
return static_cast<int>(*_lRefCount);