Proposed for review
restrict_observer_access - Global variable to determine how access to properties of observer object is handled
Certain classes are considered observers and have the PC_OBSERVER pass control flag set. Object of these classes should not be accessed by other objects. Doing so would violate the theory of operation and could lead to potential problems with model consistence and simulation stability.
There is not restriction or warning about violations of the access rule.
Violations of the access rule are reported as a warning. This is useful for detecting potential problems with the model. This is the default value.
Violations of the access rule are reported as an error. This is useful for protecting against potential problems with the model.