|
| size_t | count |
| |
| size_t | size |
| |
| boost::movelib::unique_ptr< uint8_t[]> | data |
| |
◆ SwapBasedBlockAllocator()
| Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::SwapBasedBlockAllocator |
( |
size_t |
count, |
|
|
size_t |
size |
|
) |
| |
|
private |
55 ,
data(boost::movelib::make_unique<uint8_t[]>(count_ * size_))
56 {
57 }
size_t count
Definition swapbasedblockallocator.cc:37
size_t size
Definition swapbasedblockallocator.cc:38
boost::movelib::unique_ptr< uint8_t[]> data
Definition swapbasedblockallocator.cc:39
◆ create()
| BlockInterface::Ptr Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::create |
( |
size_t |
count, |
|
|
size_t |
size |
|
) |
| |
|
static |
◆ get()
| RawPageData::Ptr Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::get |
( |
size_t |
id | ) |
|
|
overrideprotectedvirtual |
◆ getPages()
| PageList Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::getPages |
( |
| ) |
|
|
overridevirtual |
Implements Scroom::MemoryBlocks::BlockInterface.
75 {
77
79 for(
size_t i = 0; i <
count; i++)
80 {
81 result.emplace_back(me, i);
82 }
83
85 }
std::list< Page > PageList
Definition blockallocator.hh:39
SampleIterator< const uint8_t > result
Definition sampleiterator-tests.cc:94
◆ count
| size_t Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::count |
|
private |
◆ data
| boost::movelib::unique_ptr<uint8_t[]> Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::data |
|
private |
◆ size
| size_t Scroom::MemoryBlocks::Detail::SwapBasedBlockAllocator::size |
|
private |
The documentation for this class was generated from the following file: