#include <memblock.h>
Inheritance diagram for MemoryBlock< P_type >:


Public Types | |
| typedef P_type | T_type |
Protected Member Functions | |
| MemoryBlock () | |
| MemoryBlock (size_t items) | |
| MemoryBlock (size_t length, T_type *data) | |
| virtual | ~MemoryBlock () |
| void | addReference () |
| T_type *restrict | data () |
| const T_type *restrict | data () const |
| T_type *& | dataBlockAddress () |
| size_t | length () const |
| int | removeReference () |
| int | references () const |
| void | allocate (size_t length) |
| void | deallocate () |
Private Member Functions | |
| MemoryBlock (const MemoryBlock< T_type > &) | |
| void | operator= (const MemoryBlock< T_type > &) |
Private Attributes | |
| T_type *restrict | data_ |
| T_type * | dataBlockAddress_ |
| volatile int | references_ |
| size_t | length_ |
Friends | |
| class | MemoryBlockReference<P_type> |
|
|||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.9.1