7 #ifndef __FWGUI_FACTORY_NEW_HPP__ 8 #define __FWGUI_FACTORY_NEW_HPP__ 10 #include "fwGui/config.hpp" 11 #include "fwGui/registry/detail.hpp" 23 template<
class CLASSNAME >
SPTR( CLASSNAME ) New();
31 template<
typename CLASSNAME>
32 friend SPTR( CLASSNAME ) fwGui::factory::New();
41 template<
class CLASSNAME >
SPTR( CLASSNAME ) New()
43 SPTR(CLASSNAME) guiObj = std::make_shared< CLASSNAME >(
Key() );
The namespace fwGui contains the base interface for IHM services.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Contains fwAtomsFilter::factory utilities.
Base class for all fwGui's classes.