Statecharts Sending events across address spaces Rational Rhapsody allows you to send events to reactive instances in different address spaces. This feature applies to multiple address spaces on the same computer. It is not possible to send events to reactive instances on a different computer. This feature can be used with the following target environments: Љ INTEGRITY5 Љ VxWorks6.2diab_RTP Љ VxWorks6.2gnu_RTP Note Currently, the multiple address space feature applies only to Rational Rhapsody in C. Use of this feature requires:
Љ Setting a number of properties Љ Calling a different function than that used for sending events within the same address space Properties for sending events across address spaces To allow use of the multiple address space feature, different code generation settings are required. These settings are controlled by the following property: Љ C_CG::Configuration::MultipleAddressSpaces When this boolean property is set to Checked , Rational Rhapsody uses the code generation settings required for use of the multiple address space feature. The default value of this property is Cleared , so you must change the value to enable this feature .
In order to be able to receive events from other address spaces, the reactive object must publish the name by which it will be identified. The following two properties, set at the class level, are used for this purpose: Љ C_CG::Class::PublishedName This is the name that will be used to identify the reactive object in order to send a distributed event to it. If there is only one reactive instance of the class, the value of this property is used to identify the object. If there is more than one reactive instance of the class, each named explicitly, the name used to identify the reactive object will be the name that you have given to the object, and not the property value.
In the case of multiplicity, where the objects are not named explicitly, the name used to 752 User Guide