17 #ifndef AGX_CONTAINER_H 18 #define AGX_CONTAINER_H 27 class ThreadScopeAllocator;
63 size_t capacity()
const;
70 const void* ptr()
const;
80 void _setBuffer(
void* buffer) { m_buffer = buffer; }
81 void _setCapacity(
size_t capacity) {
m_capacity = capacity; }
82 void _setSize(
size_t size) {
m_size = size; }
87 Container(Container&& other);
88 Container(const Container& other);
122 other.m_buffer =
nullptr;
123 other.m_capacity = 0;
The Container is the base class for several of the container classes proided by AGX, such as agx::Vector and agx::HashSet.
agx::Thread is a representation of an OS specific implementation of a computational thread...
ClearPolicy
agxData::Values from this enumeration is passed to the subclasses' 'clear' method in order to control...
Buffer is deallocated and replaced by an newly allocated empty buffer.
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
size_t capacity() const
Returns the size of the memory are used by the container to store its elements.
Abstract representation of a data buffer.
Contains classes for low level data storage for AGX.
Buffer is shrunk if a smoothing average (which is updated each clear call) goes below a threshold...
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()