ganga.GangaCore.GPIDev.Lib.Tasks.ITransform module

The Node class is the code of the Ganga heirachy. It allows objects to keep track of their parent, whether they’re dirty and take part in the visitor pattern.

It also provides access to tree-aware read/write locks to provide thread-safe usage.

ganga.GangaCore.GPIDev.Lib.Tasks.ITransform.const_lock

This is a context manager which acquires the const write lock on the object’s root object.

This lock acquires exclusive access over an object tree to prevent it from changing. Reading schema attributes on the object is still allowed but changing them is not. Only one thread can hold this lock at once.