#include <IPortalServiceLocator.h>
◆ ~IPortalServiceLocator()
| virtual IPortalServiceLocator::~IPortalServiceLocator |
( |
| ) |
|
|
inlinevirtual |
◆ Configure()
Configure a service.
The format of the ProductId is "ProductName_Major.Minor.Patch-Changelist+Branch". Use the '*` wild card to include multiple versions, i.e. "Fortnite_1.0.*+UE".
When looking up services, the first matching configuration entry will be used. If no entry matches, nullptr will be returned.
- Parameters
-
| ServiceName | The name of the service type configure. |
| ProductName | The product name that this configuration applies to. |
| ProductVersion | The version string of the product that this configuration applies to. |
| ServiceModule | The name of the module that implements the service. |
Implemented in FPortalServiceLocatorImpl.
◆ GetService() [1/2]
Get a service of the specified type.
- Parameters
-
| ServiceType | The type of service to get. |
- Returns
- The service instance, or nullptr if unavailable.
- See also
- GetServiceRef
◆ GetService() [2/2]
Get a service of the specified type.
- Parameters
-
| ServiceName | The name of the service type to get. |
- Returns
- The service instance, or nullptr if unavailable.
Implemented in FPortalServiceLocatorImpl.
◆ GetServiceRef()
Get a service of the specified type.
Unlike GetService(), this method will assert if a service instance of the specified type does not exist.
- Parameters
-
| ServiceType | The type of service to get. |
- Returns
- The service instance.
- See also
- GetService
The documentation for this class was generated from the following file: