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::PolicyList< FirstPolicy, OtherPolicies > Class Template Reference

#include <Allocator.h>

+ Inheritance diagram for pdb::PolicyList< FirstPolicy, OtherPolicies >:
+ Collaboration diagram for pdb::PolicyList< FirstPolicy, OtherPolicies >:

Public Member Functions

void setPolicy (AllocatorPolicy toMe)
 
void unsetPolicy ()
 
void freeRAM (bool isContained, void *here, std::vector< InactiveAllocationBlock > &allInactives, AllocatorState &myState)
 
void * getRAM (size_t howMuch, AllocatorState &myState)
 

Private Attributes

FirstPolicy firstPolicy
 
decltype(first
< OtherPolicies...>()) 
theRest
 
bool useMe = false
 

Detailed Description

template<typename FirstPolicy, typename... OtherPolicies>
class pdb::PolicyList< FirstPolicy, OtherPolicies >

Definition at line 278 of file Allocator.h.

Member Function Documentation

template<typename FirstPolicy, typename... OtherPolicies>
void pdb::PolicyList< FirstPolicy, OtherPolicies >::freeRAM ( bool  isContained,
void *  here,
std::vector< InactiveAllocationBlock > &  allInactives,
AllocatorState myState 
)
inline

Definition at line 339 of file Allocator.h.

template<typename FirstPolicy, typename... OtherPolicies>
void* pdb::PolicyList< FirstPolicy, OtherPolicies >::getRAM ( size_t  howMuch,
AllocatorState myState 
)
inline

Definition at line 365 of file Allocator.h.

template<typename FirstPolicy, typename... OtherPolicies>
void pdb::PolicyList< FirstPolicy, OtherPolicies >::setPolicy ( AllocatorPolicy  toMe)
inline

Definition at line 309 of file Allocator.h.

template<typename FirstPolicy, typename... OtherPolicies>
void pdb::PolicyList< FirstPolicy, OtherPolicies >::unsetPolicy ( )
inline

Definition at line 325 of file Allocator.h.

Member Data Documentation

template<typename FirstPolicy, typename... OtherPolicies>
FirstPolicy pdb::PolicyList< FirstPolicy, OtherPolicies >::firstPolicy
private

Definition at line 302 of file Allocator.h.

template<typename FirstPolicy, typename... OtherPolicies>
decltype(first<OtherPolicies...>()) pdb::PolicyList< FirstPolicy, OtherPolicies >::theRest
private

Definition at line 304 of file Allocator.h.

template<typename FirstPolicy, typename... OtherPolicies>
bool pdb::PolicyList< FirstPolicy, OtherPolicies >::useMe = false
private

Definition at line 306 of file Allocator.h.


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