fw4spl
|
InformationEntity base class used to write modules. More...
#include <InformationEntity.hpp>
Public Types | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
Public Member Functions | |
FWGDCMIO_API | InformationEntity (const std::shared_ptr< ::gdcm::Writer > &writer, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< const DATATYPE > &object, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationEntity () |
Destructor. | |
Protected Attributes | |
std::shared_ptr< ::gdcm::Writer > | m_writer |
GDCM Writer. | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
std::shared_ptr< const DATATYPE > | m_object |
FW4SPL Object. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
InformationEntity base class used to write modules.
Definition at line 31 of file writer/ie/InformationEntity.hpp.
fwGdcmIO::writer::ie::InformationEntity< DATATYPE >::InformationEntity | ( | const std::shared_ptr< ::gdcm::Writer > & | writer, |
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const std::shared_ptr< const DATATYPE > & | object, | ||
const ::fwLog::Logger::sptr & | logger = nullptr , |
||
ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | writer | GDCM writer that must be enriched |
[in] | instance | DICOM instance used to share information between modules |
[in] | object | FW4SPL data object |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 81 of file writer/ie/InformationEntity.hpp.
References SLM_ASSERT.