![]() | 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.
![]() |
---|
All of the members below in the DriverInfo.cpp are routinely overwritten by Nimbus when the Driver Settings are modified. To change one of these values based on your driver, you must not edit the DriverInfo.cpp file. |
Member | Data Type | How to Set | Default | Description |
---|---|---|---|---|
DriverVendor | std::string | Driver Settings | Specified in wizard | Used to implement the SPECIFIC_DRIVER_VENDOR attribute. |
DriverDescription | std::string | Driver Settings | Specified in wizard | Used to implement the SPECIFIC_DRIVER_DESCRIPTION attribute. |
DriverRevision | std::string | Driver Settings | 0.1.0.0 | Used to implement the SPECIFIC_DRIVER_REVISION attribute. |
GroupCapabilities | std::string | Driver Settings | All groups in selected classes | Used to implement the GROUP_CAPABILITIES attribute. |
DefaultSimulatedModel | std::string | Driver Settings | First supported model | Used to determine which model is assumed when simulating and no Model option is passed to the InitWithOptions function. |
SpecificationMajorVersion | int | Driver Settings | Major version of class spec | Used to implement the SPECIFIC_DRIVER_CLASS_SPEC_MAJOR_VERSION attribute. |
SpecificationMinorVersion | int | Driver Settings | Minor version of class spec | Used to implement the SPECIFIC_DRIVER_CLASS_SPEC_MINOR_VERSION attribute. |