fw4spl
SAttachmentSeriesReader.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/IReader.hpp>
12 
13 #include <boost/filesystem/path.hpp>
14 
15 namespace ioData
16 {
17 
32 class IODATA_CLASS_API SAttachmentSeriesReader : public ::fwIO::IReader
33 {
34 
35 public:
36 
38 
40  typedef ::fwIO::IReader SuperClass;
41 
43  IODATA_API SAttachmentSeriesReader();
44 
49  IODATA_API virtual std::vector< std::string > getSupportedExtensions() override;
51 
57  IODATA_API void configureWithIHM() override;
59 
61  IODATA_API virtual ::fwIO::IOPathType getIOPathType() const override;
62 
63 protected:
64 
74  virtual void starting() override
75  {
76  }
77 
83  virtual void stopping() override
84  {
85  }
86 
90  IODATA_API virtual void configuring() override;
91 
97  IODATA_API void updating() override;
98 
107  IODATA_API virtual void info(std::ostream& _sstream ) override;
109 
110 };
111 
112 } //namespace ioData
::fwIO::IReader SuperClass
Super class of reader services.
SAttachmentSeries reader service.
Reader service API. It manages extension points definition and extension configuration.
Definition: IReader.hpp:34
virtual void starting() override
Starting method : default does nothing.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace ioData contains reader and writer services for basic fwData::Object which doesn&#39;t need ...
virtual void stopping() override
Stopping method : default does nothing.