Module: blank_storage¶
- 
class BlankStorage¶
- #include <blank_storage.h>black message storage class Public Functions - 
BlankStorage()¶
- Constructor for BlankStorage 
 - 
~BlankStorage()¶
- The memory space for a process message buffer and an integer with the size - Destructor for BlankStorage 
 - 
BlankStorage(const BlankStorage &mainCopy)¶
- destruction - Initialize with some already written memory - Initialize a BlankStorage with some non-blank storage - Parameters
- mainCopy: copy of BlankStorage
 
 
 - 
void IncreaseStorage(uint64_t NewVolume)¶
- Copy StorageBuffer data into a new block of memory of size NewVolume Also delete the old memory block - Return
- void 
- Parameters
- NewVolume: total volume in bytes of StorageBuffer to increase to
 
 
 - 
void ClearStorage()¶
- Copy to new memory of size NewVolume bytes - Kill the BlankStorage() - Return
- void 
 
 - 
uint64_t GetCurrentSize() const¶
- null out the BlankStorage 
 Public Members - 
uint8_t *StorageBuffer¶
- size in bytes of the StorageBuffer - The memory where a process buffer writes messages 
 Private Members - 
uint64_t BufferStorageSize¶
- size of StorageBuffer in bytes 
 
-