Virtual Testbed
Ship dynamics simulator for extreme conditions
PlainWaveGeneratorPanel.hh
1 #ifndef VTESTBED_GUI_PLAINWAVEGENERATORPANEL_HH
2 #define VTESTBED_GUI_PLAINWAVEGENERATORPANEL_HH
3 
4 #include <vtestbed/core/units.hh>
5 #include <vtestbed/gui/GeneratorPanel.hh>
6 #include <vtestbed/gui/PlainWavePanel.hh>
7 #include <vtestbed/gui/types.hh>
8 
9 namespace vtb {
10 
11  namespace gui {
12 
13  template <class T>
15 
16  private:
18  using policy_type = vtb::core::Policy;
19  using typename base_type::testbed_type;
20 
21  private:
22  PlainWavePanel<T> _wave_panel;
23 
24  public:
25  void draw() override;
26  std::any generator(policy_type policy) override;
27  void init(const testbed_type& testbed) override;
28 
29  };
30 
31  }
32 }
33 
34 #endif // vim:filetype=cpp
Main namespace.
Definition: convert.hh:9