7 #ifndef __FWATOMSFILTER_FACTORY_NEW_HPP__ 8 #define __FWATOMSFILTER_FACTORY_NEW_HPP__ 10 #include "fwAtomsFilter/config.hpp" 11 #include "fwAtomsFilter/registry/detail.hpp" 23 template<
class CLASSNAME >
SPTR( CLASSNAME ) New();
31 template<
typename CLASSNAME>
32 friend SPTR( CLASSNAME ) fwAtomsFilter::factory::New();
40 const ::fwAtomsFilter::registry::KeyType & classname );
42 template<
class CLASSNAME >
SPTR( CLASSNAME ) New()
44 SPTR(CLASSNAME) obj = std::make_shared< CLASSNAME >(
Key() );
Proposes an API to filter atoms.
Contains fwAtomsFilter::factory utilities.
Removes atom attributes which are not managed by a context.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.