TwiceAsNice
2019-02-18
|
Every message from the BCU is represented by this class. More...
#include <BcuReply.h>
Public Member Functions | |
BcuReply (const int8_t *borrowedUdpPayload, unsigned payloadLengthInByte) | |
bool | isSuccessful () |
uint8_t | getOpCode () |
int8_t | getMessageId () |
unsigned | getPacketBufferLength () |
uint16_t | getPayloadLengthInDword () |
int8_t * | getStartOfPacketBuffer () |
int8_t * | getStartOfPayload () |
std::string | toString () |
~BcuReply () | |
BcuReply (const int8_t *borrowedUdpPayload, unsigned payloadLengthInByte) | |
bool | isSuccessful () |
uint8_t | getOpCode () |
int8_t | getMessageId () |
unsigned | getPacketBufferLength () |
uint16_t | getPayloadLengthInDword () |
int8_t * | getStartOfPacketBuffer () |
int8_t * | getStartOfPayload () |
std::string | toString () |
~BcuReply () | |
BcuReply (const int8_t *borrowedUdpPayload, unsigned payloadLengthInByte) | |
bool | isSuccessful () |
uint8_t | getOpCode () |
int8_t | getMessageId () |
unsigned | getPacketBufferLength () |
uint16_t | getPayloadLengthInDword () |
int8_t * | getStartOfPacketBuffer () |
int8_t * | getStartOfPayload () |
std::string | toString () |
~BcuReply () | |
Static Public Attributes | |
static const uint8_t | MGP_OP_CMD_SUCCESS = 200 |
static const uint8_t | MGP_OP_CMD_TIMEOUT = 202 |
Private Attributes | |
int8_t * | receiveBuffer_ |
unsigned | bufferLengthInByte_ |
Every message from the BCU is represented by this class.
Basda::Microgate::BcuReply::BcuReply | ( | const int8_t * | borrowedUdpPayload, |
unsigned | payloadLengthInByte | ||
) |
Basda::Microgate::BcuReply::~BcuReply | ( | ) |
Basda::Microgate::BcuReply::BcuReply | ( | const int8_t * | borrowedUdpPayload, |
unsigned | payloadLengthInByte | ||
) |
Basda::Microgate::BcuReply::~BcuReply | ( | ) |
Basda::Microgate::BcuReply::BcuReply | ( | const int8_t * | borrowedUdpPayload, |
unsigned | payloadLengthInByte | ||
) |
Basda::Microgate::BcuReply::~BcuReply | ( | ) |
int8_t Basda::Microgate::BcuReply::getMessageId | ( | ) |
int8_t Basda::Microgate::BcuReply::getMessageId | ( | ) |
int8_t Basda::Microgate::BcuReply::getMessageId | ( | ) |
uint8_t Basda::Microgate::BcuReply::getOpCode | ( | ) |
uint8_t Basda::Microgate::BcuReply::getOpCode | ( | ) |
uint8_t Basda::Microgate::BcuReply::getOpCode | ( | ) |
unsigned Basda::Microgate::BcuReply::getPacketBufferLength | ( | ) |
unsigned Basda::Microgate::BcuReply::getPacketBufferLength | ( | ) |
unsigned Basda::Microgate::BcuReply::getPacketBufferLength | ( | ) |
uint16_t Basda::Microgate::BcuReply::getPayloadLengthInDword | ( | ) |
uint16_t Basda::Microgate::BcuReply::getPayloadLengthInDword | ( | ) |
uint16_t Basda::Microgate::BcuReply::getPayloadLengthInDword | ( | ) |
int8_t * Basda::Microgate::BcuReply::getStartOfPacketBuffer | ( | ) |
int8_t* Basda::Microgate::BcuReply::getStartOfPacketBuffer | ( | ) |
int8_t* Basda::Microgate::BcuReply::getStartOfPacketBuffer | ( | ) |
int8_t* Basda::Microgate::BcuReply::getStartOfPayload | ( | ) |
int8_t* Basda::Microgate::BcuReply::getStartOfPayload | ( | ) |
int8_t * Basda::Microgate::BcuReply::getStartOfPayload | ( | ) |
bool Basda::Microgate::BcuReply::isSuccessful | ( | ) |
bool Basda::Microgate::BcuReply::isSuccessful | ( | ) |
bool Basda::Microgate::BcuReply::isSuccessful | ( | ) |
std::string Basda::Microgate::BcuReply::toString | ( | ) |
std::string Basda::Microgate::BcuReply::toString | ( | ) |
std::string Basda::Microgate::BcuReply::toString | ( | ) |
|
private |
|
private |