Defined in:Called to update a particular setting for a configurable object.
virtual void CommitSetting(const Setting *setting);
||A pointer to the setting whose value should be updated in the configurable object.|
CommitSettingfunction is called to update a particular setting for a configurable object. An override implementation of this function should examine the setting identifier, retrieved with the
Setting::GetSettingIdentifierfunction, and update the object setting to which it corresponds to the value stored in the
Settingobject. It's possible that the setting identifier is not one corresponding to a setting that was previously returned by the
Configurable::BuildSettingListfor the same object. (This can happen if the
ConfigurationWidget::BuildConfigurationfunction was called for multiple configurable objects for the same configuration widget.) If a setting identifier is not recognized, then the
CommitSettingfunction should simply ignore the setting and take no action.
When a configuration interface is committed through a call to the
CommitSettingfunction is called once for each setting stored in the configuration widget except those settings that have an indeterminate value.