Template Class releasing_multifactory

Inheritance Relationships

Base Type

  • public rcppsw::patterns::factory::detail::multifactory< detail::factory_releasing_type, std::unique_ptr, TBase > (Template Class multifactory)

Class Documentation

template<typename TBase, typename ...Args>
class releasing_multifactory : public rcppsw::patterns::factory::detail::multifactory<detail::factory_releasing_type, std::unique_ptr, TBase>

Specialization of the multifactory class for releasing ownership of created objects via std::unique_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

~releasing_multifactory(void) override = default