7 #ifndef __CTRLSELECTION_SMANAGE_HPP__ 8 #define __CTRLSELECTION_SMANAGE_HPP__ 10 #include "ctrlSelection/config.hpp" 12 #include <fwData/Object.hpp> 14 #include <fwServices/IController.hpp> 99 CTRLSELECTION_API
SManage() noexcept;
102 CTRLSELECTION_API virtual ~
SManage() noexcept;
108 static const ::
fwCom::Slots::SlotKeyType s_ADD_SLOT;
109 static const ::
fwCom::Slots::SlotKeyType s_ADD_COPY_SLOT;
110 static const ::
fwCom::Slots::SlotKeyType s_ADD_OR_SWAP_SLOT;
111 static const ::
fwCom::Slots::SlotKeyType s_SWAP_OBJ_SLOT;
112 static const ::
fwCom::Slots::SlotKeyType s_REMOVE_SLOT;
113 static const ::
fwCom::Slots::SlotKeyType s_REMOVE_IF_PRESENT_SLOT;
114 static const ::
fwCom::Slots::SlotKeyType s_CLEAR_SLOT;
122 CTRLSELECTION_API virtual
void configuring() override;
125 CTRLSELECTION_API virtual
void starting() override;
128 CTRLSELECTION_API virtual
void stopping() override;
131 CTRLSELECTION_API virtual
void updating() override;
157 void removeIfPresent();
167 void internalAdd(
bool _copy);
169 std::
string m_objectUid;
170 std::
string m_compositeKey;
171 std::
string m_fieldName;
177 #endif // __CTRLSELECTION_SMANAGE_HPP__ This service manages an object (add/swap/remove) into a container object (composite, vector, seriesDB).
Namespace containing fw4spl communication tools.
This interface defines control service API. Does nothing particularly, can be considered as a default...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace ctrlSelection contains several interfaces for manager, updater and wrapper.