blob: 03ecb7e99f18dda6ce962bb66fc3c99df0348710 [file] [log] [blame] [raw]
#ifndef DEVREADER_LINUX_SYS_H
#define DEVREADER_LINUX_SYS_H
#include "devreader.h"
#include <string>
#include <list>
class DevReaderLinuxSys : public DevReader
{
public:
DevReaderLinuxSys(const std::string& deviceName);
virtual ~DevReaderLinuxSys();
static bool isAvailable();
static std::list<std::string> findAllDevices();
protected:
void readFromDevice(DataFrame& dataFrame);
private:
unsigned long readULongSysEntry(const std::string& entry);
};
#endif