fw4spl
|
InformationObjectDefinition base class used to write DICOM modules. More...
#include <InformationObjectDefinition.hpp>
Public Types | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
Public Member Functions | |
FWGDCMIO_API | InformationObjectDefinition (const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::boost::filesystem::path &destinationPath, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationObjectDefinition () |
Destructor. | |
virtual FWGDCMIO_API void | write (const ::fwMedData::Series::csptr &series)=0 |
Write DICOM file. | |
Protected Attributes | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
::boost::filesystem::path | m_destinationPath |
Destination Path. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
InformationObjectDefinition base class used to write DICOM modules.
Definition at line 30 of file writer/iod/InformationObjectDefinition.hpp.
fwGdcmIO::writer::iod::InformationObjectDefinition::InformationObjectDefinition | ( | const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, |
const ::boost::filesystem::path & | destinationPath, | ||
const ::fwLog::Logger::sptr & | logger = nullptr , |
||
ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | instance | DICOM instance used to share information between modules |
[in] | destinationPath | Destination path |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 20 of file writer/iod/InformationObjectDefinition.cpp.
References SLM_ASSERT.