RDK Documentation (Open Sourced RDK Components)
|
Handles ION memory storage to store data. More...
#include <AampIonMemorySystem.h>
Data Structures | |
class | AampIonMemoryContext |
Public Member Functions | |
AampIonMemorySystem (AampLogManager *logObj) | |
AampIonMemorySystem constructor. | |
virtual | ~AampIonMemorySystem () |
AampIonMemorySystem distructor. | |
virtual bool | encode (const uint8_t *dataIn, uint32_t dataInSz, std::vector< uint8_t > &dataOut) override |
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) override |
Decode from getting back. More... | |
virtual void | terminateEarly () override |
Call this if there's an failure external to the MS and it needs to tidy up unexpectedly. | |
Public Member Functions inherited from AAMPMemorySystem | |
AAMPMemorySystem (AampLogManager *logObj) | |
AAMPMemorySystem (const AAMPMemorySystem &)=delete | |
AAMPMemorySystem & | operator= (const AAMPMemorySystem &)=delete |
Data Fields | |
AampIonMemoryContext | context_ |
Data Fields inherited from AAMPMemorySystem | |
AampLogManager * | mLogObj |
Handles ION memory storage to store data.
Definition at line 49 of file AampIonMemorySystem.h.
|
overridevirtual |
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 |
Implements AAMPMemorySystem.
Definition at line 126 of file AampIonMemorySystem.cpp.
|
overridevirtual |
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 |
Implements AAMPMemorySystem.
Definition at line 180 of file AampIonMemorySystem.cpp.