Wyatt
1.0.1
Main Page
Classes
Files
File List
test
mocks
include
MockIRRangeFinderSensor.h
1
#include "sensors/IRangeFinderSensor.h"
2
6
class
MockIRRangeFinderSensor
:
public
IRangeFinderSensor
{
7
8
public
:
9
MockIRRangeFinderSensor
();
10
~
MockIRRangeFinderSensor
()
override
;
11
void
updateSensor
(
IMessage
* msg)
override
;
12
double
getDistanceCM
()
override
;
13
std::string getData();
14
15
private
:
16
double
distanceInCm;
17
std::string data;
18
};
IRangeFinderSensor
Definition:
IRangeFinderSensor.h:7
IMessage
Definition:
IMessage.h:10
MockIRRangeFinderSensor
Definition:
MockIRRangeFinderSensor.h:6
MockIRRangeFinderSensor::updateSensor
void updateSensor(IMessage *msg) override
Definition:
MockIRRangeFinderSensor.cpp:12
MockIRRangeFinderSensor::getDistanceCM
double getDistanceCM() override
Definition:
MockIRRangeFinderSensor.cpp:17
Generated by
1.8.11