This machine mirrors various open-source projects.
20 Gbit/s uplink.
If there are any issues or you want another project mirrored, please contact
mirror-service -=AT=- netcologne DOT de !
#include <controller.hxx>
Collaboration diagram for Controller:
Public Member Functions | |
Controller () | |
Controller (const std::string &filename) | |
~Controller () | |
bool | has_been_run () |
bool | is_running () |
bool | slow_down_active () |
void | set_slow_down (bool s) |
void | set_action_cam (bool) |
bool | get_action_cam () |
void | set_hide_dots (bool) |
bool | get_hide_dots () |
World * | get_world () |
void | load_world (const std::string &name) |
void | save_world (const std::string &name) |
std::string | get_slot_filename (int n) |
void | save_to_slot (int n) |
void | load_from_slot (int n) |
void | update () |
void | clear_world () |
void | undo () |
void | redo () |
void | push_undo () |
void | start_simulation () |
Static Public Member Functions | |
Controller * | instance () |
Definition at line 27 of file controller.hxx.
|
Create an empty world workspace Definition at line 25 of file controller.cxx. |
|
Definition at line 35 of file controller.cxx. |
|
Definition at line 45 of file controller.cxx. |
|
Definition at line 149 of file controller.cxx. |
|
Definition at line 200 of file controller.cxx. Referenced by action_cam_hfunc(), and WorldViewComponent::draw(). |
|
Definition at line 212 of file controller.cxx. Referenced by WorldViewComponent::draw(), hide_dots_callback(), and hide_dots_hfunc(). |
|
Definition at line 72 of file controller.cxx. |
|
|
Definition at line 53 of file controller.hxx. References World::get_has_been_run(). |
|
|
Definition at line 55 of file controller.hxx. Referenced by WorldViewComponent::draw(), GUIRunButton::draw_content(), and X11Display::run(). |
|
Definition at line 88 of file controller.cxx. References load_world(). |
|
Load a world by name, name is relative to the construo user directory Definition at line 51 of file controller.cxx. Referenced by load_from_slot(), and WorldButton::on_click(). |
|
Push the current world to the undo stack Definition at line 143 of file controller.cxx. References World::duplicate(). Referenced by Selection::duplicate(), WorldViewSelectTool::on_delete_press(), WorldViewInsertTool::on_delete_press(), WorldViewSelectTool::on_primary_button_press(), WorldViewColliderTool::on_primary_button_press(), WorldViewSelectTool::on_secondary_button_press(), and WorldViewColliderTool::on_secondary_button_release(). |
|
Definition at line 178 of file controller.cxx. Referenced by redo_callback(). |
|
Definition at line 78 of file controller.cxx. References save_world(). |
|
Save a world by name, name is relative to the construo user directory Definition at line 63 of file controller.cxx. References World::write_lisp(). Referenced by WorldButton::on_click(), GUINewFileButton::on_click(), ConstruoMain::on_exit(), and save_to_slot(). |
|
Definition at line 194 of file controller.cxx. Referenced by action_cam_callback(). |
|
Definition at line 206 of file controller.cxx. Referenced by hide_dots_callback(). |
|
Definition at line 57 of file controller.hxx. Referenced by GUISlowMoButton::on_click(). |
|
Definition at line 56 of file controller.hxx. Referenced by GUISlowMoButton::draw_content(). |
|
start or stops the simulation Definition at line 127 of file controller.cxx. References World::duplicate(). Referenced by GUIRunButton::on_click(). |
|
Definition at line 158 of file controller.cxx. Referenced by undo_callback(). |
|
Updates the state of the controller and also the world Definition at line 98 of file controller.cxx. References DeltaManager::getset(), and World::update(). Referenced by WorldGUIManager::update(). |