monitor and threads

This commit is contained in:
AndreaRigoni
2026-03-25 11:04:37 +00:00
parent 0c8ef7337c
commit a467b7385b
10 changed files with 390 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ vtkPolyData *vtkContainerBox::GetPolyData() const {
void vtkContainerBox::contentUpdate() {
RecursiveMutex::ScopedLock lock(this->m_UpdateMutex);
if (!m_Content)
return;
@@ -95,6 +96,7 @@ void vtkContainerBox::contentUpdate() {
void vtkContainerBox::Update() {
RecursiveMutex::ScopedLock lock(this->m_UpdateMutex);
if (!m_Content) return;
if (m_BlockUpdate) {

View File

@@ -31,6 +31,7 @@
#include <vector>
#include "Core/Object.h"
#include "Core/Property.h"
#include "Core/Monitor.h"
// vtk classes forward declaration //
class vtkProp;
@@ -112,6 +113,7 @@ protected:
void RemoveProp(vtkProp *prop);
std::vector<uLib::PropertyBase*> m_DisplayProperties;
mutable uLib::RecursiveMutex m_UpdateMutex;
private:
Puppet(const Puppet&) = delete;