As documented in the
User's Guide,
control signal buses are widely used within the library to easily
exchange signals between vehicle's subsystems.
In the previous versions of the VehicleInterfaces, the buses from
packages <subsystem>.Interfaces
were directly instantiated
in the subsystem models, with the prefix "replaceable".
This possibly led to some troubles especially when redeclaring
a subsystem within a vehicle architecture, since the
compatibility of the corresponding buses had to be granted.
In version 2.0.0 of the VehicleInterfaces, the original idea described in the User's Guide is introduced again. Consequently, only the buses from VehicleInterfaces.Interfaces are instantiated in the subsystem models and base classes. The prefix "replaceable" is omited. The bus signals are defined in buses located in <subsystem>.Internal packages, but those particular buses are only intended to enable a buildup of signal connection dialog (i.e. the GUI) when connecting a signal. Those particular buses shall not be used in models.
The buses formerly placed in packages <subsystem>.Interfaces
are all
marked obsolete and they were moved into a separate library
ObsoleteVehicleInterfaces2.
In user models, these obsolete connectors shall by replaced by buses from
VehicleInterfaces.Interfaces.
For example, a previous instantiation of engine bus such as
replaceable VehicleInterfaces.Engines.Interfaces.StandardBus engineBus constrainedby VehicleInterfaces.Interfaces.EngineBus annotation(...);
shall be replaced by
VehicleInterfaces.Interfaces.EngineBus engineBus annotation(...);