|
std::shared_ptr< CSetting > | CreateSetting (const std::string &settingType, const std::string &settingId, CSettingsManager *settingsManager=nullptr) const override |
| Creates a new setting of the given custom setting type. More...
|
|
◆ CreateSetting()
std::shared_ptr< CSetting > CSettingCreator::CreateSetting |
( |
const std::string & |
settingType, |
|
|
const std::string & |
settingId, |
|
|
CSettingsManager * |
settingsManager = nullptr |
|
) |
| const |
|
overridevirtual |
Creates a new setting of the given custom setting type.
- Parameters
-
settingType | string representation of the setting type |
settingId | Identifier of the setting to be created |
settingsManager | Reference to the settings manager |
- Returns
- A new setting object of the given (custom) setting type or nullptr if the setting type is unknown
Implements ISettingCreator.
The documentation for this class was generated from the following files: