Stores properties of the memory to be used when we distinguish between different types of memory on e.g. different devices with different characteristics.
More...
#include <iceoryx_posh/mepoo/memory_info.hpp>
|
|
| MemoryInfo (const MemoryInfo &) noexcept=default |
|
| MemoryInfo (MemoryInfo &&) noexcept=default |
|
MemoryInfo & | operator= (const MemoryInfo &) noexcept=default |
|
MemoryInfo & | operator= (MemoryInfo &&) noexcept=default |
| | MemoryInfo (uint32_t deviceId=DEFAULT_DEVICE_ID, uint32_t memoryType=DEFAULT_MEMORY_TYPE) noexcept |
| | creates a MemoryInfo object
|
| bool | operator== (const MemoryInfo &rhs) const noexcept |
| | comparison operator
|
|
|
uint32_t | deviceId {DEFAULT_DEVICE_ID} |
|
uint32_t | memoryType {DEFAULT_MEMORY_TYPE} |
|
|
static constexpr uint32_t | DEFAULT_DEVICE_ID {0U} |
|
static constexpr uint32_t | DEFAULT_MEMORY_TYPE {0U} |
Stores properties of the memory to be used when we distinguish between different types of memory on e.g. different devices with different characteristics.
◆ MemoryInfo()
| iox::mepoo::MemoryInfo::MemoryInfo |
( |
uint32_t | deviceId = DEFAULT_DEVICE_ID, |
|
|
uint32_t | memoryType = DEFAULT_MEMORY_TYPE ) |
|
explicitnoexcept |
creates a MemoryInfo object
- Parameters
-
| [in] | deviceId | specifies the device where the memory is located |
| [in] | memoryType | encodes additional information about the memory |
◆ operator==()
| bool iox::mepoo::MemoryInfo::operator== |
( |
const MemoryInfo & | rhs | ) |
const |
|
noexcept |
comparison operator
- Parameters
-
| [in] | rhs | the right hand side of the comparison |
The documentation for this struct was generated from the following file: