|
|
Class containing data about a package, its scenarios and its applications. More...
#include <ArmarXCore/util/ScenarioManagerCommon/data_structure/Package.h>
Public Member Functions | |
| void | addApplication (ApplicationPtr application) |
| Adds an Application to this package. | |
| void | addScenario (ScenarioPtr scenario) |
| Adds a Scenario to this package. | |
| ApplicationPtr | getApplicationByName (std::string name) |
| Returns an Application contained in this package that has the given name. | |
| ApplicationVectorPtr | getApplications () |
| std::string | getName () |
| std::string | getPath () |
| ScenarioPtr | getScenarioByName (std::string name) |
| Returns a Scenario contained in this package that has the given name. | |
| std::string | getScenarioPath () |
| ScenarioVectorPtr | getScenarios () |
| bool | isScenarioPathWritable () |
| Package (const Package &other) | |
| Constructor that creates a light copy of the given Package, only name and path get copied. | |
| Package (std::string name, std::string path, std::string scenarioPath) | |
| Constructor that sets the name and the path of the package. | |
| void | removeScenario (ScenarioPtr scenario) |
Class containing data about a package, its scenarios and its applications.
Provides methods to get and set the data contained in the package. It is only representative and doesn't actually manage the package.
| Package | ( | std::string | name, |
| std::string | path, | ||
| std::string | scenarioPath ) |
Constructor that sets the name and the path of the package.
| name | name of the package |
| path | path to the root of the package |
| void addApplication | ( | Data_Structure::ApplicationPtr | application | ) |
Adds an Application to this package.
| application | Application to be added |
| void addScenario | ( | Data_Structure::ScenarioPtr | scenario | ) |
| Data_Structure::ApplicationPtr getApplicationByName | ( | std::string | name | ) |
Returns an Application contained in this package that has the given name.
| name | name of the application |
| Data_Structure::ApplicationVectorPtr getApplications | ( | ) |
| std::string getName | ( | ) |
| std::string getPath | ( | ) |
| Data_Structure::ScenarioPtr getScenarioByName | ( | std::string | name | ) |
| std::string getScenarioPath | ( | ) |
| Data_Structure::ScenarioVectorPtr getScenarios | ( | ) |
| bool isScenarioPathWritable | ( | ) |
| void removeScenario | ( | Data_Structure::ScenarioPtr | scenario | ) |