ADTF
|
Public Member Functions | |
adtf_memory_buffer (const T *pPtr, size_t szSize) | |
tResult | Set (const void *, size_t) 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 | |
const T * | m_pPtr |
size_t | m_szSize |
Definition at line 245 of file rawmemory_base.h.
|
inlineoverridevirtual |
Returns the raw memory pointer.
Implements IRawMemory.
Definition at line 269 of file rawmemory_base.h.
|
inlineoverridevirtual |
Returns the size in bytes of the memory.
Implements IRawMemory.
Definition at line 264 of file rawmemory_base.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 259 of file rawmemory_base.h.
References RETURN_ERROR.