Can an imported actor contain an imported actor?

Category |  Purpose |  Intended Audience |  Applicable to |  Description |  Limitations |  See also


Category:

Top

Modeling


Purpose:

Top

How to get recursive containment hierarchies of imported actor references.


Intended Audience:

Top

Those interested in advanced dynamic component configuration techniques


Applicable to:

Top

All Versions


Description:

Top

On page 132 of the ObjecTime 5.0 toolset guide are the "Rules for creating an equivalence". The last two rules seem to be saying that an imported actor reference cannot contain another imported actor reference. Is this limitation true?

Actors declared in an equivalence will be type checked by the toolset for compatibility. A restriction of the equivalence relationship is that an imported actor reference may not contain another imported actor reference as stated in the rules.

This is a restriction of equivalence declarations which are supported in the Simulation environment only. Equivalence compatibilty is checked at compile time, this rule is not enforced at run-time. In the target environment an imported actor reference may contain an imported actor reference. In the simulation environment equivalence compile time type checking can be turned off (by selecting "unrestricted importation" from the RTS "Configuration..." menu item). This will disable equivalence declaration type checking.

Use of equivalences provides the designer with compile time checking of actor compatibility. In the target environment, and with unrestricted importation, there is no equivalence type checking. Under these circumstances, an imported actor reference may contain an imported actor reference.

Important Notes:

This note explains how to avoid "static equivalence declarations" and some of their restrictions. By not using equivalences some useful compatibility checks will also not be performed.


Limitations:

Top

None


See also:

Top

ObjecTime 5.0 Toolset Guide page 132
ObjecTime 4.3 Toolset Guide page 129


 

Copyright © 1999, ObjecTime Limited.