7 #ifndef __FWATOMSPATCH_PATCHER_FACTORY_NEW_HPP__ 8 #define __FWATOMSPATCH_PATCHER_FACTORY_NEW_HPP__ 10 #include "fwAtomsPatch/config.hpp" 11 #include "fwAtomsPatch/patcher/registry/detail.hpp" 26 template<
class CLASSNAME >
SPTR( CLASSNAME ) New();
34 template<
typename CLASSNAME>
35 friend SPTR( CLASSNAME ) fwAtomsPatch::patcher::factory::New();
43 const ::fwAtomsPatch::patcher::registry::KeyType & classname );
45 template<
class CLASSNAME >
SPTR( CLASSNAME ) New()
47 SPTR(CLASSNAME) obj = std::make_shared< CLASSNAME >(
Key() );
Contains base functionalities used to transform objects from a version to another.
Contains fwAtomsFilter::factory utilities.
Base class of all patchers.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.