A platform for high-performance distributed tool and library development written in C++. It can be deployed in two different cluster modes: standalone or distributed. API for v0.5.0, released on June 13, 2018.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
pdb::InactiveAllocationBlock Class Reference

#include <Allocator.h>

+ Collaboration diagram for pdb::InactiveAllocationBlock:

Public Member Functions

 InactiveAllocationBlock ()
 
void freeBlock ()
 
 InactiveAllocationBlock (void *startIn, size_t numBytes)
 
void decReferenceCount ()
 
unsigned getReferenceCount ()
 
bool areNoReferences ()
 
size_t numBytes ()
 
void * getStart ()
 
void * getEnd ()
 

Public Attributes

void * start
 
void * end
 

Friends

bool operator< (const InactiveAllocationBlock &in, const void *compToMe)
 
bool operator< (const InactiveAllocationBlock &lhs, const InactiveAllocationBlock &rhs)
 
bool operator> (const InactiveAllocationBlock &in, const void *compToMe)
 
bool operator== (const InactiveAllocationBlock &in, const void *compToMe)
 

Detailed Description

Definition at line 43 of file Allocator.h.

Constructor & Destructor Documentation

pdb::InactiveAllocationBlock::InactiveAllocationBlock ( )
inline

Definition at line 36 of file Allocator.cc.

pdb::InactiveAllocationBlock::InactiveAllocationBlock ( void *  startIn,
size_t  numBytes 
)
inline

Definition at line 48 of file Allocator.cc.

+ Here is the call graph for this function:

Member Function Documentation

bool pdb::InactiveAllocationBlock::areNoReferences ( )
inline

Definition at line 79 of file Allocator.cc.

void pdb::InactiveAllocationBlock::decReferenceCount ( )
inline

Definition at line 74 of file Allocator.cc.

void pdb::InactiveAllocationBlock::freeBlock ( )
inline

Definition at line 42 of file Allocator.cc.

void * pdb::InactiveAllocationBlock::getEnd ( )
inline

Definition at line 95 of file Allocator.cc.

unsigned pdb::InactiveAllocationBlock::getReferenceCount ( )
inline

Definition at line 83 of file Allocator.cc.

+ Here is the caller graph for this function:

void * pdb::InactiveAllocationBlock::getStart ( )
inline

Definition at line 91 of file Allocator.cc.

+ Here is the caller graph for this function:

size_t pdb::InactiveAllocationBlock::numBytes ( )
inline

Definition at line 87 of file Allocator.cc.

+ Here is the caller graph for this function:

Friends And Related Function Documentation

bool operator< ( const InactiveAllocationBlock in,
const void *  compToMe 
)
friend

Definition at line 54 of file Allocator.cc.

bool operator< ( const InactiveAllocationBlock lhs,
const InactiveAllocationBlock rhs 
)
friend

Definition at line 59 of file Allocator.cc.

bool operator== ( const InactiveAllocationBlock in,
const void *  compToMe 
)
friend

Definition at line 69 of file Allocator.cc.

bool operator> ( const InactiveAllocationBlock in,
const void *  compToMe 
)
friend

Definition at line 64 of file Allocator.cc.

Member Data Documentation

void* pdb::InactiveAllocationBlock::end

Definition at line 50 of file Allocator.h.

void* pdb::InactiveAllocationBlock::start

Definition at line 47 of file Allocator.h.


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