Tools.h++ Manual
21-144 104011 Tandem Computers Incorporated
21
RWModelClient
Synopsis #include <rw/model.h>
(abstract base class)
Description 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.
Public member function
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.