Virtual Testbed
Ship dynamics simulator for extreme conditions
src
vtestbed
gui
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>
14
class
PlainWaveGeneratorPanel
:
public
GeneratorPanel
<T> {
15
16
private
:
17
using
base_type
=
GeneratorPanel<T>
;
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
vtb::gui::PlainWaveGeneratorPanel
Definition:
PlainWaveGeneratorPanel.hh:14
vtb
Main namespace.
Definition:
convert.hh:9
vtb::core::Testbed< T, 3 >
vtb::gui::PlainWavePanel
Definition:
PlainWavePanel.hh:16
vtb::gui::GeneratorPanel
Definition:
GeneratorPanel.hh:13
Generated by
1.8.15