Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 1 | #include "fan_enclosure.hpp" |
| 2 | |
| 3 | |
| 4 | namespace phosphor |
| 5 | { |
| 6 | namespace fan |
| 7 | { |
| 8 | namespace presence |
| 9 | { |
| 10 | |
Matthew Barth | b803445 | 2017-02-17 16:39:46 -0600 | [diff] [blame] | 11 | void FanEnclosure::addInventory() |
| 12 | { |
| 13 | //TODO Add this fan to inventory |
| 14 | } |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 15 | |
Matthew Barth | d640382 | 2017-02-17 17:10:19 -0600 | [diff] [blame^] | 16 | void FanEnclosure::addSensor( |
| 17 | std::unique_ptr<Sensor>&& sensor) |
| 18 | { |
| 19 | FanEnclosure::sensors.push_back(std::move(sensor)); |
| 20 | } |
| 21 | |
Matthew Barth | 293477d | 2017-02-17 15:39:36 -0600 | [diff] [blame] | 22 | } // namespace presence |
| 23 | } // namespace fan |
| 24 | } // namespace phosphor |