24#ifndef SO_DEVICE_SETTINGS
25#define SO_DEVICE_SETTINGS
27#include <Inventor/devices/SoDevice.h>
28#include <Inventor/lists/SbStringList.h>
186 virtual SbString printProfile()
const {
return SbString(
"No Profile information"); };
189 static int s_initRefCount;
Class for smart character strings.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Device settings ...
virtual SbString getSettingName() const =0
Returns the name of the current setting (vendor defined list of parameters).
friend std::ostream & operator<<(std::ostream &os, const SoGLDeviceSettings &profile)
Prints information about the device settings.
static void exitClass()
Cleans SoDeviceSettings.
virtual int getSettingsCount() const =0
Returns the number of vendor defined settings.
static void initClass()
Initializes SoDeviceSettings.
virtual bool applySettings() const =0
Apply changes to the setting and/or parameters.
virtual SbString getParameterIdbyIndex(const unsigned int index) const =0
Returns the name of the parameter with the specified index in the current setting.
virtual bool setParameter(const SbString &pParameterId, const SbString &pParameterValue)=0
Set the value of a parameter in the current setting.
virtual SbString getParameter(const SbString &pParameterId) const =0
Returns current value of specified parameter in current setting.
virtual bool setSettingName(const SbString &pPredefinedSettingName)=0
Set a setting (vendor defined list of parameters) by name.
virtual int getParameterCount() const =0
Returns number of parameters in current setting.
virtual SbString getSettingNameByIndex(const unsigned int index) const =0
Returns the name of the specified setting.