blob: f15d557051dc110c949d6188d81ac5c90dc54020 [file] [log] [blame]
Jon Medhurst96b56152014-10-30 18:01:15 +00001/**
Jon Medhurstb1d07442015-05-08 12:04:18 +01002 * Copyright (C) ARM Limited 2013-2015. All rights reserved.
Jon Medhurst96b56152014-10-30 18:01:15 +00003 *
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
14class HwmonDriver : public PolledDriver {
15public:
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
25private:
26 // Intentionally unimplemented
27 HwmonDriver(const HwmonDriver &);
28 HwmonDriver &operator=(const HwmonDriver &);
29};
30
31#endif // HWMONDRIVER_H