fw4spl
SInitNewSeries.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 "uiMedDataQt/config.hpp"
10 
11 #include <fwGui/IActionSrv.hpp>
12 
13 #include <fwMedData/Series.hpp>
14 
15 namespace uiMedDataQt
16 {
17 namespace action
18 {
24 class UIMEDDATAQT_CLASS_API SInitNewSeries : public ::fwGui::IActionSrv
25 {
26 public:
28 
30  UIMEDDATAQT_API SInitNewSeries();
31 
33  UIMEDDATAQT_API virtual ~SInitNewSeries() noexcept;
34 
35 protected:
36 
38  virtual void starting() override;
39 
41  virtual void stopping() override;
42 
55  virtual void configuring() override;
56 
58  virtual void updating() override;
59 
60  virtual void info( std::ostream& _sstream ) override;
61 
62 private:
63 
65  std::string m_seriesDBId;
66 
68  std::string m_defaultInstitution;
69 };
70 
71 } // namespace action
72 } // namespace uiMedDataQt
The namespace uiMedDataQt contains editors for medical data.
STL namespace.
This action allows to update uiMedDataQt::editor::SSelector UI in order to add new series...
Defines the service interface managing the menu items.
Definition: IActionSrv.hpp:24
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.