ExternalServiceFactory#

template<class T>
class ExternalServiceFactory : public sb::di::IServiceFactory#

Public Functions

inline ExternalServiceFactory(T *service)#
inline virtual TypeId getServiceTypeId() const#

Get the TypeId of the service instances that the factory will create.

inline virtual IServiceInstance::Ptr createInstance(IServiceProvider &serviceProvider) const#

Create a service instance object.

inline virtual IServiceFactory::Ptr clone()#

Returns copy of self factory.

Note that IServiceFactory implementation must be copyable