![]() |
NDEVR
API Documentation
|
Used to lock a particular model for editing (DEPRECIATED). More...
Public Member Functions | |
| RDesignLock (DesignObjectLookup *lookup, const UUID &model) | |
| Constructs an RDesignLock, acquiring the necessary locks for reading a design model. | |
Protected Attributes | |
| WLock | m_design_read_lock |
| Write lock held on the specific design model for read access. | |
| RLock | m_lookup_read_lock |
| Read lock held on the DesignObjectLookup. | |
Used to lock a particular model for editing (DEPRECIATED).
Acquires a read lock on the DesignObjectLookup and a write lock on the specific design model identified by UUID. This allows safe concurrent read access to the lookup while exclusively locking a single model for reading operations.
Definition at line 46 of file DesignLock.h.
| RDesignLock::RDesignLock | ( | DesignObjectLookup * | lookup, |
| const UUID & | model ) |
Constructs an RDesignLock, acquiring the necessary locks for reading a design model.
| [in] | lookup | The DesignObjectLookup that owns the model. |
| [in] | model | The UUID of the model to lock for reading. |