Jon Medhurst | 96b5615 | 2014-10-30 18:01:15 +0000 | [diff] [blame] | 1 | /** |
Jon Medhurst | b1d0744 | 2015-05-08 12:04:18 +0100 | [diff] [blame] | 2 | * Copyright (C) ARM Limited 2013-2015. All rights reserved. |
Jon Medhurst | 96b5615 | 2014-10-30 18:01:15 +0000 | [diff] [blame] | 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License version 2 as |
| 6 | * published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef HWMONDRIVER_H |
| 10 | #define HWMONDRIVER_H |
| 11 | |
| 12 | #include "Driver.h" |
| 13 | |
| 14 | class HwmonDriver : public PolledDriver { |
| 15 | public: |
| 16 | HwmonDriver(); |
| 17 | ~HwmonDriver(); |
| 18 | |
| 19 | void readEvents(mxml_node_t *const root); |
| 20 | |
| 21 | void writeEvents(mxml_node_t *root) const; |
| 22 | |
| 23 | void start(); |
| 24 | |
| 25 | private: |
| 26 | // Intentionally unimplemented |
| 27 | HwmonDriver(const HwmonDriver &); |
| 28 | HwmonDriver &operator=(const HwmonDriver &); |
| 29 | }; |
| 30 | |
| 31 | #endif // HWMONDRIVER_H |