7 #ifndef __FWSERVICES_HELPER_CONFIG_HPP__ 8 #define __FWSERVICES_HELPER_CONFIG_HPP__ 10 #include "fwServices/IService.hpp" 11 #include "fwServices/config.hpp" 12 #include "fwServices/helper/ProxyConnections.hpp" 14 #include <fwCom/Signals.hpp> 15 #include <fwCom/Slots.hpp> 17 #include <fwCore/base.hpp> 19 #include <fwTools/Object.hpp> 33 struct ConfigurationElement;
42 class SigSlotConnection;
52 typedef std::pair< std::string, ::fwCom::Signals::SignalKeyType > SignalInfoType;
53 typedef std::pair< std::string, ::fwCom::Slots::SlotKeyType > SlotInfoType;
54 typedef std::vector< SlotInfoType > SlotInfoContainerType;
56 typedef std::string ObjectIdType;
57 typedef std::vector<ProxyConnections> ProxyConnectionsVectType;
58 typedef std::map< ObjectIdType, ProxyConnectionsVectType > ProxyConnectionsMapType;
63 SignalInfoType m_signal;
64 SlotInfoContainerType m_slots;
86 const std::string& errMsgHead,
87 std::function<std::string ()> generateChannelNameFn);
96 FWSERVICES_API
static void createConnections(
110 FWSERVICES_API
static void createProxy(
111 const std::string& objectKey,
113 ProxyConnectionsMapType& proxyMap,
118 FWSERVICES_API
static void disconnectProxies(
const std::string& objectKey,
119 Config::ProxyConnectionsMapType& proxyMap);
122 FWSERVICES_API static ::fwServices::IService::Config parseService(
124 const std::string& errMsgHead);
131 #endif // __FWSERVICES_HELPER_CONFIG_HPP__
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
Defines the configuration element class.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
This class provides few tools to ease connect/disconnect between a signal emitter and a slot receiver...
Helper class to register proxy connections.
Base class for each data object.
Contains the representation of the data objects used in the framework.
Provides configuration element parsing tools.