fw4spl
MeshWriterService.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 "ioData/config.hpp"
10 
11 #include <fwIO/IWriter.hpp>
12 
13 #include <boost/filesystem/path.hpp>
14 
15 namespace ioData
16 {
47 class IODATA_CLASS_API MeshWriterService : public ::fwIO::IWriter
48 {
49 
50 public:
51 
53 
55  typedef ::fwIO::IWriter SuperClass;
56 
60  IODATA_API MeshWriterService();
61 
65  IODATA_API ~MeshWriterService() noexcept;
66 
77  IODATA_API void configureWithIHM() override;
79 
81  IODATA_API virtual ::fwIO::IOPathType getIOPathType() const override;
82 
83 protected:
84 
94  virtual void starting() override
95  {
96  }
97 
103  virtual void stopping() override
104  {
105  }
106 
110  IODATA_API virtual void configuring() override;
111 
119  IODATA_API void updating() override;
120 
129  IODATA_API virtual void info(std::ostream& _sstream ) override;
131 
132 };
133 
134 }
::fwIO::IWriter SuperClass
Super class of writer services.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
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
virtual void stopping() override
Stopping method : default does nothing.
The namespace ioData contains reader and writer services for basic fwData::Object which doesn&#39;t need ...
Mesh writer service.