next up previous contents
Next: View registration Up: Controllers Previous: Controllers   Contents

Model registration

By default, a controller is also an Observer (see below) of the corresponding Model, even when there is nothing to observe, or when the controller is interested in observing nothing within the model.

Registration occurs automatically. If the observation is not wanted, the derived controller can call method unregister_model from the instance constructor, to unregister itself.



Roberto Cavada 2008-08-26