blob: 46a1ed34071ac2c019a5dcfa5a4198cddddc6a15 [file] [log] [blame] [raw]
#ifndef DEVREADER_H
#define DEVREADER_H
#include <string>
#include "dataframe.h"
class DevReader
{
public:
DevReader(const std::string& deviceName);
virtual ~DevReader();
const std::string& getDeviceName() const;
DataFrame getNewDataFrame();
protected:
virtual void readFromDevice(DataFrame& dataFrame) = 0;
std::string getDeviceIp4Address();
std::string m_deviceName;
};
#endif