1 #include <vtestbed/gui/TestbedGUI.hh> 2 #include <vtestbed/gui/TestbedPipelineInstance.hh> 3 #include <vtestbed/guile/macros.hh> 4 #include <vtestbed/guile/traits.hh> 37 vpipeline.testbed(std::move(*get_object<testbed_type>(other)));
38 return SCM_UNSPECIFIED;
53 vpipeline.testbed_gui()->recording(
true);
54 return SCM_UNSPECIFIED;
67 vpipeline.testbed_gui()->recording(
false);
68 return SCM_UNSPECIFIED;
79 vpipeline.testbed_gui()->start();
80 return SCM_UNSPECIFIED;
91 vpipeline.testbed_gui()->pause();
92 return SCM_UNSPECIFIED;
103 vpipeline.testbed_gui()->stop();
104 return SCM_UNSPECIFIED;
111 void vtb::gui::testbed_pipeline_define() {
113 define_procedure(
"get-testbed", 0, 0, 0, VTB_GUILE_0(
get_testbed));
114 define_procedure(
"set-testbed!", 1, 0, 0, VTB_GUILE_1(
set_testbed));
115 define_procedure(
"testbed-gui-start-recording!", 0, 0, 0,
117 define_procedure(
"testbed-gui-stop-recording!", 0, 0, 0,
121 define_procedure(
"testbed-gui-stop!", 0, 0, 0, VTB_GUILE_0(
testbed_gui_stop));
SCM testbed_gui_start()
Start real-time simulation.
SCM testbed_gui_stop()
Stop real-time simulation (and screen recording).
SCM testbed_gui_start_recording()
Start screen recording.
SCM testbed_gui_stop_recording()
Stop screen recording.
SCM get_testbed()
Get the current instance of virtual testbed.
Graphical user interface interactive real-time computation and visualisation.
SCM testbed_gui_pause()
Pause real-time simulation (and screen recording).
SCM set_testbed(SCM other)
Replace the current instance of virtual testbed with other.