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

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

#include <DyDynamics.h>

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

Additional Inherited Members

- Public Types inherited from physx::PxArray< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > >
typedef PxSolverBody * Iterator
 
typedef const PxSolverBody * ConstIterator
 
- Public Member Functions inherited from physx::PxArray< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > >
 PxArray (const PxEMPTY v)
 
PX_INLINE PxArray (const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_INLINE PxArray (uint32_t size, const PxSolverBody &a=PxSolverBody(), const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_INLINE PxArray (const PxArray< PxSolverBody, A > &other, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_INLINE PxArray (const PxArray &other, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_INLINE PxArray (const PxSolverBody *first, const PxSolverBody *last, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_INLINE ~PxArray ()
 
PX_INLINE PxArray & operator= (const PxArray< PxSolverBody, A > &rhs)
 
PX_INLINE PxArray & operator= (const PxArray &t)
 
PX_FORCE_INLINE const PxSolverBody & operator[] (uint32_t i) const
 
PX_FORCE_INLINE PxSolverBody & 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 PxSolverBody & front () const
 
PX_FORCE_INLINE PxSolverBody & front ()
 
PX_FORCE_INLINE const PxSolverBody & back () const
 
PX_FORCE_INLINE PxSolverBody & back ()
 
PX_FORCE_INLINE uint32_t size () const
 
PX_INLINE void clear ()
 
PX_FORCE_INLINE bool empty () const
 
PX_INLINE Iterator find (const PxSolverBody &a)
 
PX_INLINE ConstIterator find (const PxSolverBody &a) const
 
PX_FORCE_INLINE PxSolverBody & pushBack (const PxSolverBody &a)
 
PX_INLINE PxSolverBody popBack ()
 
PX_INLINE PxSolverBody & insert ()
 
PX_INLINE void replaceWithLast (uint32_t i)
 
PX_INLINE void replaceWithLast (Iterator i)
 
PX_INLINE bool findAndReplaceWithLast (const PxSolverBody &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 PxSolverBody &a=PxSolverBody())
 
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< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > > &other)
 
PX_INLINE void assign (const PxSolverBody *first, const PxSolverBody *last)
 
PX_FORCE_INLINE uint32_t isInUserMemory () const
 
PX_INLINE PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > & getAllocator ()
 return reference to allocator
 
- Protected Member Functions inherited from physx::PxArray< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > >
 PxArray (PxSolverBody *memory, uint32_t size, uint32_t capacity, const PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > &alloc=PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > >())
 
PX_NOINLINE void copy (const PxArray< PxSolverBody, A > &other)
 
PX_INLINE PxSolverBody * allocate (uint32_t size)
 
PX_INLINE void deallocate (void *mem)
 
PX_NOINLINE PxSolverBody & growAndPushBack (const PxSolverBody &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< PxSolverBody > >
 PxAlignedAllocator (const PxReflectionAllocator< PxSolverBody > &base=PxReflectionAllocator< PxSolverBody >())
 
void * allocate (size_t size, const char *file, int line)
 
void deallocate (void *ptr)
 
- Protected Member Functions inherited from physx::PxReflectionAllocator< PxSolverBody >
 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< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > >
static PX_INLINE void copy (PxSolverBody *first, PxSolverBody *last, const PxSolverBody *src)
 
static PX_INLINE void create (PxSolverBody *first, PxSolverBody *last, const PxSolverBody &a)
 
static PX_INLINE void destroy (PxSolverBody *first, PxSolverBody *last)
 
- Protected Attributes inherited from physx::PxArray< PxSolverBody, PxAlignedAllocator< 128, PxReflectionAllocator< PxSolverBody > > >
PxSolverBody * mData
 
uint32_t mSize
 
uint32_t mCapacity
 

Detailed Description

Solver body 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: