9 #include "fwServices/config.hpp" 10 #include "fwServices/IAppConfigManager.hpp" 11 #include "fwServices/IService.hpp" 12 #include "fwServices/registry/AppConfig.hpp" 14 #include <fwActivities/registry/Activities.hpp> 16 #include <fwCom/helper/SigSlotConnection.hpp> 18 #include <fwRuntime/ConfigurationElement.hpp> 19 #include <fwRuntime/EConfigurationElement.hpp> 21 #include <fwTools/Failed.hpp> 48 typedef std::unique_ptr<ConfigLauncher> uptr;
49 typedef ::fwServices::registry::FieldAdaptorType FieldAdaptorType;
55 FWSERVICES_API
virtual ~ConfigLauncher();
60 FWSERVICES_API
virtual void parseConfig(const ::fwServices::IService::ConfigType& config,
61 const ::fwServices::IService::sptr& service);
69 const FieldAdaptorType& optReplaceMap = FieldAdaptorType() );
72 FWSERVICES_API
virtual void stopConfig();
76 virtual bool configIsRunning()
const 78 return m_configIsRunning;
89 ::fwServices::IAppConfigManager::sptr m_appConfigManager;
94 static const std::string s_SELF_KEY;
96 static const std::string s_GENERIC_UID_KEY;
Base class for all services.
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
This class provides few methods to manage AppConfig (parsing, starting, stopping...).
bool m_configIsRunning
to know if AppConfig is running