memorypool.h
// Copyright (c) 1999-2018 David Muse
// See the COPYING file for more information.
#ifndef RUDIMENTS_MEMORYPOOL_H
#define RUDIMENTS_MEMORYPOOL_H
#include <rudiments/private/memorypoolincludes.h>
class RUDIMENTS_DLLSPEC memorypool {
public:
memorypool();
memorypool(size_t initialsize,
size_t incrementsize,
size_t resizeinterval);
~memorypool();
size_t getInitialSize() const;
size_t getIncrementSize() const;
size_t getResizeInterval() const;
unsigned char *allocate(size_t size);
void clear();
void clear(size_t incrementsize,
size_t resizeinterval);
void clear(size_t initialsize,
size_t incrementsize,
size_t resizeinterval);
#include <rudiments/private/memorypool.h>
};
#endif
memorypool
Definition: memorypool.h:16
memorypool::getInitialSize
size_t getInitialSize() const
memorypool::clear
void clear()
memorypool::memorypool
memorypool()
memorypool::getResizeInterval
size_t getResizeInterval() const
memorypool::clear
void clear(size_t initialsize, size_t incrementsize, size_t resizeinterval)
memorypool::~memorypool
~memorypool()
memorypool::allocate
unsigned char * allocate(size_t size)
memorypool::memorypool
memorypool(size_t initialsize, size_t incrementsize, size_t resizeinterval)
memorypool::clear
void clear(size_t incrementsize, size_t resizeinterval)
memorypool::getIncrementSize
size_t getIncrementSize() const