fw4spl
fwGdcmIO::reader::ie::InformationEntity< DATATYPE > Class Template Reference

InformationEntity base class used to read modules. More...

#include <InformationEntity.hpp>

+ Inheritance diagram for fwGdcmIO::reader::ie::InformationEntity< DATATYPE >:

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::DicomSeriesm_dicomSeries
 Dicom Series.
 
std::shared_ptr< ::gdcm::Reader > m_reader
 GDCM Reader.
 
std::shared_ptr< ::fwGdcmIO::container::DicomInstancem_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.
 

Detailed Description

template<class DATATYPE>
class fwGdcmIO::reader::ie::InformationEntity< DATATYPE >

InformationEntity base class used to read modules.

Definition at line 36 of file reader/ie/InformationEntity.hpp.

Constructor & Destructor Documentation

template<class DATATYPE>
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.

Parameters
[in]dicomSeriesDicomSeries used to access computed tag values.
[in]readerGDCM reader that must be used to read series.
[in]instanceDICOM instance used to share informations between modules
[in]objectFW4SPL data object
[in]loggerLogger
[in]progressProgress callback
[in]cancelCancel requested callback

Definition at line 92 of file reader/ie/InformationEntity.hpp.

References SLM_ASSERT.


The documentation for this class was generated from the following file: