MemMap
Examples of using the MemMap class are included in Using The MemMap Class.
MemMap objects in C++ are referenced by the following shared pointer typedef:
-
typedef std::shared_ptr<rogue::hardware::MemMap> rogue::hardware::MemMapPtr
Alias for using shared pointer as TcpClientPtr.
The class description is shown below:
-
class MemMap : public rogue::interfaces::memory::Slave
Raw Memory Map Class.
This class provides a bridge between the Rogue memory interface and a standard Linux /dev/map interface.
Public Static Functions
-
static std::shared_ptr<rogue::hardware::MemMap> create(uint64_t base, uint32_t size)
Class factory which returns a MemMapPtr to a newly created MemMap object.
Exposed to Python as rogue.hardware.MemMap()
- Parameters:
base – Base address to map
size – Size of address space to map
- Returns:
MemMap pointer (MemMapPtr)
-
static std::shared_ptr<rogue::hardware::MemMap> create(uint64_t base, uint32_t size)