9 #include "fwServices/config.hpp" 10 #include <fwServices/IService.hpp> 45 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_BOOL_PARAMETER_SLOT;
46 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_COLOR_PARAMETER_SLOT;
47 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_DOUBLE_PARAMETER_SLOT;
48 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_DOUBLE2_PARAMETER_SLOT;
49 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_DOUBLE3_PARAMETER_SLOT;
50 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_INT_PARAMETER_SLOT;
51 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_INT2_PARAMETER_SLOT;
52 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_INT3_PARAMETER_SLOT;
53 FWSERVICES_API
static const ::fwCom::Slots::SlotKeyType s_SET_ENUM_PARAMETER_SLOT;
64 FWSERVICES_API
virtual void setBoolParameter(
bool val, std::string key);
67 FWSERVICES_API
virtual void setColorParameter(std::array<std::uint8_t, 4> color, std::string key);
70 FWSERVICES_API
virtual void setDoubleParameter(
double val, std::string key);
73 FWSERVICES_API
virtual void setDouble2Parameter(
double val0,
double val1, std::string key);
76 FWSERVICES_API
virtual void setDouble3Parameter(
double val0,
double val1,
double val2, std::string key);
79 FWSERVICES_API
virtual void setIntParameter(
int val, std::string key);
82 FWSERVICES_API
virtual void setInt2Parameter(
int val0,
int val1, std::string key);
85 FWSERVICES_API
virtual void setInt3Parameter(
int val0,
int val1,
int val2, std::string key);
88 FWSERVICES_API
virtual void setEnumParameter(std::string val, std::string key);
Base class for all services.
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.