IServiceFactory#
-
struct IServiceFactory#
Subclassed by sb::di::details::factories::ExternalServiceFactory< T >, sb::di::details::factories::ServiceFactory< T >, sb::di::details::factories::ServiceFcnFactory< FactoryFcn >
Public Types
-
using Ptr = std::unique_ptr<IServiceFactory>#
-
using SPtr = std::shared_ptr<IServiceFactory>#
Public Functions
-
virtual TypeId getServiceTypeId() const = 0#
Get the TypeId of the service instances that the factory will create.
-
virtual IServiceInstance::Ptr createInstance(ServiceProvider &serviceProvider, bool inPlaceRequest) const = 0#
Create a service instance object.
-
virtual ~IServiceFactory() = default#
-
using Ptr = std::unique_ptr<IServiceFactory>#