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 EXTERNALSOURCE_H
10 #define EXTERNALSOURCE_H
12 #include <semaphore.h>
15 #include "OlySocket.h"
18 // Unix domain socket counters from external sources like graphics drivers
19 class ExternalSource : public Source {
21 ExternalSource(sem_t *senderSem);
29 void write(Sender *sender);
35 // Intentionally unimplemented
36 ExternalSource(const ExternalSource &);
37 ExternalSource &operator=(const ExternalSource &);
40 #endif // EXTERNALSOURCE_H