commit da9d2c5f171ee286c8494e467c265b3ae3507962
parent 994f0e19608bd29499ace141d1d1fa7bd459f803
Author: Bharatvaj H <bharatvajph@gmail.com>
Date: Mon, 11 Feb 2019 08:29:22 +0000
parent 994f0e19608bd29499ace141d1d1fa7bd459f803
Author: Bharatvaj H <bharatvajph@gmail.com>
Date: Mon, 11 Feb 2019 08:29:22 +0000
Added Device to models
1 file changed, 15 insertions(+), 0 deletions(-)
diff --git a/forwarder/include/Device.hpp b/forwarder/include/Device.hpp @@ -0,0 +1,14 @@ +#ifndef _DEVICE_H +#define _DEVICE_H +#include <iostream> +namespace wa +{ +class Device +{ + public: + Device(){} + virtual int send(std::string msgToSend) = 0; + virtual std::string recv(int bytesToRead) = 0; +}; +} // namespace wa +#endif+ \ No newline at end of file
: bharatvaj/forwarder