1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Rotator controller and dependent plugins: implemented new message pipes and other fixes. Part of #1154

This commit is contained in:
f4exb
2022-03-28 20:12:25 +02:00
parent 1819ca6e94
commit 842546aec6
25 changed files with 694 additions and 241 deletions
+6
View File
@@ -28,10 +28,16 @@ ObjectPipe::ObjectPipe() :
void ObjectPipe::setToBeDeleted(int reason, QObject *object)
{
qDebug("ObjectPipe::setToBeDeleted: %d (%p)", reason, object);
m_gcCount = 2; // will defer actual deletion by one GC pass
emit toBeDeleted(reason, object);
}
void ObjectPipe::unsetToBeDeleted()
{
m_gcCount = 0;
}
int ObjectPipe::getGCCount() const {
return m_gcCount;
}