7 #ifndef __FWPACSIO_SERIESRETRIEVER_HPP__ 8 #define __FWPACSIO_SERIESRETRIEVER_HPP__ 10 #include "fwPacsIO/config.hpp" 12 #include <fwCom/Slot.hpp> 13 #include <fwCom/Slots.hpp> 15 #include <fwTools/ProgressAdviser.hpp> 17 #include <boost/filesystem/path.hpp> 19 #include <dcmtk/config/osconfig.h> 20 #include <dcmtk/dcmnet/scp.h> 37 FWPACSIO_API
static const ::fwCom::Slots::SlotKeyType s_PROGRESS_CALLBACK_SLOT;
54 FWPACSIO_API
void initialize(
const std::string& applicationTitle,
unsigned short applicationport,
int timeout = 3,
55 ProgressCallbackSlotType::sptr progressCallback = ProgressCallbackSlotType::sptr());
58 FWPACSIO_API
bool start();
62 virtual OFCondition handleIncomingCommand(T_DIMSE_Message* incomingMsg,
63 const DcmPresentationContextInfo& presContextInfo)
override;
71 virtual OFCondition handleSTORERequest(T_DIMSE_Message* incomingMsg, T_ASC_PresentationContextID presID);
Base class for all FW4SPL's classes.
fwPacsIO contains classes used to communicate with a PACS.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
#define fwCoreAllowSharedFromThis()
Generate getSptr and getConstSptr methods.
ProgressCallbackSlotType::sptr m_progressCallback
Progress callback slot.
unsigned int m_instanceIndex
Dowloaded instance index.
Reads DICOM series from pacs.
::boost::filesystem::path m_path
Path where the files must be saved.