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 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...
 

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

+ Here is the call graph for this function:

◆ ~DetailedApplicationController()

Destructor.

Definition at line 59 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 288 of file DetailedApplicationController.cpp.

◆ save

void save ( )
slot

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

Definition at line 262 of file DetailedApplicationController.cpp.

◆ setDetailedApplicationView()

void setDetailedApplicationView ( DetailedApplicationView ptr)

Sets the view this controller manages.

Definition at line 64 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 307 of file DetailedApplicationController.cpp.

◆ 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 155 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 89 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 70 of file DetailedApplicationController.cpp.

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

◆ showInStandardEditor

void showInStandardEditor ( )
slot

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

Definition at line 137 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 124 of file DetailedApplicationController.cpp.

+ Here is the call graph for this function:

◆ showPropertyAddView

void showPropertyAddView ( )
slot

Definition at line 293 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 108 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 177 of file DetailedApplicationController.cpp.

◆ stop

void stop ( )
slot

Stops the current ApplicationInstance.

Definition at line 246 of file DetailedApplicationController.cpp.


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