|
Class containing data about an application Provides methods to get and set the date contained in the application. It doesn't manage the application therefore changes in this class won't synchronize to the actual configuration files. More...
#include <ArmarXCore/util/ScenarioManagerCommon/data_structure/Application.h>
Public Member Functions | |
Application (Application &app) | |
Copy constructor. More... | |
Application (std::string name, std::string executablePath, std::string packageName) | |
Constructor that sets the name and the path to the executable of the application. More... | |
std::string | getExecutableAbsPath () |
std::string | getExecutableName () |
bool | getFound () |
std::string | getName () |
std::string | getPackageName () |
std::string | getPathToExecutable () |
armarx::PropertyDefinitionsPtr | getProperties () |
bool | isDefaultProperty (std::string name) |
bool | isDefaultPropertyEnabled (std::string name) |
void | setDefaultPropertyEnabled (std::string name, bool enabled) |
void | setIsDefaultProperty (std::string name, bool defaultValue) |
void | setProperties (armarx::PropertyDefinitionsPtr properties) |
Sets the properties of this application. More... | |
void | updateFound () |
Protected Attributes | |
PropertyEnabledMap | defaultMap |
PropertyEnabledMap | enabledMap |
armarx::PropertyDefinitionsPtr | properties |
Class containing data about an application Provides methods to get and set the date contained in the application. It doesn't manage the application therefore changes in this class won't synchronize to the actual configuration files.
Definition at line 46 of file Application.h.
Application | ( | std::string | name, |
std::string | executablePath, | ||
std::string | packageName | ||
) |
Constructor that sets the name and the path to the executable of the application.
name | name of the application |
executablePath | path to the binary executable of the application |
Definition at line 58 of file Application.cpp.
Application | ( | Data_Structure::Application & | application | ) |
Copy constructor.
name | name of the application |
executablePath | path to the binary executable of the application |
Definition at line 76 of file Application.cpp.
std::string getExecutableAbsPath | ( | ) |
Definition at line 189 of file Application.cpp.
std::string getExecutableName | ( | ) |
Definition at line 183 of file Application.cpp.
bool getFound | ( | ) |
Definition at line 129 of file Application.cpp.
std::string getName | ( | ) |
Definition at line 92 of file Application.cpp.
std::string getPackageName | ( | ) |
Definition at line 104 of file Application.cpp.
std::string getPathToExecutable | ( | ) |
Definition at line 98 of file Application.cpp.
PropertyDefinitionsPtr getProperties | ( | ) |
Definition at line 110 of file Application.cpp.
bool isDefaultProperty | ( | std::string | name | ) |
Definition at line 165 of file Application.cpp.
bool isDefaultPropertyEnabled | ( | std::string | name | ) |
Definition at line 141 of file Application.cpp.
void setDefaultPropertyEnabled | ( | std::string | name, |
bool | enabled | ||
) |
Definition at line 155 of file Application.cpp.
void setIsDefaultProperty | ( | std::string | name, |
bool | defaultValue | ||
) |
Definition at line 175 of file Application.cpp.
void setProperties | ( | armarx::PropertyDefinitionsPtr | properties | ) |
Sets the properties of this application.
These properties (along with the default config) define the behaviour of the application on start.
properties | new properties |
Definition at line 116 of file Application.cpp.
void updateFound | ( | ) |
|
protected |
Definition at line 59 of file Application.h.
|
protected |
Definition at line 58 of file Application.h.
|
protected |
Definition at line 57 of file Application.h.