biblioteca que serve como midleware para as diversas placas que podem implementar esse padrão !
Diff: communication/Communication.h
- Revision:
- 1:3a7f743de36f
- Child:
- 3:c87e6b48834e
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/communication/Communication.h Sat Jun 15 10:50:50 2019 -0300 @@ -0,0 +1,15 @@ +#ifndef SGAM_MDW_COMMUNICATION_H +#define SGAM_MDW_COMMUNICATION_H + +class Communication { +public: + Communication() { }; + ~Communication(){ }; + + virtual int initialize(char* parameters) = 0; + virtual int finalize() = 0; + + virtual int write(char* data) = 0; + virtual int read(char* buffer, int offset) = 0; +}; +#endif