| Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 1 | #pragma once | 
|  | 2 |  | 
|  | 3 |  | 
|  | 4 | namespace phosphor | 
|  | 5 | { | 
|  | 6 | namespace fan | 
|  | 7 | { | 
|  | 8 | namespace presence | 
|  | 9 | { | 
|  | 10 |  | 
|  | 11 | class FanEnclosure; | 
|  | 12 | class Sensor | 
|  | 13 | { | 
|  | 14 | public: | 
|  | 15 | Sensor() = delete; | 
|  | 16 | Sensor(const Sensor&) = delete; | 
|  | 17 | Sensor(Sensor&&) = delete; | 
|  | 18 | Sensor& operator=(const Sensor&) = delete; | 
|  | 19 | Sensor& operator=(Sensor&&) = delete; | 
|  | 20 | virtual ~Sensor() = default; | 
|  | 21 |  | 
|  | 22 | virtual bool isPresent() = 0; | 
|  | 23 |  | 
|  | 24 | protected: | 
|  | 25 |  | 
|  | 26 | }; | 
|  | 27 |  | 
|  | 28 | } // namespace presence | 
|  | 29 | } // namespace fan | 
|  | 30 | } // namespace phosphor |