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