fw4spl
|
InformationEntity base class used to read 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< const ::fwMedData::DicomSeries > &dicomSeries, const std::shared_ptr< ::gdcm::Reader > &reader, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< DATATYPE > &object, const ::fwLog::Logger::sptr &logger=nullptr, const ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationEntity () |
Destructor. | |
Protected Attributes | |
std::shared_ptr< const ::fwMedData::DicomSeries > | m_dicomSeries |
Dicom Series. | |
std::shared_ptr< ::gdcm::Reader > | m_reader |
GDCM Reader. | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
std::shared_ptr< 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 read modules.
Definition at line 36 of file reader/ie/InformationEntity.hpp.
fwGdcmIO::reader::ie::InformationEntity< DATATYPE >::InformationEntity | ( | const std::shared_ptr< const ::fwMedData::DicomSeries > & | dicomSeries, |
const std::shared_ptr< ::gdcm::Reader > & | reader, | ||
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const std::shared_ptr< DATATYPE > & | object, | ||
const ::fwLog::Logger::sptr & | logger = nullptr , |
||
const ProgressCallback | progress = nullptr , |
||
CancelRequestedCallback | cancel = nullptr |
||
) |
Constructor.
[in] | dicomSeries | DicomSeries used to access computed tag values. |
[in] | reader | GDCM reader that must be used to read series. |
[in] | instance | DICOM instance used to share informations between modules |
[in] | object | FW4SPL data object |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 92 of file reader/ie/InformationEntity.hpp.
References SLM_ASSERT.