Member Functions |
updateFrom() |
#include <rw/model.h> (abstract base class)
This abstract base class has been designed to implement the "View" leg of a Model-View-Controller architecture. Class RWModel, supplies the "Model" leg. See class RWModel for details.
None
virtual void updateFrom(RWModel* p, void* d) = 0;
Deriving classes should supply an appropriate definition for this pure virtual function. The overall semantics of the definition should be to update self from the data presented by the object pointed to by p. That is, self is considered a dependent of the object pointed to by p. The pointer d is available to pass client data. Note: changes to the client list must not happen during a call to updateFrom().