Subject 3I "29 June 1989" "InterViews" "InterViews Reference Manual"

Table of contents


NAME

Subject - object with interactive views

SYNOPSIS

#include

DESCRIPTION

A subject is an object that has one or more views that it wishes to notify when it changes.

PUBLIC OPERATIONS

virtual void Attach(Interactor*)
virtual void Detach(Interactor*)
Add or remove an interactor from the subject's list of views.
virtual void Notify()
Call Update on all the views attached to the subject. Update is a virtual function defined on interactors.
void DeleteViews()
Delete all the views attached to a subject.

SEE ALSO

Interactor(3I)