fw4spl
|
Equipment Information Entity class. More...
#include <Equipment.hpp>
Public Member Functions | |
FWGDCMIO_API | Equipment (const std::shared_ptr< ::gdcm::Writer > &writer, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const ::fwMedData::Equipment::csptr &equipment, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~Equipment () |
Destructor. | |
virtual FWGDCMIO_API void | writeGeneralEquipmentModule () |
Write General Equipment Module tags. More... | |
virtual FWGDCMIO_API void | writeEnhancedGeneralEquipmentModule () |
Write Enhanced General Equipment Module tags. More... | |
Public Member Functions inherited from fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment > | |
FWGDCMIO_API | InformationEntity (const std::shared_ptr< ::gdcm::Writer > &writer, const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > &instance, const std::shared_ptr< const ::fwMedData::Equipment > &object, const ::fwLog::Logger::sptr &logger=nullptr, ProgressCallback progress=nullptr, CancelRequestedCallback cancel=nullptr) |
Constructor. More... | |
virtual FWGDCMIO_API | ~InformationEntity () |
Destructor. | |
Additional Inherited Members | |
Public Types inherited from fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment > | |
typedef std::function< void(std::uint64_t) > | ProgressCallback |
typedef std::function< bool() > | CancelRequestedCallback |
Protected Attributes inherited from fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment > | |
std::shared_ptr< ::gdcm::Writer > | m_writer |
GDCM Writer. | |
std::shared_ptr< ::fwGdcmIO::container::DicomInstance > | m_instance |
DICOM Instance. | |
std::shared_ptr< const ::fwMedData::Equipment > | m_object |
FW4SPL Object. | |
::fwLog::Logger::sptr | m_logger |
Logger. | |
ProgressCallback | m_progressCallback |
Progress callback for jobs. | |
CancelRequestedCallback | m_cancelRequestedCallback |
Cancel information for jobs. | |
Equipment Information Entity class.
Definition at line 23 of file io/fwGdcmIO/include/fwGdcmIO/writer/ie/Equipment.hpp.
fwGdcmIO::writer::ie::Equipment::Equipment | ( | const std::shared_ptr< ::gdcm::Writer > & | writer, |
const std::shared_ptr< ::fwGdcmIO::container::DicomInstance > & | instance, | ||
const ::fwMedData::Equipment::csptr & | equipment, | ||
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] | equipment | Equipment data |
[in] | logger | Logger |
[in] | progress | Progress callback |
[in] | cancel | Cancel requested callback |
Definition at line 24 of file io/fwGdcmIO/src/fwGdcmIO/writer/ie/Equipment.cpp.
|
virtual |
Write Enhanced General Equipment Module tags.
Definition at line 68 of file io/fwGdcmIO/src/fwGdcmIO/writer/ie/Equipment.cpp.
References fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment >::m_writer.
|
virtual |
Write General Equipment Module tags.
Definition at line 43 of file io/fwGdcmIO/src/fwGdcmIO/writer/ie/Equipment.cpp.
References fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment >::m_object, and fwGdcmIO::writer::ie::InformationEntity< ::fwMedData::Equipment >::m_writer.