RavEngine
Loading...
Searching...
No Matches
physx::Dy::SolverBodyDataPool Class Reference

Solver body data pool (array) that enforces 128-byte alignment for base address of array. More...

#include <DyDynamics.h>

Inheritance diagram for physx::Dy::SolverBodyDataPool:
[legend]
Collaboration diagram for physx::Dy::SolverBodyDataPool:
[legend]

Additional Inherited Members

- Public Types inherited from physx::PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > >
typedef PxSolverBodyData * Iterator
 
typedef const PxSolverBodyData * ConstIterator
 
- Public Member Functions inherited from physx::PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > >
 PxArray (const PxEMPTY v)
 
PX_INLINE PxArray (const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_INLINE PxArray (uint32_t size, const PxSolverBodyData &a=PxSolverBodyData(), const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_INLINE PxArray (const PxArray< PxSolverBodyData, A > &other, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_INLINE PxArray (const PxArray &other, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_INLINE PxArray (const PxSolverBodyData *first, const PxSolverBodyData *last, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_INLINE ~PxArray ()
 
PX_INLINE PxArray & operator= (const PxArray< PxSolverBodyData, A > &rhs)
 
PX_INLINE PxArray & operator= (const PxArray &t)
 
PX_FORCE_INLINE const PxSolverBodyData & operator[] (uint32_t i) const
 
PX_FORCE_INLINE PxSolverBodyData & operator[] (uint32_t i)
 
PX_FORCE_INLINE ConstIterator begin () const
 
PX_FORCE_INLINE Iterator begin ()
 
PX_FORCE_INLINE ConstIterator end () const
 
PX_FORCE_INLINE Iterator end ()
 
PX_FORCE_INLINE const PxSolverBodyData & front () const
 
PX_FORCE_INLINE PxSolverBodyData & front ()
 
PX_FORCE_INLINE const PxSolverBodyData & back () const
 
PX_FORCE_INLINE PxSolverBodyData & back ()
 
PX_FORCE_INLINE uint32_t size () const
 
PX_INLINE void clear ()
 
PX_FORCE_INLINE bool empty () const
 
PX_INLINE Iterator find (const PxSolverBodyData &a)
 
PX_INLINE ConstIterator find (const PxSolverBodyData &a) const
 
PX_FORCE_INLINE PxSolverBodyData & pushBack (const PxSolverBodyData &a)
 
PX_INLINE PxSolverBodyData popBack ()
 
PX_INLINE PxSolverBodyData & insert ()
 
PX_INLINE void replaceWithLast (uint32_t i)
 
PX_INLINE void replaceWithLast (Iterator i)
 
PX_INLINE bool findAndReplaceWithLast (const PxSolverBodyData &a)
 
PX_INLINE void remove (uint32_t i)
 
PX_INLINE void removeRange (uint32_t begin, uint32_t count)
 
PX_NOINLINE void resize (const uint32_t size, const PxSolverBodyData &a=PxSolverBodyData())
 
PX_NOINLINE void resizeUninitialized (const uint32_t size)
 
PX_INLINE void shrink ()
 
PX_INLINE void reset ()
 
PX_INLINE void resetOrClear ()
 
PX_INLINE void reserve (const uint32_t capacity)
 
PX_FORCE_INLINE uint32_t capacity () const
 
PX_FORCE_INLINE void forceSize_Unsafe (uint32_t size)
 
PX_INLINE void swap (PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > > &other)
 
PX_INLINE void assign (const PxSolverBodyData *first, const PxSolverBodyData *last)
 
PX_FORCE_INLINE uint32_t isInUserMemory () const
 
PX_INLINE PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > & getAllocator ()
 return reference to allocator
 
- Protected Member Functions inherited from physx::PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > >
 PxArray (PxSolverBodyData *memory, uint32_t size, uint32_t capacity, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >())
 
PX_NOINLINE void copy (const PxArray< PxSolverBodyData, A > &other)
 
PX_INLINE PxSolverBodyData * allocate (uint32_t size)
 
PX_INLINE void deallocate (void *mem)
 
PX_NOINLINE PxSolverBodyData & growAndPushBack (const PxSolverBodyData &a)
 
PX_INLINE void grow (uint32_t capacity)
 
PX_NOINLINE void recreate (uint32_t capacity)
 
PX_INLINE uint32_t capacityIncrement () const
 
- Protected Member Functions inherited from physx::PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > >
 PxAlignedAllocator (const PxReflectionAllocator< PxSolverBodyData > &base=PxReflectionAllocator< PxSolverBodyData >())
 
void * allocate (size_t size, const char *file, int line)
 
void deallocate (void *ptr)
 
- Protected Member Functions inherited from physx::PxReflectionAllocator< PxSolverBodyData >
 PxReflectionAllocator (const PxEMPTY)
 
 PxReflectionAllocator (const char *=0)
 
 PxReflectionAllocator (const PxReflectionAllocator &)
 
PX_FORCE_INLINE void * allocate (size_t size, const char *filename, int line)
 
PX_FORCE_INLINE void deallocate (void *ptr)
 
- Static Protected Member Functions inherited from physx::PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > >
static PX_INLINE void copy (PxSolverBodyData *first, PxSolverBodyData *last, const PxSolverBodyData *src)
 
static PX_INLINE void create (PxSolverBodyData *first, PxSolverBodyData *last, const PxSolverBodyData &a)
 
static PX_INLINE void destroy (PxSolverBodyData *first, PxSolverBodyData *last)
 
- Protected Attributes inherited from physx::PxArray< PxSolverBodyData, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBodyData > > >
PxSolverBodyData * mData
 
uint32_t mSize
 
uint32_t mCapacity
 

Detailed Description

Solver body data pool (array) that enforces 128-byte alignment for base address of array.

Note
This reduces cache misses on platforms with 128-byte-size cache lines by aligning the start of the array to the beginning of a cache line.

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