page9
Design
- specify public interface
- specify internal data
- specify RT actions
Now we proceed in the same way for our setting-field “randomNumberMax”, in order to give the client write-access to it..
This time we start with the actions, in order to use the auto-completion feature.
Again we choose implementation = “default”. So we don't need to provide own C++ code for this action.
A setting-property can be written by a client with “Set” or re-read via “Get”.
Note that now you can choose the get- and set-actions from a list, because we defined the actions in advance.