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

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

#include <InformationEntity.hpp>

+ Inheritance diagram for fwGdcmIO::writer::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< ::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::DicomInstancem_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.
 

Detailed Description

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

InformationEntity base class used to write modules.

Definition at line 31 of file writer/ie/InformationEntity.hpp.

Constructor & Destructor Documentation

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

Parameters
[in]writerGDCM writer that must be enriched
[in]instanceDICOM instance used to share information between modules
[in]objectFW4SPL data object
[in]loggerLogger
[in]progressProgress callback
[in]cancelCancel requested callback

Definition at line 81 of file writer/ie/InformationEntity.hpp.

References SLM_ASSERT.


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