RDK Documentation (Open Sourced RDK Components)
|
Handles the operations for AAMP memory managemnts. More...
#include <AampMemorySystem.h>
Public Member Functions | |
virtual bool | encode (const uint8_t *dataIn, uint32_t dataInSz, std::vector< uint8_t > &dataOut)=0 |
Encode a block of data to send over the divide. More... | |
virtual bool | decode (const uint8_t *dataIn, uint32_t dataInSz, uint8_t *dataOut, uint32_t dataOutSz)=0 |
Decode from getting back. More... | |
virtual void | terminateEarly () |
Call this if there's an failure external to the MS and it needs to tidy up unexpectedly. | |
AAMPMemorySystem (AampLogManager *logObj) | |
AAMPMemorySystem (const AAMPMemorySystem &)=delete | |
AAMPMemorySystem & | operator= (const AAMPMemorySystem &)=delete |
Data Fields | |
AampLogManager * | mLogObj |
Handles the operations for AAMP memory managemnts.
Definition at line 37 of file AampMemorySystem.h.
|
pure virtual |
Encode a block of data to send over the divide.
dataIn | pointer to the data to encode |
dataInSz | the size to encode |
out | dataOut the data to send |
Implemented in AampIonMemorySystem, and AampSharedMemorySystem.
|
pure virtual |
Decode from getting back.
dataIn | pointer to the data to decode |
size | the size to decode |
out | dataOut the data to recover |
int | dataOutSz the size of the space for data to recover |
Implemented in AampIonMemorySystem, and AampSharedMemorySystem.