fw4spl
SDicomSeriesConverter.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 "ioGdcm/config.hpp"
10 
11 #include <fwCom/Signal.hpp>
12 
13 #include <fwGui/IActionSrv.hpp>
14 
15 #include <fwMedData/SeriesDB.hpp>
16 
17 namespace fwJobs
18 {
19 class IJob;
20 }
21 
22 namespace ioGdcm
23 {
24 
45 class IOGDCM_CLASS_API SDicomSeriesConverter : public ::fwGui::IActionSrv
46 {
47 public:
48 
50 
51  typedef ::fwCom::Signal< void ( SPTR(::fwJobs::IJob) ) > JobCreatedSignal;
52 
56  IOGDCM_API SDicomSeriesConverter() noexcept;
57 
61  IOGDCM_API virtual ~SDicomSeriesConverter() noexcept override;
62 
63 protected:
64 
66  IOGDCM_API virtual void configuring() override;
67 
69  IOGDCM_API virtual void starting() override;
70 
72  IOGDCM_API virtual void stopping() override;
73 
75  IOGDCM_API void updating() override;
76 
78  IOGDCM_API void info(std::ostream& _sstream ) override;
79 
80 protected:
81 
83  SPTR(JobCreatedSignal) m_sigJobCreated;
84 };
85 
86 } // namespace ioGdcm
#define SPTR(_cls_)
STL namespace.
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
ioGdcm contains services use to deal with DICOM using the GDCM library.
This service is used to convert DicomSeries from source SeriesDB and push result (ImageSeries, ModelSeries, ...) in target SeriesDB.
This namespace fwJobs provides jobs management.