• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
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  */
10 #ifndef RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
11 #define RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
12 
13 #include "absl/base/attributes.h"
14 #include "rtc_tools/rtc_event_log_visualizer/plot_base.h"
15 
16 namespace webrtc {
17 
18 class PythonPlot final : public Plot {
19  public:
20   PythonPlot();
21   ~PythonPlot() override;
22   void Draw() override;
23 };
24 
25 class ABSL_DEPRECATED("Use PlotCollection and PrintPythonCode() instead.")
26     PythonPlotCollection final : public PlotCollection {
27  public:
28   explicit PythonPlotCollection(bool shared_xaxis = false);
29   ~PythonPlotCollection() override;
30   void Draw() override;
31   Plot* AppendNewPlot() override;
32 
33  private:
34   bool shared_xaxis_;
35 };
36 
37 }  // namespace webrtc
38 
39 #endif  // RTC_TOOLS_RTC_EVENT_LOG_VISUALIZER_PLOT_PYTHON_H_
40