Summary
You can now compile and run the program to test its behavior. If you wish, you can compile and run the file step3/program.cpp. This file implements the tutorial as described, and also adds a few extra hints and probable optimizations that you may want to perform. You will notice that the temperature rises and falls as in the program at the end of step 2. In addition however, you can adjust the acceleration rate with the slider-like object to the right of the thermometer.
The mechanism described enables the easy implementation of user-interfaces while preserving strong encapsulation of application objects. It becomes possible with this design to completely separate the implementation of the functional core from the user interface and have them evolve separately, once a common interface has been agreed upon and group mediators have been defined. In the samples/protos directory several other mechanisms to integrate BGOs in your application are shown to let you find the one that best suits your needs.
Version 6.2.1
Copyright © 2018, Rogue Wave Software, Inc. All Rights Reserved.