using lock_type = std::unique_lock< mutex_type >using callback_queue = std::queue< callback_type >using callback_type = std::function< void(testbed_type &)>using Record = typename statistics_type::Recordusing statistics_type = vtb::core::Statistics< T >using thread_type = std::threadusing mutex_type = std::mutexusing float_duration = std::chrono::duration< T >using duration = clock_type::durationusing time_point = clock_type::time_pointusing clock_type = std::chrono::high_resolution_clockusing testbed_gui_type = TestbedGUI< T >using testbed_type = vtb::core::Testbed< T, 3 >template <class Callback> gui_call(Callback && cb) -> voidInsert computational and graphical callbacks. The callback will be called before the next rendering step in OpenGL thread. The argument to this function is non-constant reference to vtb::gui::TestbedGUI object using which you can copy-out simulation results (e.g. wavy surface) from the previous step.
template <class Callback> call(Callback && cb) -> voidInsert computational callback. The callback will be called before the next computational step in the thread of the pipeline (a thread that computes everything). The argument to this function is non-constant reference to vtb::core::Testbed object, using which you can copy-in simulation parameters (e.g. change wavy surface size).
accumulate_dt(T dt) -> voidAccumulate FPS using exponential moving average.
frame_rate() const -> Tsimulation_has_finished() const -> boolsimulation_is_running() const -> boolsimulation_is_idle() const -> boolfixed_time_step() const -> boolfixed_time_step(bool rhs) -> voidtime_step() const -> Tspeed(T rhs) -> voidspeed() const -> Tmax_time_step(T rhs) -> voidmax_time_step() const -> Tmin_time_step(T rhs) -> voidmin_time_step() const -> Ttestbed() -> testbed_type *testbed(testbed_type && rhs) -> voidtestbed_gui() -> testbed_gui_type *testbed_gui(testbed_gui_type * rhs) -> voidstarted() const -> boolstopped() const -> boolinitial() const -> boolwait() -> voidstep() -> voidstop() -> voidreset() -> voidstart() -> void~TestbedPipeline()TestbedPipeline()