ADTF
|
specialization for adtf_util::cMemoryBlock More...
Static Public Member Functions | |
static tResult | Assign (adtf_util::cMemoryBlock *pAssignValue, const size_t, const void *pValueToSet, const size_t szSizeToSet) |
Sets (copy) the memory value pValueToSet of size in bytes szSizeToSet to the of container class T in parameter pAssignValue . More... | |
static const void * | GetPtr (const adtf_util::cMemoryBlock *pAssignValue) |
Gets the memory pointer to the of container class T in parameter pAssignValue . More... | |
static size_t | GetSize (const adtf_util::cMemoryBlock *pAssignValue, const size_t) |
Gets size in bytes of the memory pointer of container class T in parameter pAssignValue . More... | |
specialization for adtf_util::cMemoryBlock
Definition at line 23 of file rawmemory_intf.h.
|
inlinestatic |
Sets (copy) the memory value pValueToSet
of size in bytes szSizeToSet
to the of container class T
in parameter pAssignValue
.
Usually this implementation creates a deep copy.
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | implementation details: max size of static pre allocated memory within AssignValue . if set no dynamic allocation possible. |
[in] | pValueToSet | raw pointer to the memory to set |
[in] | szSizeToSet | size in bytes of pValueToSet |
Definition at line 27 of file rawmemory_intf.h.
|
inlinestatic |
Gets the memory pointer to the of container class T
in parameter pAssignValue
.
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
Definition at line 35 of file rawmemory_intf.h.
|
inlinestatic |
Gets size in bytes of the memory pointer of container class T
in parameter pAssignValue
.
[in] | pAssignValue | pointer to the container class T . Must be a valid constructed object. |
[in] | szStaticSize | size of the pointers buffer if container class is a static sized type |
Definition at line 40 of file rawmemory_intf.h.