Restrict observer access

restrict_observer_access - Global variable to determine how access to properties of observer object is handled

Synopsis

 * 1) set restrict_observer_access=WARNING

Description
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.

NONE
There is not restriction or warning about violations of the access rule.

WARNING
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.

ERROR
Violations of the access rule are reported as an error. This is useful for protecting against potential problems with the model.

Version
The restrict_observer_access was proposed in.