Read-write or read-only modes
The read-write mode
When you are in the design phase, your are designing the structure file or setting values is some user data files, you have the role of integrator or operator. Then you need to have access to all the datas, even those which are hidden or disabled.
In this phase, the configuration shall be in RW
mode.
- read-write
In the read-write mode (RW mode), all settings are accessible and can be modified. For example, a variable which has the
frozen
property can be modified. Ahidden
ordisabled
variable is accessible.We are in the rôle of an integrator or an operator. We are therefore in a situation where we are using this configuration.
The read-only mode
Once the configuration has beed designed, it is used. The situation is different. The configuration behaves as a system.
- read-only
In the read-only mode (RO mode), the configuration cannot be modified. We are using a configuration.
In the usage mode, we are therefore in a situation where the configuration cannot be changed. The configuration’s data are immutable.
RO or RW mode?
Here is an image which summarizes these explanations:
