RDK Documentation (Open Sourced RDK Components)
|
Handles the shared Memory operations. More...
#include <AampSharedMemorySystem.h>
Public Member Functions | |
AampSharedMemorySystem (AampLogManager *logObj) | |
AampSharedMemorySystem constructor. | |
virtual | ~AampSharedMemorySystem () |
AampSharedMemorySystem Destructor. | |
virtual bool | encode (const uint8_t *dataIn, uint32_t dataInSz, std::vector< uint8_t > &dataOut) |
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) |
Decode from getting back. More... | |
Public Member Functions inherited from AAMPMemorySystem | |
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 |
Additional Inherited Members | |
Data Fields inherited from AAMPMemorySystem | |
AampLogManager * | mLogObj |
Handles the shared Memory operations.
Definition at line 50 of file AampSharedMemorySystem.h.
|
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 |
Implements AAMPMemorySystem.
Definition at line 49 of file AampSharedMemorySystem.cpp.
|
virtual |
Decode from getting back.
dataIn | pointer to the data to decode | |
dataInSz | the size to decode | |
[out] | dataOut | the data to recover |
[in] | dataOutSz | the size of the space for data to recover |
Implements AAMPMemorySystem.
Definition at line 102 of file AampSharedMemorySystem.cpp.