Class ServiceFactory
Defined in File ServiceFactory.h
Page Contents
Class Documentation
-
class ServiceFactory
Provides utility functions for managing the Service classes associated with a particular model schema object.
- Author
Jean-Philippe Steinmetz
Public Functions
Initializes the factory with any defaults.
- Parameters
config – The global configuration object to initialize the factory with.
apiClient – The instance of ApiClient to use when creating Service instances.
-
~ServiceFactory()
Clears the factory state and frees up any memory resources used by the factory.
Creates and/or returns the Service class instance for a specified type.
- Returns
The service class associated with the specified type, otherwise nullptr.