Base class interface for locking a body. Usually you will use BodyLockRead / BodyLockWrite / BodyLockMultiRead / BodyLockMultiWrite instead.
More...
#include <BodyLockInterface.h>
Base class interface for locking a body. Usually you will use BodyLockRead / BodyLockWrite / BodyLockMultiRead / BodyLockMultiWrite instead.
◆ MutexMask
◆ BodyLockInterface()
BodyLockInterface::BodyLockInterface |
( |
BodyManager & |
inBodyManager | ) |
|
|
inlineexplicit |
◆ ~BodyLockInterface()
virtual BodyLockInterface::~BodyLockInterface |
( |
| ) |
|
|
virtualdefault |
◆ GetAllBodiesMutexMask()
MutexMask BodyLockInterface::GetAllBodiesMutexMask |
( |
| ) |
const |
|
inline |
Get the mask needed to lock all bodies.
◆ GetMutexMask()
virtual MutexMask BodyLockInterface::GetMutexMask |
( |
const BodyID * |
inBodies, |
|
|
int |
inNumber |
|
) |
| const |
|
pure virtual |
◆ LockRead() [1/2]
◆ LockRead() [2/2]
virtual void BodyLockInterface::LockRead |
( |
MutexMask |
inMutexMask | ) |
const |
|
pure virtual |
◆ LockWrite() [1/2]
◆ LockWrite() [2/2]
virtual void BodyLockInterface::LockWrite |
( |
MutexMask |
inMutexMask | ) |
const |
|
pure virtual |
◆ TryGetBody()
Body * BodyLockInterface::TryGetBody |
( |
const BodyID & |
inBodyID | ) |
const |
|
inline |
◆ UnlockRead() [1/2]
virtual void BodyLockInterface::UnlockRead |
( |
MutexMask |
inMutexMask | ) |
const |
|
pure virtual |
◆ UnlockRead() [2/2]
virtual void BodyLockInterface::UnlockRead |
( |
SharedMutex * |
inMutex | ) |
const |
|
pure virtual |
◆ UnlockWrite() [1/2]
virtual void BodyLockInterface::UnlockWrite |
( |
MutexMask |
inMutexMask | ) |
const |
|
pure virtual |
◆ UnlockWrite() [2/2]
virtual void BodyLockInterface::UnlockWrite |
( |
SharedMutex * |
inMutex | ) |
const |
|
pure virtual |
◆ mBodyManager
The documentation for this class was generated from the following file: