DetailedApplicationController Class Reference

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>

+ Inheritance diagram for DetailedApplicationController:

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 setIceEnvVariable (std::string name, std::string value)
 
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 showIceEnvVariableAddView ()
 
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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ DetailedApplicationController()

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 45 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:

◆ ~DetailedApplicationController()

Destructor.

Definition at line 54 of file DetailedApplicationController.cpp.

Member Function Documentation

◆ deleteProperty

void deleteProperty ( std::string  name)
slot

Deletes a property off the configuration file of the current ApplicationInstance.

Parameters
namename of the property to be deleted

Definition at line 282 of file DetailedApplicationController.cpp.

◆ save

void save ( )
slot

Saves the configuration of the current ApplicationInstance to the config file.

Definition at line 258 of file DetailedApplicationController.cpp.

◆ setDetailedApplicationView()

void setDetailedApplicationView ( DetailedApplicationView ptr)

Sets the view this controller manages.

Definition at line 58 of file DetailedApplicationController.cpp.

◆ setIceAdmin

void setIceAdmin ( IceGrid::AdminPrx  iceAdmin)
slot

Set an IceAdmin for the controller.

Needet to start an application via ice

Parameters
IceGrid::AdminPrx

Definition at line 304 of file DetailedApplicationController.cpp.

◆ setIceEnvVariable

void setIceEnvVariable ( std::string  name,
std::string  value 
)
slot

Definition at line 158 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setProperty

void setProperty ( std::string  name,
std::string  value 
)
slot

Sets a property of the current ApplicationInstance.

Parameters
namekey of the property
valuenew value of the property

Definition at line 138 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showApplication

void showApplication ( Data_Structure::ApplicationPtr  application)
slot

Shows an Application in the DetailedApplicationView.

Parameters
applicationApplication to show

Definition at line 79 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:

◆ showApplicationInstance

void showApplicationInstance ( Data_Structure::ApplicationInstancePtr  application,
ScenarioItem item 
)
slot

Shows an ApplicationInstance in the DetailedApplicationView.

Parameters
applicationApplicationInstance to show

Definition at line 63 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ showIceEnvVariableAddView

void showIceEnvVariableAddView ( )
slot

Definition at line 292 of file DetailedApplicationController.cpp.

◆ showInStandardEditor

void showInStandardEditor ( )
slot

Shows the configuration of the current ApplicationInstance in the standard editor.

Definition at line 121 of file DetailedApplicationController.cpp.

◆ showPackage

void showPackage ( Data_Structure::PackagePtr  package)
slot

Shows a Package in the DetailedApplicationView.

Parameters
packagePackage to show

Definition at line 109 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:

◆ showPropertyAddView

void showPropertyAddView ( )
slot

Definition at line 287 of file DetailedApplicationController.cpp.

◆ showScenario

void showScenario ( Data_Structure::ScenarioPtr  scenario)
slot

Shows a Scenario in the DetailedApplicationView.

Parameters
scenarioScenario to show

Definition at line 95 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ start

void start ( )
slot

Starts the current ApplicationInstance.

Definition at line 168 of file DetailedApplicationController.cpp.

◆ stop

void stop ( )
slot

Stops the current ApplicationInstance.

Definition at line 236 of file DetailedApplicationController.cpp.


The documentation for this class was generated from the following files: