The CardDatabaseManager is responsible for managing the global CardDatabase singleton.
More...
#include <card_database_manager.h>
The CardDatabaseManager is responsible for managing the global CardDatabase singleton.
This class provides a static interface for accessing the global CardDatabase instance and its CardDatabaseQuerier. It also allows the configuration of optional providers:
Only a single instance of CardDatabase exists, enforced via a private constructor and deleted copy/move operations.
◆ CardDatabaseManager() [1/2]
Deleted copy constructor to enforce singleton.
◆ CardDatabaseManager() [2/2]
| CardDatabaseManager::CardDatabaseManager |
( |
| ) |
|
|
privatedefault |
Private default constructor to enforce singleton.
◆ ~CardDatabaseManager()
| CardDatabaseManager::~CardDatabaseManager |
( |
| ) |
|
|
privatedefault |
◆ getInstance()
◆ operator=()
Deleted assignment operator to enforce singleton.
◆ query()
◆ setCardDatabasePathProvider()
Sets the card database path provider.
- Parameters
-
- Note
- Must be called before the first call to getInstance().
◆ setCardPreferenceProvider()
Sets the card preference provider.
- Parameters
-
- Note
- Must be called before the first call to getInstance().
◆ setCardSetPriorityController()
Sets the card set priority controller.
- Parameters
-
- Note
- Must be called before the first call to getInstance().
◆ cardPreferenceProvider
Static card preference provider pointer (default: Noop)
◆ pathProvider
Static path provider pointer (default: Noop)
◆ setPriorityController
Static set priority controller pointer (default: Noop)
The documentation for this class was generated from the following files: