Click or drag to resize

IVI-C Attribute General Editor

Name

Name of the attribute. This name corresponds to the IVI-C macro name used in the <prefix>.h #define statement, except that the driver prefix and ATTR are excluded. Attribute names consist only of capital letters, numbers, and the underscore character and must start with a capital letter.

Display

Display name that will be used to identify the attribute in the function tree.

Access

Indicates if the attribute is read-write, read-only, or write-only

ID

The numeric value of the attribute macro used in the <prefix>.h #define statement. Note that IVI prescribes the base attribute value, so only the offset is editable.

Repeated capability

The repeated capability with which the function is associated.

Implementation

Choosing the Automatic option instructs Nimbus to automatically generate all of the implementation code needed to implement the IVI-C attribute by delegating to the associated IVI-COM property. The attribute implementation will be generated in the <prefix>.nimbus.cpp file. Note that the Automatic implementation option is not available for IVI-C only functions.

Choosing the Manual option requires the driver developer to provide the function implementation. Nimbus will add a stub implementation in the <prefix>.cpp file. The attribute getter will be generated with a name of the following form:

<prefix>_get_<ATTRIBUTE_NAME>

Similarly, the attribute setter will be generated with a name of the following form:

<prefix>_set_<ATTRIBUTE_NAME>

Caution note Caution

When the Implementation setting is changed from Manual to Automatic, Nimbus deletes any manual implementation code in the <prefix>.cpp file. It is important that no code of interest remains in the manual attribute implementation in the <prefix>.cpp when this setting is changed.

See Also

Download a complete CHM version of this documentation here.