blob: 23a0a92da50c41c7e8b0016909a6f5f0eaaa6dce [file] [log] [blame]
terelius54ce6802016-07-13 06:44:41 -07001/*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020010#ifndef RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
11#define RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
terelius54ce6802016-07-13 06:44:41 -070012
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020013#include "rtc_tools/event_log_visualizer/plot_base.h"
terelius54ce6802016-07-13 06:44:41 -070014
15namespace webrtc {
terelius54ce6802016-07-13 06:44:41 -070016
17class PythonPlot final : public Plot {
18 public:
19 PythonPlot();
20 ~PythonPlot() override;
tereliusdc35dcd2016-08-01 12:03:27 -070021 void Draw() override;
terelius54ce6802016-07-13 06:44:41 -070022};
23
24class PythonPlotCollection final : public PlotCollection {
25 public:
Bjorn Tereliusff8cce32019-04-11 18:34:01 +020026 explicit PythonPlotCollection(bool shared_xaxis = false);
terelius54ce6802016-07-13 06:44:41 -070027 ~PythonPlotCollection() override;
tereliusdc35dcd2016-08-01 12:03:27 -070028 void Draw() override;
29 Plot* AppendNewPlot() override;
Bjorn Tereliusff8cce32019-04-11 18:34:01 +020030
31 private:
32 bool shared_xaxis_;
terelius54ce6802016-07-13 06:44:41 -070033};
34
terelius54ce6802016-07-13 06:44:41 -070035} // namespace webrtc
36
Mirko Bonadei92ea95e2017-09-15 06:47:31 +020037#endif // RTC_TOOLS_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_