![]() |
NDEVR
API Documentation
|
Used to lock a particular model for editing (DEPRECIATED). More...
Public Member Functions | |
| WDesignLock (DesignObjectLookup *lookup, const UUID &model) | |
| Constructs a WDesignLock, acquiring the necessary locks for writing to a design model. | |
Protected Attributes | |
| WLock | m_design_write_lock |
| Write lock held on the specific design model for write 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 write operations.
Definition at line 67 of file DesignLock.h.
| WDesignLock::WDesignLock | ( | DesignObjectLookup * | lookup, |
| const UUID & | model ) |
Constructs a WDesignLock, acquiring the necessary locks for writing to a design model.
| [in] | lookup | The DesignObjectLookup that owns the model. |
| [in] | model | The UUID of the model to lock for writing. |