7 #include "fwDataIO/writer/IObjectWriter.hpp" 9 #include <fwJobs/IJob.hpp> FWDATAIO_API IObjectWriter()
Constructor. Do nothing.
This namespace fwDataIO contains reader and writer for several framework's data.
::fwTools::Object::cwptr m_object
Object write on filesystem by the process.
virtual FWDATAIO_API std::string extension()=0
Return the default filename extension can be dynamic.
virtual std::shared_ptr< ::fwJobs::IJob > getJob() const
Returns the internal job, nullptr by default.
virtual FWDATAIO_API::fwTools::Object::csptr getObject() const
m_object getter.
virtual FWDATAIO_API ~IObjectWriter()
Destructor. Do nothing.
::fwData::location::ILocation::sptr m_location
Object location ( file path, directory path, url, etc )
virtual FWDATAIO_API void setObject(::fwTools::Object::csptr object)
m_object setter.
virtual FWDATAIO_API void cancel()
Requests writer abortion.
virtual FWDATAIO_API::fwData::location::ILocation::sptr getLocation()
m_location getter.
virtual FWDATAIO_API void setLocation(const ::fwData::location::ILocation::sptr location)
m_location setter.