53 std::string executableName;
54 std::filesystem::path executablePath;
55 std::string packageName;
57 std::atomic<bool> found;
81 Application(std::string name, std::string executablePath, std::string packageName);
bool isDefaultPropertyEnabled(std::string name)
std::string getExecutableAbsPath()
void setProperties(armarx::PropertyDefinitionsPtr properties)
Sets the properties of this application.
std::mutex propertiesMutex
Guards properties, enabledMap and defaultMap.
void setDefaultPropertyEnabled(std::string name, bool enabled)
bool isDefaultProperty(std::string name)
std::string getPackageName()
std::string getExecutableName()
armarx::PropertyDefinitionsPtr properties
Application(std::string name, std::string executablePath, std::string packageName)
Constructor that sets the name and the path to the executable of the application.
PropertyEnabledMap defaultMap
void updateFound()
Checks whether the executable exists and caches the result for getFound().
PropertyEnabledMap enabledMap
void setIsDefaultProperty(std::string name, bool defaultValue)
armarx::PropertyDefinitionsPtr getProperties()
std::string getPathToExecutable()
std::shared_ptr< Application > ApplicationPtr
std::map< std::string, bool > PropertyEnabledMap
std::shared_ptr< std::vector< ApplicationPtr > > ApplicationVectorPtr
IceUtil::Handle< class PropertyDefinitionContainer > PropertyDefinitionsPtr
PropertyDefinitions smart pointer type.