fw4spl
SAddField.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2017.
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 #ifndef __CTRLSELECTION_SADDFIELD_HPP__
8 #define __CTRLSELECTION_SADDFIELD_HPP__
9 
10 #include "ctrlSelection/config.hpp"
11 
12 #include <fwServices/IController.hpp>
13 
14 namespace ctrlSelection
15 {
16 
40 class CTRLSELECTION_CLASS_API SAddField : public ::fwServices::IController
41 {
42 public:
43 
45 
47  CTRLSELECTION_API SAddField() noexcept;
48 
50  virtual ~SAddField() noexcept;
51 
52 protected:
53 
55  CTRLSELECTION_API void configuring() override;
56 
58  CTRLSELECTION_API void starting() override;
59 
61  CTRLSELECTION_API void stopping() override;
62 
64  CTRLSELECTION_API void updating() override;
65 
66 private:
67 
69  std::vector<std::string> m_fields;
70 };
71 
72 } //namespace ctrlSelection
73 
74 #endif // __CTRLSELECTION_SADDFIELD_HPP__
STL namespace.
Add one or several fields to an object.
Definition: SAddField.hpp:40
This interface defines control service API. Does nothing particularly, can be considered as a default...
Definition: IController.hpp:23
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
The namespace ctrlSelection contains several interfaces for manager, updater and wrapper.
Definition: BookmarkSrv.hpp:15