Wyatt
1.0.1
|
#include <IHardwareInterface.h>
Public Member Functions | |
virtual | ~IHardwareInterface () |
virtual void | write (IMessage *msg)=0 |
virtual std::list< IMessage * > * | read ()=0 |
Interface that describes what functions hardware adapters should expose to the rest of the program.
Definition at line 12 of file IHardwareInterface.h.
|
inlinevirtual |
Deconstructor. Delete any pointer references.
Definition at line 17 of file IHardwareInterface.h.
|
pure virtual |
Read data from the peripheral
Implemented in EncoderAdapter, MotorAdapter, and MockHardwareInterface.
|
pure virtual |
Write a message to the peripheral. Deletes the message pointer.
msg | A Message to be sent |
Implemented in EncoderAdapter, MotorAdapter, and MockHardwareInterface.