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);
92 friend class agxData::Buffer;
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...
size_t capacity() const
Returns the size of the memory are used by the container to store its elements.
Buffer is deallocated and replaced by an newly allocated empty buffer.
Representation of a session on disk created by the FileFrameWriter.
Abstract representation of a data buffer.
typedef void(GLAD_API_PTR *GLDEBUGPROC)(GLenum source
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()