fw4spl
IOperator.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 __FWSERVICES_IOPERATOR_HPP__
8 #define __FWSERVICES_IOPERATOR_HPP__
9 
10 #include "fwServices/config.hpp"
11 #include "fwServices/IParametersService.hpp"
12 
13 #include <fwCom/Signal.hpp>
14 #include <fwCom/Signals.hpp>
15 
16 namespace fwServices
17 {
18 
25 class FWSERVICES_CLASS_API IOperator : public ::fwServices::IParametersService
26 {
27 
28 public:
29 
31 
32  FWSERVICES_API static const ::fwCom::Signals::SignalKeyType s_COMPUTED_SIG;
33  typedef ::fwCom::Signal<void ()> ComputedSignalType;
34 
35 protected:
36 
38  FWSERVICES_API IOperator();
39 
41  FWSERVICES_API virtual ~IOperator();
42 
43  ComputedSignalType::sptr m_sigComputed;
44 };
45 
46 }
47 
48 #endif // __FWSERVICES_IOPERATOR_HPP__
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
This interface defines operator service API.
Definition: IOperator.hpp:25
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
ComputedSignalType::sptr m_sigComputed
Signal emitted when operator is computed.
Definition: IOperator.hpp:43
This interface defines a basic slots to receive parameter values from signals.