Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
BodyLockMultiWrite Class Reference

Specialization that locks multiple bodies for writing to. More...

#include <BodyLockMulti.h>

Inheritance diagram for BodyLockMultiWrite:
BodyLockMultiBase< true, Body > NonCopyable

Additional Inherited Members

- Public Types inherited from BodyLockMultiBase< true, Body >
using MutexMask = BodyLockInterface::MutexMask
 Redefine MutexMask.
 
- Public Member Functions inherited from BodyLockMultiBase< true, Body >
 BodyLockMultiBase (const BodyLockInterface &inBodyLockInterface, const BodyID *inBodyIDs, int inNumber)
 Constructor will lock the bodies.
 
 ~BodyLockMultiBase ()
 Destructor will unlock the bodies.
 
BodyGetBody (int inBodyIndex) const
 Access the body (returns null if body was not properly locked)
 
- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Specialization that locks multiple bodies for writing to.

See also
BodyLockMultiRead for usage patterns.

The documentation for this class was generated from the following file: