fw4spl
SJpgImageSeriesWriter.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2018.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #pragma once
8 
9 #include "ioITK/config.hpp"
10 
11 #include <fwIO/IWriter.hpp>
12 
13 #include <boost/filesystem/path.hpp>
14 
15 #include <string>
16 
17 namespace ioITK
18 {
19 
41 class IOITK_CLASS_API SJpgImageSeriesWriter : public ::fwIO::IWriter
42 {
43 
44 public:
46 
47  IOITK_API SJpgImageSeriesWriter() noexcept;
48 
49  IOITK_API virtual ~SJpgImageSeriesWriter() noexcept;
50 
51 protected:
52 
54  IOITK_API virtual void starting() override;
55 
57  IOITK_API virtual void stopping() override;
58 
60  IOITK_API virtual void configuring() override;
61 
63  IOITK_API void updating() override;
64 
66  IOITK_API void info(std::ostream& _sstream ) override;
67 
69  IOITK_API virtual void configureWithIHM() override;
70 
72  IOITK_API ::fwIO::IOPathType getIOPathType() const override;
73 
74 };
75 
76 } // namespace ioITK
STL namespace.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Write an image to jpg format.
Writer service API. It manages extension points definition and extension configuration.
Definition: IWriter.hpp:33
The namespace fwIO contains the base interface for reader and writer services.
Definition: ioTypes.hpp:16
The namespace ioITK contains services for reader, writer and helper for itk image.