Files | |
| file | DefaultAllocator.h |
| Allocator for blocks inside shared segment. | |
| file | DefaultRefCounter.h |
| Reference counter for shared segment. | |
| file | MutexLock.h |
| Platform-independent mutex representation. | |
| file | SegmentHeader.h |
| Object placed at begin of each shared segment. | |
| file | SharedSegment.h |
| Platform-indepent shared segment representation. | |
Classes | |
| class | Share::DefaultAllocator |
| Allocator for blocks inside shared segment. More... | |
| class | Share::DefaultRefCounter |
| Reference counter for shared segment. More... | |
| class | Share::Mutex |
| Platform-independent mutex representation. More... | |
| struct | Share::Mutex::LockData |
| Mutex per-lock specific data. More... | |
| class | Share::MutexLock |
| Mutex lock RAII object. More... | |
| class | Share::SegmentHeader |
| Object placed at begin of each shared segment. More... | |
| class | Share::SharedSegment |
| Platform independent shared segment representation. More... | |
Defines | |
| #define | BITS_ALIGNMENT 8 |
| Define memory alignment in bits that allocator work with. | |
Functions | |
| template<unsigned char bitsAlignment, typename T> | |
| T | Share::genericAlignmenter (T input) |
| Generic number alignmenter. | |
| template<typename T> | |
| T | Share::alignmenter (T input) |
Number alignmenter using BITS_ALIGNMENT macro. | |
| #define BITS_ALIGNMENT 8 |
Define memory alignment in bits that allocator work with.
Definition at line 19 of file DefaultAllocator.h.
| T Share::alignmenter | ( | T | input | ) | [inline] |
Number alignmenter using BITS_ALIGNMENT macro.
| input | number to align |
Definition at line 48 of file DefaultAllocator.h.
| T Share::genericAlignmenter | ( | T | input | ) | [inline] |
Generic number alignmenter.
Template parameter bitsAlignment specifies count of bits from end to align to.
| input | number to align |
Definition at line 32 of file DefaultAllocator.h.
1.5.2