Wyatt
1.0.1
|
#include <MockSensorManager.h>
Public Member Functions | |
void | addSensor (Hardware hardware, ISensor *sensor) override |
void | updateSensors (std::list< IMessage * > *messages) override |
std::list< IMessage * > * | getUpdateMessages () |
Public Member Functions inherited from ISensorManager | |
virtual | ~ISensorManager () |
Public Attributes | |
std::list< IMessage * > * | updateMessages |
Mock SensorManager class that logs what messages are sent to it through updateMessages()
Definition at line 14 of file MockSensorManager.h.
Adds a sensor to be managed
Implements ISensorManager.
Definition at line 15 of file MockSensorManager.cpp.
|
overridevirtual |
Receives data and distributes it to the respective sensors. Deletes the messages upon completion.
messages | A list of Messages |
Implements ISensorManager.
Definition at line 19 of file MockSensorManager.cpp.