9 #include "fwGdcmIO/config.hpp" 10 #include "fwGdcmIO/container/DicomInstance.hpp" 12 #include <fwLog/Logger.hpp> 14 #include <fwMedData/Series.hpp> 16 #include <boost/filesystem/path.hpp> 35 typedef std::function< void (std::uint64_t) > ProgressCallback;
36 typedef std::function< bool () > CancelRequestedCallback;
47 const ::boost::filesystem::path& destinationPath,
48 const ::fwLog::Logger::sptr& logger =
nullptr,
49 ProgressCallback progress =
nullptr,
50 CancelRequestedCallback cancel =
nullptr);
53 FWGDCMIO_API
virtual ~InformationObjectDefinition();
56 FWGDCMIO_API
virtual void write(const ::fwMedData::Series::csptr& series) = 0;
64 ::
boost::filesystem::path m_destinationPath;
70 ProgressCallback m_progressCallback;
73 CancelRequestedCallback m_cancelRequestedCallback;
This class defines a DICOM SOP instance. It is useful during the whole writing process. This class allows to share data between module writers.
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
fwLog contains classes used to manage logs.