Honeycomb  0.1
Component-Model Framework
Classes | Public Member Functions | Public Attributes | List of all members
honey::MemPool::Bucket::BlockHeader Struct Reference

Bucket block header. More...

#include <Pool.h>

Collaboration diagram for honey::MemPool::Bucket::BlockHeader:
Collaboration graph
[legend]

Classes

struct  Debug
 

Public Member Functions

uint8bucket ()
 Get bucket from reserved area. More...
 
void validate (int sig)
 Assert that block signature is valid and matches expected value sig More...
 

Public Attributes

Debug debug
 
Handle handle
 
Handle next
 
uint8 offset
 Offset from original block position due to alignment (can change each allocation) More...
 
uint8 reserved
 Last byte is reserved to differentiate block header types. More...
 

Detailed Description

Bucket block header.

Member Function Documentation

uint8& honey::MemPool::Bucket::BlockHeader::bucket ( )
inline

Get bucket from reserved area.

void honey::MemPool::Bucket::BlockHeader::validate ( int  sig)
inline

Assert that block signature is valid and matches expected value sig

Member Data Documentation

Debug honey::MemPool::Bucket::BlockHeader::debug
Handle honey::MemPool::Bucket::BlockHeader::handle
Handle honey::MemPool::Bucket::BlockHeader::next
uint8 honey::MemPool::Bucket::BlockHeader::offset

Offset from original block position due to alignment (can change each allocation)

uint8 honey::MemPool::Bucket::BlockHeader::reserved

Last byte is reserved to differentiate block header types.


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