fw4spl
SReadArray.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-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 __TUTO16MULTITHREADCONSOLE_SREADARRAY_HPP__
8 #define __TUTO16MULTITHREADCONSOLE_SREADARRAY_HPP__
9 
10 #include "Tuto16MultithreadConsole/config.hpp"
11 
12 #include <fwServices/IController.hpp>
13 
15 {
16 
30 class TUTO16MULTITHREADCONSOLE_CLASS_API SReadArray : public ::fwServices::IController
31 {
32 public:
33 
35 
36  TUTO16MULTITHREADCONSOLE_API SReadArray() noexcept;
37  TUTO16MULTITHREADCONSOLE_API virtual ~SReadArray() noexcept;
38 
39 protected:
40 
42  virtual void starting() override;
43 
45  virtual void stopping() override;
46 
48  virtual void updating() override;
49 
51  virtual void configuring() override;
52 };
53 
54 } // namespace Tuto16MultithreadConsole
55 
56 #endif // __TUTO16MULTITHREADCONSOLE_SREADARRAY_HPP__
57 
This service initializes a fwData::Array with 10 values (0 to 9).
Definition: SReadArray.hpp:30
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 Tuto16MultithreadConsole contains services to run the Tuto16MultithreadConsole example...