7 #ifndef __FWCAMP_USEROBJECT_HPP__ 8 #define __FWCAMP_USEROBJECT_HPP__ 10 #include <camp/userobject.hpp> 14 #include "fwCamp/factory/new.hpp" 15 #include "fwCamp/registry/detail.hpp" 31 ::fwCamp::registry::get()->addFactory(name, &::fwCamp::factory::New<T>);
37 #endif //__FWCAMP_USEROBJECT_HPP__ Helper to register and manage the conversion between an fwData::Object and a camp::userObject.
This file defines fwCore base macros.
UserObjectRegistrar(const std::string &name)
Register an object of type name in factory.
All necessary for camp binding with simple types.