2 * Copyright (C) ARM Limited 2010-2014. All rights reserved.
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.
9 #ifndef USERSPACESOURCE_H
10 #define USERSPACESOURCE_H
12 #include <semaphore.h>
17 // User space counters - currently just hwmon
18 class UserSpaceSource : public Source {
20 UserSpaceSource(sem_t *senderSem);
28 void write(Sender *sender);
33 // Intentionally unimplemented
34 UserSpaceSource(const UserSpaceSource &);
35 UserSpaceSource &operator=(const UserSpaceSource &);
38 #endif // USERSPACESOURCE_H