Reference to a MeshModelInterface that, when created, locks access to the MeshModelInterface via any of the lock-aware functions via a mutex internal to the MeshModelSource. When this Ref object goes out of scope, access is restored again.
#include <Mesh/DataStructures/meshmodelsource.h>
◆ MeshModelInterfaceLockedPtr() [1/4]
◆ MeshModelInterfaceLockedPtr() [2/4]
◆ MeshModelInterfaceLockedPtr() [3/4]
◆ MeshModelInterfaceLockedPtr() [4/4]
◆ ~MeshModelInterfaceLockedPtr()
◆ get() [1/2]
- Returns
- A pointer to the MeshModelInterface object that this Ref object has a lock on. If the ref object does not hold the lock on the MeshModelInterface, a nullptr will be returned.
◆ get() [2/2]
- Returns
- A pointer to the MeshModelInterface object that this Ref object has a lock on. If the ref object does not hold the lock on the MeshModelInterface, a nullptr will be returned.
◆ getModelId()
const QString & getModelId |
( |
| ) |
const |
◆ operator*() [1/2]
- Note
- Unsafe if the lock is not held by this object.
◆ operator*() [2/2]
- Note
- Unsafe if the lock is not held by this object.
◆ operator->() [1/2]
- Note
- Unsafe if the lock is not held by this object.
◆ operator->() [2/2]
- Note
- Unsafe if the lock is not held by this object.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ownsLock()
- Returns
- true if this object owns the lock on the MeshModelInterface object that it references. False otherwise.