![]() |
GM6000 Digital Heater Controller Branch: main
SDX-1330
|
This concrete class implements the RegionMedia interface using the Driver::NV::Api interface. More...
This concrete class implements the RegionMedia interface using the Driver::NV::Api interface.
#include <NVAdapter.h>
Public Member Functions | |
NVAdapter (Driver::NV::Api &lowLevelDriver, size_t regionStartAddress, size_t regionLen) noexcept | |
Constructor. | |
void | start (Cpl::Dm::MailboxServer &myMbox_notUsed) noexcept |
See Cpl::Persistent::RegionMedia. | |
void | stop () noexcept |
See Cpl::Persistent::RegionMedia. | |
bool | write (size_t offset, const void *srcData, size_t srcLen) noexcept |
See Cpl::Persistent::RegionMedia. | |
size_t | read (size_t offset, void *dstBuffer, size_t bytesToRead) noexcept |
See Cpl::Persistent::RegionMedia. | |
![]() | |
virtual size_t | getStartAddress () const |
Returns the Region's starting address. | |
virtual size_t | getRegionLength () const |
Returns the Region's length in bytes. | |
virtual | ~RegionMedia () |
Virtual destructor. | |
Protected Attributes | |
Driver::NV::Api & | m_driver |
Handle to the low level driver that does all of the work. | |
![]() | |
size_t | m_startAddress |
The Regions' starting address. | |
size_t | m_regionLength |
The length, in bytes, of the region. | |
Additional Inherited Members | |
![]() | |
RegionMedia (size_t startAddress, size_t regionLength) | |
Constructor. Note: A child class is required. | |
|
noexcept |
Constructor.
|
virtualnoexcept |
See Cpl::Persistent::RegionMedia.
Implements Cpl::Persistent::RegionMedia.
|
virtualnoexcept |
See Cpl::Persistent::RegionMedia.
Implements Cpl::Persistent::RegionMedia.
|
virtualnoexcept |
See Cpl::Persistent::RegionMedia.
Implements Cpl::Persistent::RegionMedia.
|
virtualnoexcept |
See Cpl::Persistent::RegionMedia.
Implements Cpl::Persistent::RegionMedia.
|
protected |
Handle to the low level driver that does all of the work.