gator: Version 5.20
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / AnnotateListener.h
1 /**
2  * Copyright (C) ARM Limited 2014. All rights reserved.
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 class AnnotateClient;
10 class OlyServerSocket;
11
12 class AnnotateListener {
13 public:
14         AnnotateListener();
15         ~AnnotateListener();
16
17         void setup();
18         int getFd();
19
20         void handle();
21         void close();
22         void signal();
23
24 private:
25         AnnotateClient *mClients;
26         OlyServerSocket *mSock;
27
28         // Intentionally unimplemented
29         AnnotateListener(const AnnotateListener &);
30         AnnotateListener &operator=(const AnnotateListener &);
31 };