iceoryx_doc  1.0.1
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
iox::mepoo::MemoryInfo Struct Reference

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 <memory_info.hpp>

Public Member Functions

 MemoryInfo (const MemoryInfo &)=default
 
 MemoryInfo (MemoryInfo &&)=default
 
MemoryInfooperator= (const MemoryInfo &)=default
 
MemoryInfooperator= (MemoryInfo &&)=default
 
 MemoryInfo (uint32_t deviceId=DEFAULT_DEVICE_ID, uint32_t memoryType=DEFAULT_MEMORY_TYPE)
 creates a MemoryInfo object More...
 

Public Attributes

uint32_t deviceId {DEFAULT_DEVICE_ID}
 
uint32_t memoryType {DEFAULT_MEMORY_TYPE}
 

Static Public Attributes

static constexpr uint32_t DEFAULT_DEVICE_ID {0u}
 
static constexpr uint32_t DEFAULT_MEMORY_TYPE {0u}
 

Detailed Description

Stores properties of the memory to be used when we distinguish between different types of memory on e.g. different devices with different characteristics.

Constructor & Destructor Documentation

◆ MemoryInfo()

iox::mepoo::MemoryInfo::MemoryInfo ( uint32_t  deviceId = DEFAULT_DEVICE_ID,
uint32_t  memoryType = DEFAULT_MEMORY_TYPE 
)

creates a MemoryInfo object

Parameters
[in]deviceIdspecifies the device where the memory is located
[in]memoryTypeencodes additional information about the memory

The documentation for this struct was generated from the following file: