Template Class sharing_multifactory
Defined in File multifactory.hpp
Inheritance Relationships
Base Type
public rcppsw::patterns::factory::detail::multifactory< detail::factory_sharing_type, std::shared_ptr, TBase >
(Template Class multifactory)
Class Documentation
-
template<typename TBase, typename ...Args>
class sharing_multifactory : public rcppsw::patterns::factory::detail::multifactory<detail::factory_sharing_type, std::shared_ptr, TBase> Specialization of the multifactory class for sharing ownership of created objects via std::shared_ptr.
- Template Parameters:
TBase – The base class that all factory-constructed types must derive from.
Args – Arguments common to ALL factory-constructible types.
Public Functions
-
~sharing_multifactory(void) override = default