E2E protection profile abstract class. More...
#include <profile.h>
Public Member Functions | |
virtual bool | TryProtect (const std::vector< uint8_t > &unprotectedData, std::vector< uint8_t > &protectedData)=0 |
Try to protect a message payload by inserting a CRC header. More... | |
virtual bool | TryForward (const std::vector< uint8_t > &unprotectedData, std::vector< uint8_t > &protectedData)=0 |
Try to protect a message payload by inserting a CRC header while replicating the E2E status. More... | |
virtual CheckStatusType | Check (const std::vector< uint8_t > &protectedData)=0 |
Check whether a message is received correctly or not. More... | |
E2E protection profile abstract class.
|
pure virtual |
Check whether a message is received correctly or not.
protectedData | Message payload containing the CRC protection to be checked |
Implemented in ara::com::e2e::Profile11.
|
pure virtual |
Try to protect a message payload by inserting a CRC header while replicating the E2E status.
[in] | unprotectedData | Message payload without any protection |
[out] | protectedData | Message payload containing the CRC protection |
Implemented in ara::com::e2e::Profile11.
|
pure virtual |
Try to protect a message payload by inserting a CRC header.
[in] | unprotectedData | Message payload without any protection |
[out] | protectedData | Message payload containing the CRC protection |
Implemented in ara::com::e2e::Profile11.