fw4spl
fwGdcmIO::writer::iod::InformationObjectDefinition Class Referenceabstract

InformationObjectDefinition base class used to write DICOM modules. More...

#include <InformationObjectDefinition.hpp>

+ Inheritance diagram for fwGdcmIO::writer::iod::InformationObjectDefinition:

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::DicomInstancem_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.
 

Detailed Description

InformationObjectDefinition base class used to write DICOM modules.

Definition at line 30 of file writer/iod/InformationObjectDefinition.hpp.

Constructor & Destructor Documentation

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.

Parameters
[in]instanceDICOM instance used to share information between modules
[in]destinationPathDestination path
[in]loggerLogger
[in]progressProgress callback
[in]cancelCancel requested callback

Definition at line 20 of file writer/iod/InformationObjectDefinition.cpp.

References SLM_ASSERT.


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