|
ADTF
|
#include <rawmemory_intf.h>
Inherits adtf::base::ant::IRawMemory.
Public Member Functions | |
| cRawMemoryRedirect (std::function< tResult(const IRawMemory &)> fnForward) | |
| tResult | Set (const void *pValue, size_t szSize) override |
| size_t | GetSize () const override |
| const void * | Get () const override |
Redirects the IRawMemory interface to a given std::function. This can be used to implement visit functionalities.
|
inlineoverridevirtual |
Returns the raw memory pointer.
Implements adtf::base::ant::IRawMemory.
|
inlineoverridevirtual |
Returns the size in bytes of the memory.
Implements adtf::base::ant::IRawMemory.
|
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 adtf::base::ant::IRawMemory.