Skip to content

CComponentFactory

#include <CComponentFactory.hpp>

Inherits from IComponentFactory

Public Functions

Name
virtual void Register(std::shared_ptr< IComponent > component, const std::string & type, const boost::optional< std::string > & variant =boost::none) override
virtual outcome::result< std::shared_ptr< IComponent > > GetComponent(const std::string & type, const boost::optional< std::string > & variant =boost::none) override

Additional inherited members

Public Functions inherited from IComponentFactory

Name
virtual ~IComponentFactory() =default

Public Functions Documentation

function Register

virtual void Register(
    std::shared_ptr< IComponent > component,
    const std::string & type,
    const boost::optional< std::string > & variant =boost::none
) override

Reimplements: IComponentFactory::Register

function GetComponent

virtual outcome::result< std::shared_ptr< IComponent > > GetComponent(
    const std::string & type,
    const boost::optional< std::string > & variant =boost::none
) override

Reimplements: IComponentFactory::GetComponent


Updated on 2026-03-04 at 13:10:44 -0800