5 #include "MockIRRangeFinderSensorMessage.h" 7 MockIRRangeFinderSensorMessage::MockIRRangeFinderSensorMessage(
Hardware hardware, std::string data) :
IMessage(hardware) {
11 MockIRRangeFinderSensorMessage::~MockIRRangeFinderSensorMessage() {
15 std::string MockIRRangeFinderSensorMessage::getData() {
21 serial.append(1, hardware.address);
22 serial.append((
char*)(&(this->data)), 8);
std::string serialize() override