The Application View Widget. More...
Inheritance diagram for ApplicationViewWidget:Signals | |
| void | logWarning (QString) |
| void | logError (QString) |
| void | selfSafeLoadBolance () |
| void | selfConnect (int) |
| void | selfDisconnect (int) |
| void | selfResAvailable (int) |
| void | selfResUnavailable (int) |
| void | selfStart (int) |
| void | selfStop (int) |
Signals inherited from GenericViewWidget | |
| void | modified (bool) |
Public Member Functions | |
| ApplicationViewWidget (yarp::manager::Application *, yarp::manager::Manager *lazyManager, yarp::os::Property *config, bool editingMode=false, QWidget *parent=nullptr) | |
| ~ApplicationViewWidget () override | |
| void | runApplicationSet (bool onlySelected) |
| Run all modules in the application. | |
| void | stopApplicationSet (bool onlySelected) |
| Stop all modules in the application. | |
| void | killApplicationSet (bool onlySelected) |
| Kill all running modules in the application. | |
| void | connectConnectionSet (bool onlySelected) |
| Connect all modules in the application to their ports using connections list. | |
| void | disconnectConnectionSet (bool onlySelected) |
| Disconnect all modules in the application to their ports using connections list. | |
| void | refresh () |
| Refresh all. | |
| void | selectAll () |
| Select all element in the widget (modules, connections, resources) | |
| void | exportGraph () |
| Export the current Graph. | |
| bool | isRunning () |
| Tells if a modules is in running state. | |
| void | onModStart (int which) override |
| Called when a modlue has been started. | |
| void | onModStop (int which) override |
| Called when a modlue has been stopped. | |
| void | onModStdout (int which, const char *msg) override |
| Called when a modlue has writes on stdout. | |
| void | onConConnect (int which) override |
| Called when a connection has been performed. | |
| void | onConDisconnect (int which) override |
| Called when a disconnection has been performed. | |
| void | onResAvailable (int which) override |
| Called when a resource became available. | |
| void | onResUnAvailable (int which) override |
| Called when a resource become unavailable. | |
| void | onConAvailable (int from, int to) override |
| Called when a connection become available. | |
| void | onConUnAvailable (int from, int to) override |
| Called when a connection become unavailable. | |
| void | onError () override |
| Called when an error occurred. | |
| void | onLoadBalance () override |
| Refresh all and reports errors. | |
| void | closeManager () |
| QToolBar * | getBuilderToolBar () |
| bool | isBuilderFloating () |
| void | showBuilder (bool) |
| bool | anyModuleSelected () |
| bool | anyConnectionSelected () |
| CustomTreeWidget * | getModuleList () |
| CustomTreeWidget * | getConnectionList () |
| bool | save () |
| QString | getFileName () |
| void | setFileName (QString filename) |
| QString | getAppName () |
| void | setAppName (QString appName) |
| bool | isEditingMode () |
Public Member Functions inherited from GenericViewWidget | |
| GenericViewWidget (QWidget *parent=0) | |
| yarp::manager::NodeType | getType () |
| return the type of the list | |
| bool | isModified () |
| void | setModified (bool mod) |
Public Member Functions inherited from ApplicationEvent | |
| ApplicationEvent () | |
| virtual | ~ApplicationEvent () |
Additional Inherited Members | |
Public Slots inherited from GenericViewWidget | |
| void | onModified (bool mod) |
Protected Attributes inherited from GenericViewWidget | |
| yarp::manager::NodeType | type |
| bool | m_modified |
The Application View Widget.
Definition at line 28 of file applicationviewwidget.h.
|
explicit |
Definition at line 22 of file applicationviewwidget.cpp.
|
override |
Definition at line 231 of file applicationviewwidget.cpp.
| bool ApplicationViewWidget::anyConnectionSelected | ( | ) |
Definition at line 245 of file applicationviewwidget.cpp.
| bool ApplicationViewWidget::anyModuleSelected | ( | ) |
Definition at line 241 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::closeManager | ( | ) |
Definition at line 2511 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::connectConnectionSet | ( | bool | onlySelected | ) |
Connect all modules in the application to their ports using connections list.
Definition at line 1810 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::disconnectConnectionSet | ( | bool | onlySelected | ) |
Disconnect all modules in the application to their ports using connections list.
Definition at line 1819 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::exportGraph | ( | ) |
Export the current Graph.
Definition at line 1860 of file applicationviewwidget.cpp.
| QString ApplicationViewWidget::getAppName | ( | ) |
Definition at line 214 of file applicationviewwidget.cpp.
| QToolBar * ApplicationViewWidget::getBuilderToolBar | ( | ) |
Definition at line 260 of file applicationviewwidget.cpp.
| CustomTreeWidget * ApplicationViewWidget::getConnectionList | ( | ) |
Definition at line 255 of file applicationviewwidget.cpp.
| QString ApplicationViewWidget::getFileName | ( | ) |
Definition at line 197 of file applicationviewwidget.cpp.
| CustomTreeWidget * ApplicationViewWidget::getModuleList | ( | ) |
Definition at line 250 of file applicationviewwidget.cpp.
| bool ApplicationViewWidget::isBuilderFloating | ( | ) |
| bool ApplicationViewWidget::isEditingMode | ( | ) |
Definition at line 2147 of file applicationviewwidget.cpp.
| bool ApplicationViewWidget::isRunning | ( | ) |
Tells if a modules is in running state.
Definition at line 2134 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::killApplicationSet | ( | bool | onlySelected | ) |
Kill all running modules in the application.
Definition at line 1801 of file applicationviewwidget.cpp.
|
signal |
|
signal |
|
overridevirtual |
Called when a connection become available.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2372 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a connection has been performed.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2340 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a disconnection has been performed.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2348 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a connection become unavailable.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2395 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when an error occurred.
Reimplemented from ApplicationEvent.
Definition at line 2418 of file applicationviewwidget.cpp.
|
overridevirtual |
Refresh all and reports errors.
Reimplemented from ApplicationEvent.
Definition at line 2425 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has been started.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2287 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has writes on stdout.
| which | |
| msg | the message |
Reimplemented from ApplicationEvent.
Definition at line 2303 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has been stopped.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2295 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a resource became available.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2356 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a resource become unavailable.
| which |
Reimplemented from ApplicationEvent.
Definition at line 2364 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::refresh | ( | ) |
Refresh all.
Definition at line 1828 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::runApplicationSet | ( | bool | onlySelected | ) |
Run all modules in the application.
Definition at line 1783 of file applicationviewwidget.cpp.
| bool ApplicationViewWidget::save | ( | ) |
Definition at line 188 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::selectAll | ( | ) |
Select all element in the widget (modules, connections, resources)
Definition at line 1775 of file applicationviewwidget.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
| void ApplicationViewWidget::setAppName | ( | QString | appName | ) |
Definition at line 223 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::setFileName | ( | QString | filename | ) |
Definition at line 206 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::showBuilder | ( | bool | show | ) |
Definition at line 236 of file applicationviewwidget.cpp.
| void ApplicationViewWidget::stopApplicationSet | ( | bool | onlySelected | ) |
Stop all modules in the application.
Definition at line 1792 of file applicationviewwidget.cpp.