Wyatt  1.0.1
MockHardwareInterface.h
1 //
2 // Created by Tucker Haydon on 4/21/17.
3 //
4 
5 #pragma once
6 #include "hardwareinterface/IHardwareInterface.h"
7 #include "messages/IMessage.h"
8 #include <list>
9 
14 public:
16  void write(IMessage* msg);
17  std::list<IMessage*>* read();
18  void setReadMessages(std::list<IMessage*>* messages);
19  std::list<IMessage*>* getWriteMessages();
20 
21 private:
22  std::list<IMessage*>* writeMessages;
23  std::list<IMessage*>* readMessages;
24  int isSet;
25 };
26 
27 
28 
std::list< IMessage * > * read()