fw4spl
SModelSeriesWriter.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 "ioVTK/config.hpp"
10 
11 #include <fwCom/Signal.hpp>
12 
13 #include <fwData/Mesh.hpp>
14 
15 #include <fwIO/IWriter.hpp>
16 
17 #include <boost/filesystem/path.hpp>
18 
19 #include <string>
20 
21 namespace fwData
22 {
23 class Mesh;
24 }
25 
26 namespace fwJobs
27 {
28 class IJob;
29 }
30 
31 namespace ioVTK
32 {
33 
57 class IOVTK_CLASS_API SModelSeriesWriter : public ::fwIO::IWriter
58 {
59 
60 public:
61 
62  SModelSeriesWriter() noexcept;
63 
64  ~SModelSeriesWriter() noexcept
65  {
66  }
67 
69 
70  typedef ::fwCom::Signal< void ( SPTR(::fwJobs::IJob) ) > JobCreatedSignalType;
71 
77  IOVTK_API virtual void configureWithIHM() override;
78 
79 protected:
80 
81  IOVTK_API virtual ::fwIO::IOPathType getIOPathType() const override;
82 
88  IOVTK_API virtual void starting() override;
89 
95  IOVTK_API virtual void stopping() override;
96 
102  IOVTK_API virtual void configuring() override;
103 
110  IOVTK_API void updating() override;
111 
118  IOVTK_API void info(std::ostream& _sstream ) override;
119 
120  SPTR(JobCreatedSignalType) m_sigJobCreated;
121 
122 };
123 
124 } // namespace ioVTK
#define SPTR(_cls_)
VTK Model series writer.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Writer service API. It manages extension points definition and extension configuration.
Definition: IWriter.hpp:33
Contains the representation of the data objects used in the framework.
This namespace fwJobs provides jobs management.
The namespace ioVTK contains reader, writer and helper using the fwVtkIO lib for output and input act...