7 #ifndef __FWCAMP_FACTORY_NEW_HPP__ 8 #define __FWCAMP_FACTORY_NEW_HPP__ 15 #include "fwCamp/config.hpp" 16 #include "fwCamp/registry/detail.hpp" 23 FWCAMP_API
SPTR( ::camp::UserObject ) New( const ::fwCamp::registry::KeyType & classname, ::
fwTools::Object *
object);
27 SPTR(::camp::UserObject) obj = std::make_shared< ::camp::UserObject >(*(
dynamic_cast<CLASSNAME*
>( object )));
This file defines fwCore base macros.
Contains fwAtomsFilter::factory utilities.
All necessary for camp binding with simple types.