The Application View Widget. More...
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) |
![]() | |
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 () |
![]() | |
GenericViewWidget (QWidget *parent=0) | |
yarp::manager::NodeType | getType () |
return the type of the list | |
bool | isModified () |
void | setModified (bool mod) |
![]() | |
ApplicationEvent () | |
virtual | ~ApplicationEvent () |
Additional Inherited Members | |
![]() | |
void | onModified (bool mod) |
![]() | |
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 230 of file applicationviewwidget.cpp.
bool ApplicationViewWidget::anyConnectionSelected | ( | ) |
Definition at line 244 of file applicationviewwidget.cpp.
bool ApplicationViewWidget::anyModuleSelected | ( | ) |
Definition at line 240 of file applicationviewwidget.cpp.
void ApplicationViewWidget::closeManager | ( | ) |
Definition at line 2393 of file applicationviewwidget.cpp.
void ApplicationViewWidget::connectConnectionSet | ( | bool | onlySelected | ) |
Connect all modules in the application to their ports using connections list.
Definition at line 1692 of file applicationviewwidget.cpp.
void ApplicationViewWidget::disconnectConnectionSet | ( | bool | onlySelected | ) |
Disconnect all modules in the application to their ports using connections list.
Definition at line 1701 of file applicationviewwidget.cpp.
void ApplicationViewWidget::exportGraph | ( | ) |
Export the current Graph.
Definition at line 1742 of file applicationviewwidget.cpp.
QString ApplicationViewWidget::getAppName | ( | ) |
Definition at line 213 of file applicationviewwidget.cpp.
QToolBar * ApplicationViewWidget::getBuilderToolBar | ( | ) |
Definition at line 259 of file applicationviewwidget.cpp.
CustomTreeWidget * ApplicationViewWidget::getConnectionList | ( | ) |
Definition at line 254 of file applicationviewwidget.cpp.
QString ApplicationViewWidget::getFileName | ( | ) |
Definition at line 196 of file applicationviewwidget.cpp.
CustomTreeWidget * ApplicationViewWidget::getModuleList | ( | ) |
Definition at line 249 of file applicationviewwidget.cpp.
bool ApplicationViewWidget::isBuilderFloating | ( | ) |
bool ApplicationViewWidget::isEditingMode | ( | ) |
Definition at line 2029 of file applicationviewwidget.cpp.
bool ApplicationViewWidget::isRunning | ( | ) |
Tells if a modules is in running state.
Definition at line 2016 of file applicationviewwidget.cpp.
void ApplicationViewWidget::killApplicationSet | ( | bool | onlySelected | ) |
Kill all running modules in the application.
Definition at line 1683 of file applicationviewwidget.cpp.
|
signal |
|
signal |
|
overridevirtual |
Called when a connection become available.
which |
Reimplemented from ApplicationEvent.
Definition at line 2254 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a connection has been performed.
which |
Reimplemented from ApplicationEvent.
Definition at line 2222 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a disconnection has been performed.
which |
Reimplemented from ApplicationEvent.
Definition at line 2230 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a connection become unavailable.
which |
Reimplemented from ApplicationEvent.
Definition at line 2277 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when an error occurred.
Reimplemented from ApplicationEvent.
Definition at line 2300 of file applicationviewwidget.cpp.
|
overridevirtual |
Refresh all and reports errors.
Reimplemented from ApplicationEvent.
Definition at line 2307 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has been started.
which |
Reimplemented from ApplicationEvent.
Definition at line 2169 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has writes on stdout.
which | |
msg | the message |
Reimplemented from ApplicationEvent.
Definition at line 2185 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a modlue has been stopped.
which |
Reimplemented from ApplicationEvent.
Definition at line 2177 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a resource became available.
which |
Reimplemented from ApplicationEvent.
Definition at line 2238 of file applicationviewwidget.cpp.
|
overridevirtual |
Called when a resource become unavailable.
which |
Reimplemented from ApplicationEvent.
Definition at line 2246 of file applicationviewwidget.cpp.
void ApplicationViewWidget::refresh | ( | ) |
Refresh all.
Definition at line 1710 of file applicationviewwidget.cpp.
void ApplicationViewWidget::runApplicationSet | ( | bool | onlySelected | ) |
Run all modules in the application.
Definition at line 1665 of file applicationviewwidget.cpp.
bool ApplicationViewWidget::save | ( | ) |
Definition at line 187 of file applicationviewwidget.cpp.
void ApplicationViewWidget::selectAll | ( | ) |
Select all element in the widget (modules, connections, resources)
Definition at line 1657 of file applicationviewwidget.cpp.
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
|
signal |
void ApplicationViewWidget::setAppName | ( | QString | appName | ) |
Definition at line 222 of file applicationviewwidget.cpp.
void ApplicationViewWidget::setFileName | ( | QString | filename | ) |
Definition at line 205 of file applicationviewwidget.cpp.
void ApplicationViewWidget::showBuilder | ( | bool | show | ) |
Definition at line 235 of file applicationviewwidget.cpp.
void ApplicationViewWidget::stopApplicationSet | ( | bool | onlySelected | ) |
Stop all modules in the application.
Definition at line 1674 of file applicationviewwidget.cpp.