Adapter Setting Schema

Schema Diagram

IANet_AdapterToSettingAssoc

Purpose

This class is used to group a collection of IANet_AdapterSetting instances. 

Instances

Each adapter can have several associated IANet_AdapterToSettingAssoc instances.

Creating Instances

The user cannot create instances of IANet_AdapterToSettingAssoc.

Removing Instances

The user cannot remove instances of IANet_AdapterToSettingAssoc.

Modifying Properties

There are no user-modifiable properties for this class.

Associations

An IANet_AdapterToSettingAssoc instance will exist to associate each IANet_PhysicalEthernetAdapter with its IANet_AdapterSetting.

Methods

There are no supported methods for this class.

Unsupported Properties

None.

IANet_AdapterSetting

Purpose

This abstract class is used to describe a settable property in a configuration. The class is derived from IANet_Setting.

Instances

Instances of this class will exist for each setting on each adapter.

There are several sub-classes for IANet_AdapterSetting. The sub-classes correspond to the different types and ranges of values that settings can take. Each sub-class corresponds to a different style of GUI that may be used to display or change the settings.

Creating Instances

The user cannot create instances of IANet_AdapterSetting.

Removing Instances

The user cannot remove instances of IANet_AdapterSetting.

Modifying Properties

This abstract class has no modifiable properties, however, the child classes have modifiable properties (see sub-classes listed in this section).

Associations

Each IANet_AdapterSetting instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Methods

There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

Unsupported Properties

SettingID and RequiresSession are not used.

IANet_AdapterSettingInt

Purpose

The class models a setting that takes an integer value. There are several IANet setting classes used to model integers. The differences between these classes concerns how the integer is displayed and modified by the GUI, and how validation is done by the Provider. For IANet_AdapterSettingInt, it is expected that the GUI will display an edit box with a spin control.

Instances

An instance of this class exists for each setting that should be displayed as an integer edit box.

Creating Instances

The user cannot create instances of this class.

Removing Instances

The user cannot remove instances of this class.

Modifying Properties

The “CurrentValue” attribute is the only modifiable property of this class. The user can modify this property by using IWbemClassObject::Put() to change the value, then call “IWbemServices::PutInstance()” to update the setting. The Provider will check that:

    CurrentValue  <=  max
    CurrentValue  >=  min
    (CurrentValue – min) is a multiple of Step

    Where max, min, CurrentValue and Step are all attributes of IANet_SettingInt.

Local Properties

This class implements the following local properties:

Associations

Each IANet_AdapterSettingInt instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Unsupported Attributes

SettingID and RequiresSession are not used.

Methods

There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_AdapterSettingEnum

Purpose

The class models a enumeration setting value. For IANet_AdapterSettingEnum, it is expected that the GUI will display a list of strings which map onto a small number of enumerated values. (e.g., a drop list combo box).

Instances

An instance of this class exists for each setting that will be displayed as an enumeration.

Creating Instances

The user cannot create instances of this class.

Removing Instances

The user cannot remove instances of this class.

Modifying Properties

The “CurrentValue” attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call “PutInstance()” to update the setting. The Provider will check that:

      CurrentValue ε PossibleValues[]

Associations

Each IANet_AdapterSettingEnum instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Local Properties

This class implements the following local properties:

Unsupported Attributes

SettingID and RequiresSession are not used.

Methods

There are no supported methods on this class. To make changes to a setting modify the required property and call PutInstance.

IANet_AdapterSettingSlider

Purpose

The class models a setting that specifically handles Slider settings. For IANet_AdapterSettingSlider, it is expected that the GUI will display a slider which will allow the user to choose the value in a graphical manner – the actual value chosen need not be displayed.

Instances

An instance of this class exists for each setting that will be displayed as a slider.

Creating Instances

The user cannot create instances of this class.

Removing Instances

The cannot remove instances of this class.

Modifying Properties

The “CurrentValue” attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call “PutInstance()” to update the setting. The Provider will check that:

CurrentValue ε PossibleValues[]

Local Properties

This class implements the following local properties:

Associations

Each IANet_AdapterSettingSlider instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Unsupported Attributes

SettingID and RequiresSession are not used.

Methods

There are no supported methods on this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_AdapterSettingMultiSelection

Purpose

This class models a setting whereby the user can select several options from a list of options. For IANet_AdapterSettingMultiSelection, it is expected that the GUI will display multi-selection list box which will allow the user to choose any (or no) option(s).

Instances

An instance of this class exists for each setting that will be displayed as a multi-selection.

Creating Instances

The user cannot create instances of this class.

Removing Instances

The user cannot remove instances of this class.

Modifying Properties

The “CurrentValue” attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then use “PutInstance()” to update the setting. The Provider will check that:

       CurrentValue ε PossibleValues[]

Local Properties

This class implements the following properties:

Associations

Each IANet_AdapterSettingMultiSelection instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Unsupported Attributes

SettingID and RequiresSession are not used.

Methods

There are no supported methods for this class. To make changes to a setting, modify the required property and call PutInstance.

IANet_AdapterSettingString

Purpose

This class models a setting whereby the user can enter a free-form string value. For IANet_AdapterSettingString, it is expected that the GUI will display an edit box.

Instances

An instance of this class exists for each setting that will be displayed as an edit box.

Creating Instances

The user cannot create instances of this class.

Removing Instances

The user cannot remove instances of this class.

Modifying Properties

The “CurrentValue” attribute is the only modifiable property of this class. Modify this property by using Put() to change the value, then call “PutInstance()” to update the setting.

Local Properties

This class implements the following local properties:

Associations

Each IANet_AdapterSettingString instance is associated with an IANet_PhysicalEthernetAdapter instance using an instance of IANet_AdapterToSettingAssoc.

Unsupported Attributes

SettingID and RequiresSession are not used.

Methods

There are no supported methods for this class. To make changes to a setting, modify the required property and then call PutInstance.

Home


Copyright© 2004 Intel Corporation. Legal Information