summaryrefslogtreecommitdiffstats
path: root/tach_sensor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tach_sensor.hpp')
-rw-r--r--tach_sensor.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/tach_sensor.hpp b/tach_sensor.hpp
new file mode 100644
index 0000000..0ef2b0a
--- /dev/null
+++ b/tach_sensor.hpp
@@ -0,0 +1,31 @@
+#pragma once
+
+#include "sensor_base.hpp"
+
+
+namespace phosphor
+{
+namespace fan
+{
+namespace presence
+{
+
+class TachSensor : public Sensor
+{
+ public:
+ TachSensor() = delete;
+ TachSensor(const TachSensor&) = delete;
+ TachSensor(TachSensor&&) = delete;
+ TachSensor& operator=(const TachSensor&) = delete;
+ TachSensor& operator=(TachSensor&&) = delete;
+ ~TachSensor() = default;
+
+ bool isPresent();
+
+ private:
+
+};
+
+} // namespace presence
+} // namespace fan
+} // namespace phosphor
OpenPOWER on IntegriCloud