IvTune extension preferences More...
#include <IvTune/IvTuneExtender/IvtProfileSetting.h>
Public Member Functions | |
SbString | getParameter (const SbString &name) const |
Returns the value of the parameter from its name. | |
const std::map< SbString, SbString > & | getParameters () const |
Returns the list of parameters and associated values for this preference. | |
void | setParameter (const SbString &name, const SbString &value) |
Set the specified parameter in this preference. | |
void | addControlledExtension (IvtExtension *ext, IvtProfileSetting *setting) |
Add a controlled extension to the current extension (active or controlled). | |
const std::map< IvtExtension *, IvtProfileSetting * > & | getControlledExtensions () const |
Returns the list of controlled extensions and associated settings for the current profile. | |
void | setControlledBy (IvtExtension *controlledBy) |
Set an extension which is embedded and controlled by current extension. | |
IvtExtension * | getControlledBy () const |
Returns null if it is an active extension (top level), otherwise the extension which is embedded and controlled by the current active extension. | |
IvtProfileSetting () | |
Constructor. | |
virtual | ~IvtProfileSetting () |
Destructor. | |
This class handles settings associated with an IvTune extension in the context of a profile. An active extension is an extension activated with a profile. A controlled extension is an extension activated by an active or another controlled extension.
Definition at line 66 of file IvtProfileSetting.h.
IvtProfileSetting::IvtProfileSetting | ( | ) |
Constructor.
|
virtual |
Destructor.
void IvtProfileSetting::addControlledExtension | ( | IvtExtension * | ext, |
IvtProfileSetting * | setting | ||
) |
Add a controlled extension to the current extension (active or controlled).
ext | the extension to add. |
setting | the setting associated to the extension. |
IvtExtension * IvtProfileSetting::getControlledBy | ( | ) | const |
Returns null if it is an active extension (top level), otherwise the extension which is embedded and controlled by the current active extension.
const std::map< IvtExtension *, IvtProfileSetting * > & IvtProfileSetting::getControlledExtensions | ( | ) | const |
Returns the list of controlled extensions and associated settings for the current profile.
Returns the value of the parameter from its name.
name | the name of the parameter. |
Returns the list of parameters and associated values for this preference.
void IvtProfileSetting::setControlledBy | ( | IvtExtension * | controlledBy | ) |
Set an extension which is embedded and controlled by current extension.
controlledBy | the extension to be controlled. |
Set the specified parameter in this preference.
name | the name of the parameter. |
value | the value of the parameter. |