7 #ifndef __CTRLSELECTION_WRAPPER_SIMAGESIGNALFORWARDER_HPP__ 8 #define __CTRLSELECTION_WRAPPER_SIMAGESIGNALFORWARDER_HPP__ 10 #include "ctrlSelection/config.hpp" 11 #include "ctrlSelection/IWrapperSrv.hpp" 13 #include <fwData/Point.hpp> 14 #include <fwData/PointList.hpp> 16 #include <fwServices/IService.hpp> 59 CTRLSELECTION_API virtual
void starting() override;
62 CTRLSELECTION_API virtual
void stopping() override;
65 CTRLSELECTION_API virtual
void swapping() override;
70 CTRLSELECTION_API virtual
void configuring() override;
73 CTRLSELECTION_API virtual
void updating() override;
76 CTRLSELECTION_API virtual
void info(
std::ostream& _sstream ) override;
86 void forwardModified();
87 void forwardBufferModified();
89 void forwardLandmarkRemoved(
SPTR(::
fwData::Point) point);
90 void forwardLandmarkDisplayed(
bool display);
91 void forwardDistanceAdded(
SPTR(::
fwData::PointList) pointList);
92 void forwardDistanceRemoved(
CSPTR(::
fwData::PointList) pointList);
93 void forwardDistanceDisplayed(
bool display);
94 void forwardSliceIndexModified(
int axial,
int frontal,
int sagittal);
95 void forwardSliceTypeModified(
int from,
int to);
96 void forwardVisibilityModified(
bool visibility);
97 void forwardTransparencyModified();
98 void forwardAddedFields(::
fwData::Object::FieldsContainerType objects);
99 void forwardChangedFields(::
fwData::Object::FieldsContainerType newObjects,
100 ::
fwData::Object::FieldsContainerType oldObjects);
101 void forwardRemovedFields(::
fwData::Object::FieldsContainerType objects);
106 ::
fwCom::helper::SigSlotConnection m_connections;
109 std::
string m_sourceImageUid;
110 std::
string m_sourceCompoUid;
111 std::
string m_sourceImageKey;
113 typedef
std::vector<
std::
string> SignalKeysType;
114 SignalKeysType m_managedSignals;
116 typedef
std::map<
std::
string,
std::
string > AvailableConnectionMapType;
117 static AvailableConnectionMapType m_availableConnection;
123 #endif // __CTRLSELECTION_WRAPPER_SIMAGESIGNALFORWARDER_HPP__
Namespace containing fw4spl communication tools.
The purpose of this service is to wrap messages incoming to the object to new messages.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
The namespace ctrlSelection contains several interfaces for manager, updater and wrapper.
This service forwards signals from an image ti another.