|  | 
TreeItem representing data contained in a Scenario or an Application. More...
#include <ArmarXGui/gui-plugins/ScenarioManager/gui/scenarioitem.h>
 Inheritance diagram for ScenarioItem:
 Inheritance diagram for ScenarioItem:| Public Member Functions | |
| ScenarioManager::Data_Structure::ApplicationInstancePtr | getApplicationInstance () | 
| If this item represents an Application, it is returned.  More... | |
| ScenarioManager::Data_Structure::ApplicationInstanceVectorPtr | getApplicationInstances () | 
| std::string | getPackageName () | 
| ScenarioManager::Data_Structure::ScenarioPtr | getScenario () | 
| If this item represents a Scenario, it is returned.  More... | |
| ScenarioItem (QList< QVariant > rootData) | |
| Constructor that sets the data contained in this item.  More... | |
| ScenarioItem (ScenarioManager::Data_Structure::ApplicationInstancePtr application) | |
| Constructor that sets the application-data contained in this item.  More... | |
| ScenarioItem (ScenarioManager::Data_Structure::ScenarioPtr scenario) | |
| Constructor that sets the scenario-data contained in this item.  More... | |
| ScenarioItem (std::string name, std::vector< ScenarioManager::Data_Structure::ApplicationInstancePtr > applications) | |
| void | update () | 
| Clears the item_data and parses the Scenario or Application for new data.  More... | |
|  Public Member Functions inherited from TreeItem | |
| void | appendChild (TreeItem *child) | 
| TreeItem * | child (int row) | 
| int | childCount () const | 
| int | columnCount () const | 
| virtual QVariant | data (int column) const | 
| bool | insertChild (int position, TreeItem *child) | 
| bool | insertColumn (int position, QVariant data) | 
| bool | isEnabled () | 
| TreeItem * | parent () | 
| bool | removeChild (int position) | 
| bool | removeColumn (int position) | 
| int | row () const | 
| bool | setData (int column, const QVariant &value) | 
| void | setEnabled (bool enabled) | 
| TreeItem () | |
| virtual | ~TreeItem () | 
| Additional Inherited Members | |
|  Protected Attributes inherited from TreeItem | |
| bool | enabled | 
| QVector< QVariant > | m_itemData | 
TreeItem representing data contained in a Scenario or an Application.
Definition at line 40 of file scenarioitem.h.
| ScenarioItem | ( | QList< QVariant > | rootData | ) | 
Constructor that sets the data contained in this item.
| rootData | data | 
Definition at line 35 of file scenarioitem.cpp.
Constructor that sets the scenario-data contained in this item.
| scenario | Scenario to read out the data | 
Constructor that sets the application-data contained in this item.
| application | Application to read out the data | 
| ScenarioItem | ( | std::string | name, | 
| std::vector< ScenarioManager::Data_Structure::ApplicationInstancePtr > | applications | ||
| ) | 
| ApplicationInstancePtr getApplicationInstance | ( | ) | 
If this item represents an Application, it is returned.
Definition at line 203 of file scenarioitem.cpp.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ApplicationInstanceVectorPtr getApplicationInstances | ( | ) | 
| std::string getPackageName | ( | ) | 
| ScenarioPtr getScenario | ( | ) | 
If this item represents a Scenario, it is returned.
Definition at line 197 of file scenarioitem.cpp.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| void update | ( | ) | 
Clears the item_data and parses the Scenario or Application for new data.
Definition at line 72 of file scenarioitem.cpp.
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function: