IvtProfileSetting Class Reference
[IvTuneExtender]

VSG extension IvTune extension preferences More...

#include <IvTune/IvTuneExtender/IvtProfileSetting.h>

List of all members.

Public Member Functions

SbString getParameter (const SbString &name) const
const std::map< SbString,
SbString > & 
getParameters () const
void setParameter (const SbString &name, const SbString &value)
void addControlledExtension (IvtExtension *ext, IvtProfileSetting *setting)
const std::map< IvtExtension
*, IvtProfileSetting * > & 
getControlledExtensions () const
void setControlledBy (IvtExtension *controlledBy)
IvtExtensiongetControlledBy () const
 IvtProfileSetting ()
virtual ~IvtProfileSetting ()

Detailed Description

VSG extension IvTune extension preferences

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.

Since Open Inventor 9.0

SEE ALSO

IvtProfile, IvtExtension


Constructor & Destructor Documentation

IvtProfileSetting::IvtProfileSetting (  ) 

Constructor.

virtual IvtProfileSetting::~IvtProfileSetting (  )  [virtual]

Destructor.


Member Function Documentation

void IvtProfileSetting::addControlledExtension ( IvtExtension ext,
IvtProfileSetting setting 
)

Add a controlled extension to the current extension (active or controlled).

Parameters:
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.

SbString IvtProfileSetting::getParameter ( const SbString name  )  const

Returns the value of the parameter from its name.

Parameters:
name the name of the parameter.
const std::map<SbString, SbString>& IvtProfileSetting::getParameters (  )  const

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.

Parameters:
controlledBy the extension to be controlled.
void IvtProfileSetting::setParameter ( const SbString name,
const SbString value 
)

Set the specified parameter in this preference.

Parameters:
name the name of the parameter.
value the value of the parameter.

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/