FACT++  1.0
MemoryStock Class Reference

#include <MemoryManager.h>

+ Collaboration diagram for MemoryStock:

Public Member Functions

 MemoryStock (size_t chunk, size_t max)

Private Member Functions

std::shared_ptr< char > pop (bool block)
void push (const std::shared_ptr< char > &mem)

Private Attributes

size_t fChunkSize
size_t fMaxMemory
size_t fInUse
size_t fAllocated
size_t fMaxInUse
std::mutex fMutexMem
std::mutex fMutexCond
std::condition_variable fCond
std::forward_list< std::shared_ptr< char > > fMemoryStock


class MemoryChunk
class MemoryManager

Detailed Description

Definition at line 16 of file MemoryManager.h.

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