Mir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
connector_report.h
Go to the documentation of this file.
1 /*
2  * Copyright © 2014 Canonical Ltd.
3  *
4  * This program is free software: you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  * Authored by: Andreas Pokorny <andreas.pokorny@canonical.com>
17  */
18 
19 #ifndef MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
20 #define MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
21 
23 
25 
26 #include <stdexcept>
27 #include <string>
28 
29 namespace mir
30 {
31 namespace report
32 {
33 namespace lttng
34 {
35 
37 {
38 public:
39  void thread_start() override;
40  void thread_end() override;
41  void starting_threads(int count) override;
42  void stopping_threads(int count) override;
43 
44  void creating_session_for(int socket_handle) override;
45  void creating_socket_pair(int server_handle, int client_handle) override;
46 
47  void listening_on(std::string const& endpoint) override;
48 
49  void error(std::exception const& error) override;
50 private:
51  ServerTracepointProvider tp_provider;
52 };
53 
54 }
55 }
56 }
57 
58 #endif // MIR_REPORT_LTTNG_CONNECTOR_REPORT_H_
void creating_socket_pair(int server_handle, int client_handle) override
Definition: connector_report.cpp:51
void error(std::exception const &error) override
Definition: connector_report.cpp:61
void listening_on(std::string const &endpoint) override
Definition: connector_report.cpp:56
input_rectangles report(report)
void starting_threads(int count) override
Definition: connector_report.cpp:36
Definition: connector_report.h:30
void creating_session_for(int socket_handle) override
Definition: connector_report.cpp:46
Definition: server_tracepoint_provider.h:31
Definition: connector_report.h:36
void stopping_threads(int count) override
Definition: connector_report.cpp:41

Copyright © 2012,2013 Canonical Ltd.
Generated on Fri Apr 11 21:14:53 UTC 2014