|
This Controller manages the signals and model of the DetailedApplicationView. This controller gets notified by the ScenarioListController when a scenario or application gets selected and displays it. It also starts and stops applications and scenarios using the Executor. More...
#include <ArmarXGui/gui-plugins/ScenarioManager/controller/DetailedApplicationController.h>
Public Slots | |
void | deleteProperty (std::string name) |
Deletes a property off the configuration file of the current ApplicationInstance. More... | |
void | save () |
Saves the configuration of the current ApplicationInstance to the config file. More... | |
void | setIceAdmin (IceGrid::AdminPrx iceAdmin) |
Set an IceAdmin for the controller. More... | |
void | setProperty (std::string name, std::string value) |
Sets a property of the current ApplicationInstance. More... | |
void | showApplication (Data_Structure::ApplicationPtr application) |
Shows an Application in the DetailedApplicationView. More... | |
void | showApplicationInstance (Data_Structure::ApplicationInstancePtr application, ScenarioItem *item) |
Shows an ApplicationInstance in the DetailedApplicationView. More... | |
void | showInStandardEditor () |
Shows the configuration of the current ApplicationInstance in the standard editor. More... | |
void | showPackage (Data_Structure::PackagePtr package) |
Shows a Package in the DetailedApplicationView. More... | |
void | showPropertyAddView () |
void | showScenario (Data_Structure::ScenarioPtr scenario) |
Shows a Scenario in the DetailedApplicationView. More... | |
void | start () |
Starts the current ApplicationInstance. More... | |
void | stop () |
Stops the current ApplicationInstance. More... | |
Public Member Functions | |
DetailedApplicationController (Exec::ExecutorPtr executor, QObject *parent=0) | |
Constructor that optionally sets the parent object. More... | |
void | setDetailedApplicationView (DetailedApplicationView *ptr) |
Sets the view this controller manages. More... | |
~DetailedApplicationController () override | |
Destructor. More... | |
This Controller manages the signals and model of the DetailedApplicationView. This controller gets notified by the ScenarioListController when a scenario or application gets selected and displays it. It also starts and stops applications and scenarios using the Executor.
Definition at line 52 of file DetailedApplicationController.h.
DetailedApplicationController | ( | Exec::ExecutorPtr | executor, |
QObject * | parent = 0 |
||
) |
Constructor that optionally sets the parent object.
@parent standard QT option to specify a parent
Definition at line 49 of file DetailedApplicationController.cpp.
|
override |
Destructor.
Definition at line 59 of file DetailedApplicationController.cpp.
|
slot |
Deletes a property off the configuration file of the current ApplicationInstance.
name | name of the property to be deleted |
Definition at line 288 of file DetailedApplicationController.cpp.
|
slot |
Saves the configuration of the current ApplicationInstance to the config file.
Definition at line 262 of file DetailedApplicationController.cpp.
void setDetailedApplicationView | ( | DetailedApplicationView * | ptr | ) |
Sets the view this controller manages.
Definition at line 64 of file DetailedApplicationController.cpp.
|
slot |
Set an IceAdmin for the controller.
Needet to start an application via ice
IceGrid::AdminPrx |
Definition at line 307 of file DetailedApplicationController.cpp.
|
slot |
Sets a property of the current ApplicationInstance.
name | key of the property |
value | new value of the property |
Definition at line 155 of file DetailedApplicationController.cpp.
|
slot |
Shows an Application in the DetailedApplicationView.
application | Application to show |
Definition at line 89 of file DetailedApplicationController.cpp.
|
slot |
Shows an ApplicationInstance in the DetailedApplicationView.
application | ApplicationInstance to show |
Definition at line 70 of file DetailedApplicationController.cpp.
|
slot |
Shows the configuration of the current ApplicationInstance in the standard editor.
Definition at line 137 of file DetailedApplicationController.cpp.
|
slot |
Shows a Package in the DetailedApplicationView.
package | Package to show |
Definition at line 124 of file DetailedApplicationController.cpp.
|
slot |
Definition at line 293 of file DetailedApplicationController.cpp.
|
slot |
Shows a Scenario in the DetailedApplicationView.
scenario | Scenario to show |
Definition at line 108 of file DetailedApplicationController.cpp.
|
slot |
Starts the current ApplicationInstance.
Definition at line 177 of file DetailedApplicationController.cpp.
|
slot |
Stops the current ApplicationInstance.
Definition at line 246 of file DetailedApplicationController.cpp.