9 #include <fwTools/Object.hpp> 11 #include "fwServices/IService.hpp" 28 FWSERVICES_API ::fwServices::IService::sptr
add(::fwData::Object::sptr obj,
const std::string& serviceType,
29 const std::string& _implType,
const std::string& _id =
"");
37 template<
class SERVICE>
38 SPTR(SERVICE)
add( ::
fwData::Object::csptr obj, const
std::
string& _implType, const
std::
string& _id = "");
44 FWSERVICES_API ::
fwServices::IService::sptr
add( const
std::
string& _implType, const
std::
string& _id = "" );
50 template<class SERVICE>
51 SPTR(SERVICE)
add( const
std::
string& _implType, const
std::
string& _id = "" );
57 #include "fwServices/op/Add.hxx"
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
Contains the representation of the data objects used in the framework.
FWSERVICES_API::fwServices::IService::sptr add(::fwData::Object::sptr obj, const std::string &serviceType, const std::string &_implType, const std::string &_id="")
Create and attach to the object obj a service of type serviceType, implementation _implementationId w...