RDK Documentation (Open Sourced RDK Components)
AAMPMemorySystem Class Referenceabstract

Handles the operations for AAMP memory managemnts. More...

#include <AampMemorySystem.h>

Inheritance diagram for AAMPMemorySystem:
Inheritance graph
Collaboration diagram for AAMPMemorySystem:
Collaboration graph

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
 
AAMPMemorySystemoperator= (const AAMPMemorySystem &)=delete
 

Data Fields

AampLogManagermLogObj
 

yes

Handles the operations for AAMP memory managemnts.

Definition at line 37 of file AampMemorySystem.h.

Member Function Documentation

◆ encode()

virtual bool AAMPMemorySystem::encode ( const uint8_t *  dataIn,
uint32_t  dataInSz,
std::vector< uint8_t > &  dataOut 
)
pure virtual

Encode a block of data to send over the divide.

Parameters
dataInpointer to the data to encode
dataInSzthe size to encode
outdataOut the data to send
Returns
true if data is encoded

Implemented in AampIonMemorySystem, and AampSharedMemorySystem.

◆ decode()

virtual bool AAMPMemorySystem::decode ( const uint8_t *  dataIn,
uint32_t  dataInSz,
uint8_t *  dataOut,
uint32_t  dataOutSz 
)
pure virtual

Decode from getting back.

Parameters
dataInpointer to the data to decode
sizethe size to decode
outdataOut the data to recover
intdataOutSz the size of the space for data to recover

Implemented in AampIonMemorySystem, and AampSharedMemorySystem.


The documentation for this class was generated from the following file: