SysfsSensorGroup.h 552 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 * SysfsSensorGroup.h
 *
 *  Created on: 18.11.2017
 *      Author: Michael Ott (original), Micha Mueller
 */

#ifndef SYSFSSENSORGROUP_H_
#define SYSFSSENSORGROUP_H_

#include "SysfsSensorBase.h"
#include "../../headers/SensorGroupTemplate.h"

class SysfsSensorGroup : public SensorGroupTemplate<SysfsSensorBase> {

public:
	SysfsSensorGroup(const std::string& name);
	virtual ~SysfsSensorGroup();

	void start()	override;
	void stop()		override;

private:
	void read()			override;
	void readAsync()	override;

};

#endif /* SYSFSSENSORGROUP_H_ */