Wyatt
1.0.1
|
#include <MockIRRangeFinderSensorMessage.h>
Public Member Functions | |
MockIRRangeFinderSensorMessage (Hardware hardware, std::string data) | |
std::string | serialize () override |
std::string | getData () |
Public Member Functions inherited from IMessage | |
IMessage (Hardware hardware) | |
virtual | ~IMessage () |
Hardware | getHardware () |
Additional Inherited Members | |
Protected Attributes inherited from IMessage | |
Hardware | hardware |
Mock message for the MockIRRangeFinderSensor. Required to use the SensorManager with the MockIRRangeFinderSensor.
Definition at line 12 of file MockIRRangeFinderSensorMessage.h.
|
overridevirtual |
Serialize the message as a string. The hardware address is appended to the front of the string.
Implements IMessage.
Definition at line 19 of file MockIRRangeFinderSensorMessage.cpp.