iceoryx_posh 2.0.5
|
Public Member Functions | |
virtual | ~RouDiMemoryManager () noexcept |
The Destructor of the RouDiMemoryManager also calls destroy on the registered MemoryProvider. | |
RouDiMemoryManager (RouDiMemoryManager &&)=delete | |
RouDiMemoryManager & | operator= (RouDiMemoryManager &&)=delete |
RouDiMemoryManager (const RouDiMemoryManager &)=delete | |
RouDiMemoryManager & | operator= (const RouDiMemoryManager &)=delete |
cxx::expected< RouDiMemoryManagerError > | addMemoryProvider (MemoryProvider *memoryProvider) noexcept |
This function add a MemoryProvider to the memory manager. | |
cxx::expected< RouDiMemoryManagerError > | createAndAnnounceMemory () noexcept |
The RouDiMemoryManager calls the the MemoryProvider to create the memory and announce the availability to its MemoryBlocks. | |
cxx::expected< RouDiMemoryManagerError > | destroyMemory () noexcept |
The RouDiMemoryManager calls the the MemoryProvider to destroy the memory, which in turn prompts the MemoryBlocks to destroy their data. | |
|
noexcept |
This function add a MemoryProvider to the memory manager.
[in] | memoryProvider | is a pointer to a user defined MemoryProvider |
|
noexcept |
The RouDiMemoryManager calls the the MemoryProvider to create the memory and announce the availability to its MemoryBlocks.