rwlogo
SourcePro C++ 12.0

SourcePro® C++ API Reference Guide



   SourcePro C++
Documentation Home

RWModelClient Class Reference
[Miscellaneous]

Implements the "View" leg of a Model-View-Controller architecture. More...

#include <rw/model.h>

Inheritance diagram for RWModelClient:
RWCollectable

List of all members.

Public Member Functions

virtual void updateFrom (RWModel *p, void *d)=0

Detailed 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.

Synopsis

 #include <rw/model.h>
 (abstract base class)

Persistence

None


Member Function Documentation

virtual void RWModelClient::updateFrom ( RWModel p,
void *  d 
) [pure virtual]

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().
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.