9 #include "fwServices/config.hpp" 11 #include <fwRuntime/ConfigurationElement.hpp> 13 #include <fwTools/Object.hpp> 43 ::fwRuntime::ConfigurationElement::csptr config;
73 FWSERVICES_API
static ServiceConfig::sptr getDefault();
83 FWSERVICES_API
void parseBundleInformation();
93 FWSERVICES_API
void addServiceConfigInfo(
const std::string& configId,
94 const std::string& service,
95 const std::string& desc,
96 ::fwRuntime::ConfigurationElement::csptr config );
102 FWSERVICES_API ::fwRuntime::ConfigurationElement::csptr getServiceConfig(
const std::string& configId,
103 const std::string& serviceImpl =
110 FWSERVICES_API
const std::string& getConfigDesc(
const std::string& configId )
const;
117 FWSERVICES_API std::vector< std::string > getAllConfigForService( std::string serviceImpl,
118 bool matchingOnly =
false )
const;
124 FWSERVICES_API
void clearRegistry();
128 typedef std::map< std::string, ServiceConfigInfo::sptr > Registry;
136 const static std::string CONFIG_EXT_POINT;
Contains fwAtomsFilter::registry details.
Base class for all FW4SPL's classes.
This class allows to register all the service configuration which has the point extension "::fwServic...
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
mutable::fwCore::mt::ReadWriteMutex m_registryMutex
Used to protect the registry access.
Registry m_reg
Container of service information <configId, service config information>
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
static ServiceConfig::sptr s_currentServiceConfig
The global instance of the service config.
virtual ~ServiceConfigInfo()
Destructor, do nothing.
ServiceConfigInfo()
Constructor, do nothing.