Skip to content

DriverInfo Struct

The Nimbus Runtime Library supplies the DriverInfo structure for controlling the standard Nimbus implementation of various IVI-defined functions. A single instance of this structure is maintained in the driver project’s DriverInfo.cpp file.

A single, global instance of the DriverInfo structure is maintained in the DriverInfo.cpp file and managed by Nimbus. The table below explains each of the members and the role they play in controlling the Nimbus implementation of various functions. It is important that all of these members are controlled via various settings in the Driver Settings Editor. Changes made by directly editing the values in the DriverInfo.cpp will be overwritten by Nimbus.

MemberData TypeHow to SetDefaultDescription
DriverVendorstd::stringDriver SettingsSpecified in wizardUsed to implement the SPECIFIC_DRIVER_VENDOR attribute.
DriverDescriptionstd::stringDriver SettingsSpecified in wizardUsed to implement the SPECIFIC_DRIVER_DESCRIPTION attribute.
DriverRevisionstd::stringDriver Settings0.1.0.0Used to implement the SPECIFIC_DRIVER_REVISION attribute.
GroupCapabilitiesstd::stringDriver SettingsAll groups in selected classesUsed to implement the GROUP_CAPABILITIES attribute.
DefaultSimulatedModelstd::stringDriver SettingsFirst supported modelUsed to determine which model is assumed when simulating and no Model option is passed to the InitWithOptions function.
SpecificationMajorVersionintDriver SettingsMajor version of class specUsed to implement the SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION attribute.
SpecificationMinorVersionintDriver SettingsMinor version of class specUsed to implement the SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION attribute.