CMvcViewport::SetModel

voidCMvcViewport::SetModel(ModelClass*pModel)

Assign a model to the viewport.

Defined in: MvcViewport.h

Return Value

void

Parameters

pModel

Pointer to model to assign to the viewport.

Comments

Adds the viewport as an observer to the model. Also, pass the model to the controller by calling  CMvcController::SetModel.