9 #include "ioPacs/config.hpp" 11 #include <fwCom/Slot.hpp> 13 #include <fwMemory/BufferObject.hpp> 15 #include <fwPacsIO/data/PacsConfiguration.hpp> 16 #include <fwPacsIO/SeriesEnquirer.hpp> 18 #include <fwServices/IController.hpp> 20 #include <fwThread/Worker.hpp> 58 typedef std::vector< CSPTR(::fwMedData::Series) > DicomSeriesContainerType;
60 IOPACS_API
static const ::fwCom::Slots::SlotKeyType s_DISPLAY_SLOT;
72 static const ::fwCom::Signals::SignalKeyType s_STARTED_PROGRESS_SIG;
73 static const ::fwCom::Signals::SignalKeyType s_STOPPED_PROGRESS_SIG;
88 IOPACS_API virtual
void configuring() override;
91 IOPACS_API virtual
void starting() override;
94 IOPACS_API virtual
void stopping() override;
97 IOPACS_API
void updating() override;
100 IOPACS_API
void info(
std::ostream& _sstream) override;
108 IOPACS_API
bool checkSeriesOnPACS();
111 IOPACS_API
void pushSeries();
118 IOPACS_API
void displayMessage(const
std::
string& message,
bool error) const;
126 IOPACS_API
void progressCallback(const
std::
string& seriesInstanceUID,
unsigned int instanceNumber,
127 const
std::
string& filePath);
130 DisplayMessageSlotType::sptr m_slotDisplayMessage;
133 ::
fwPacsIO::SeriesEnquirer::ProgressCallbackSlotType::sptr m_slotProgressCallback;
136 ProgressedSignalType::sptr m_sigProgressed;
139 StartedProgressSignalType::sptr m_sigStartedProgress;
142 StoppedProgressSignalType::sptr m_sigStoppedProgress;
145 std::
string m_progressbarId;
151 ::
fwPacsIO::data::PacsConfiguration::csptr m_pacsConfiguration;
160 long unsigned int m_instanceCount;
This service is used to push a DICOM series to a PACS.
ioPacs contains services use to deal with PACS using DCMTK library.
Namespace containing medical data.
fwPacsIO contains classes used to communicate with a PACS.
::fwCom::Signal< void(std::string, float, std::string) > ProgressedSignalType
Signal to update the progress (bar id, percentage, message)
::fwCom::Signal< void(std::string) > StoppedProgressSignalType
Signal to stop the progress (bar id)
This interface defines control service API. Does nothing particularly, can be considered as a default...
::fwCom::Signal< void(std::string) > StartedProgressSignalType
Signal to start the progress (bar id)
static const ::fwCom::Signals::SignalKeyType s_PROGRESSED_SIG
Key in m_signals map of signal m_sigProgressed.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
This namespace fwThread provides few tools to execute asynchronous tasks on different threads...