A plugin for loading dynamic workcells and for doing simple dynamics simulation using different physics engines.
More...
#include <RWSimPlugin.hpp>
Inherits RobWorkStudioPlugin, and RWSimPlugin.
|
void | updateStatus () |
|
rw::core::PropertyMap & | settings () |
|
boost::tuple< QWidget *, QAction *, int > | getAction (QWidget *widget, const std::string &actionName) |
| Find action in widget with name actionName . More...
|
|
boost::tuple< QWidget *, QMenu *, int > | getMenu (QWidget *widget, const std::string &menuName) |
| Find menu in widget with name menuName . More...
|
|
boost::tuple< QMenu *, QAction *, int > | getAction (QWidget *widget, const std::string &actionName, const std::string &actionName2) |
| Find action, actionName2, in menu, actionName, in a widget. More...
|
|
A plugin for loading dynamic workcells and for doing simple dynamics simulation using different physics engines.
◆ close()
◆ initialize()
is called when RobWorkStudio instance is valid. Can be used to initialize values in the plugin that depend on RobWorkStudio
- Note
- DO NOT fire any events under initialization since the order of which plugins are initialized is unknown. Therefore undefined behavior might occour. Instead wait until open is called for the first time.
Reimplemented from RobWorkStudioPlugin.
◆ open()
called when a workcell is opened
- Parameters
-
workcell | [in] that has been loaded |
Reimplemented from RobWorkStudioPlugin.
◆ openDwc()
void openDwc |
( |
const std::string & |
file | ) |
|
opens a dynamic workcell with filename file.
- Note
- if successfully openned a generic event with string id 'DynamicWorkCellLoaded' will be emitted and the DynamicWorkCell will be saved in the RobWorkStudio propertymap with the string id 'DynamicWorkcell'.
◆ setupMenu()
void setupMenu |
( |
QMenu * |
menu | ) |
|
|
virtual |
sets up the menu with this plugin
- Parameters
-
menu | [in] the menu wherein the plugin can add its actions |
Reimplemented from RobWorkStudioPlugin.
The documentation for this class was generated from the following file: