bring latest ant::IRawMemory to users scope
More...
#include <rawmemory_base.h>
Inherited by adtf::base::ant::adtf_memory< T, TSIZE >, adtf::base::ant::adtf_memory_buffer< T, typename std::enable_if< std::is_const< T >::value >::type >, adtf::base::penguin::adtf_memory< T, TSIZE, void >, , adtf::base::penguin::adtf_memory_trivial_type< T, typename std::enable_if< std::is_const< T >::value >::type >, adtf::base::ant::adtf_memory< T, TSIZE >, adtf::base::ant::adtf_memory_buffer< T, Enable >, adtf::base::ant::adtf_memory_buffer< T, typename std::enable_if< std::is_const< T >::value >::type >, adtf::base::penguin::adtf_memory< T, TSIZE, Enable >, adtf::base::penguin::adtf_memory_trivial_type< T, Enable >, and adtf::base::penguin::adtf_memory_trivial_type< T, typename std::enable_if< std::is_const< T >::value >::type >.
|
| virtual tResult | Set (const void *pValue, size_t szSize)=0 |
| |
| virtual size_t | GetSize () const=0 |
| |
| virtual const void * | Get () const=0 |
| |
bring latest ant::IRawMemory to users scope
The IRawMemory interface provides methods for getting and setting memory values through abstract interfaces.
◆ Get()
| virtual const void * adtf::base::ant::IRawMemory::Get |
( |
| ) |
const |
|
pure virtual |
Returns the raw memory pointer.
- Returns
- the pointer to the raw memory.
◆ GetSize()
| virtual size_t adtf::base::ant::IRawMemory::GetSize |
( |
| ) |
const |
|
pure virtual |
Returns the size in bytes of the memory.
- Returns
- The size in bytes.
◆ Set()
| virtual tResult adtf::base::ant::IRawMemory::Set |
( |
const void * | pValue, |
|
|
size_t | szSize ) |
|
pure virtual |
Sets the Raw pointer memory. Copy the content.
- Parameters
-
| [in] | pValue | raw memory pointer. |
| [in] | szSize | size of memory to copy in bytes. |
- Returns
- Standard Result Code.
- Return values
-
| ERR_MEMORY | The Memory does not fit. |
| ERR_POINTER | Internal implementation error. |
The documentation for this class was generated from the following file: