Template Class sharing_factory

Inheritance Relationships

Base Type

  • public rcppsw::patterns::factory::detail::base_factory< detail::factory_sharing_type, std::shared_ptr, TBase, TKeyType, Args... > (Template Class base_factory)

Class Documentation

template<typename TBase, typename TKeyType, typename ...Args>
class sharing_factory : public rcppsw::patterns::factory::detail::base_factory<detail::factory_sharing_type, std::shared_ptr, TBase, TKeyType, Args...>

Specialization of the detail::base_factory class for sharing ownership of created objects via std::shared_ptr.

Public Functions

~sharing_factory(void) override = default