Wyatt  1.0.1
Public Member Functions | List of all members
MockIRRangeFinderSensorMessage Class Reference

#include <MockIRRangeFinderSensorMessage.h>

Inheritance diagram for MockIRRangeFinderSensorMessage:
Inheritance graph
[legend]
Collaboration diagram for MockIRRangeFinderSensorMessage:
Collaboration graph
[legend]

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
 

Detailed Description

Mock message for the MockIRRangeFinderSensor. Required to use the SensorManager with the MockIRRangeFinderSensor.

Definition at line 12 of file MockIRRangeFinderSensorMessage.h.

Member Function Documentation

std::string MockIRRangeFinderSensorMessage::serialize ( )
overridevirtual

Serialize the message as a string. The hardware address is appended to the front of the string.

Returns
A string representation of the message.

Implements IMessage.

Definition at line 19 of file MockIRRangeFinderSensorMessage.cpp.


The documentation for this class was generated from the following files: