Class SharedMemoryObject
Defined in File shared_memory_object.hpp
Inheritance Relationships
Base Type
public DesignPattern::Creation< SharedMemoryObject, SharedMemoryObjectError >(Template Class Creation)
Class Documentation
-
class SharedMemoryObject : public DesignPattern::Creation<SharedMemoryObject, SharedMemoryObjectError>
Public Functions
-
SharedMemoryObject(const SharedMemoryObject&) = delete
-
SharedMemoryObject &operator=(const SharedMemoryObject&) = delete
-
SharedMemoryObject(SharedMemoryObject&&) noexcept = default
-
SharedMemoryObject &operator=(SharedMemoryObject&&) noexcept = default
-
~SharedMemoryObject() noexcept = default
-
void *allocate(const uint64_t size, const uint64_t alignment) noexcept
-
void finalizeAllocation() noexcept
-
const void *getBaseAddress() const noexcept
-
void *getBaseAddress() noexcept
-
uint64_t getSizeInBytes() const noexcept
-
int getFileHandle() const noexcept
-
bool hasOwnership() const noexcept
Public Static Attributes
-
static constexpr void *NO_ADDRESS_HINT = nullptr
Friends
- friend class DesignPattern::Creation< SharedMemoryObject, SharedMemoryObjectError >
-
SharedMemoryObject(const SharedMemoryObject&) = delete