Scroom 0.14-48-ga0fee447
Loading...
Searching...
No Matches
Scroom::MemoryBlocks::Page Class Reference

#include <blockallocator.hh>

Collaboration diagram for Scroom::MemoryBlocks::Page:
Collaboration graph

Public Member Functions

 Page (std::shared_ptr< BlockInterface > bi, size_t id)
 
RawPageData::Ptr get ()
 

Private Attributes

std::shared_ptr< BlockInterfacebi
 
size_t id
 

Constructor & Destructor Documentation

◆ Page()

Scroom::MemoryBlocks::Page::Page ( std::shared_ptr< BlockInterface bi,
size_t  id 
)
inline
70 : bi(std::move(bi_))
71 , id(id_)
72 {
73 }
std::shared_ptr< BlockInterface > bi
Definition blockallocator.hh:30
size_t id
Definition blockallocator.hh:31

Member Function Documentation

◆ get()

RawPageData::Ptr Scroom::MemoryBlocks::Page::get ( )
inline
75{ return bi->get(id); }

Member Data Documentation

◆ bi

std::shared_ptr<BlockInterface> Scroom::MemoryBlocks::Page::bi
private

Referenced by get().

◆ id

size_t Scroom::MemoryBlocks::Page::id
private

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