ADTF
3.18.2
|
Public Member Functions | |
cRawMemoryRedirect (std::function< tResult(const IRawMemory &)> fnForward) | |
tResult | Set (const void *pValue, size_t szSize) override |
Sets the Raw pointer memory. More... | |
size_t | GetSize () const override |
Returns the size in bytes of the memory. More... | |
const void * | Get () const override |
Returns the raw memory pointer. More... | |
Private Attributes | |
std::function< tResult(const IRawMemory &)> | m_fnForward |
Definition at line 306 of file rawmemory_intf.h.
|
inlineoverridevirtual |
Returns the raw memory pointer.
Implements IRawMemory.
Definition at line 324 of file rawmemory_intf.h.
|
inlineoverridevirtual |
Returns the size in bytes of the memory.
Implements IRawMemory.
Definition at line 319 of file rawmemory_intf.h.
|
inlineoverridevirtual |
Sets the Raw pointer memory.
Copy the content.
[in] | pValue | raw memory pointer. |
[in] | szSize | size of memory to copy in bytes. |
ERR_MEMORY | The Memory does not fit. |
ERR_POINTER | Internal implementation error. |
Implements IRawMemory.
Definition at line 314 of file rawmemory_intf.h.