Re: [linux-audio-dev] Re: MVC

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: MVC
From: Tim Hockin (thockin_AT_hockin.org)
Date: Mon May 12 2003 - 22:12:10 EEST


> >Does the model keep a list of views and call back to them?
> >for each view do
> > view->update(me);
> >done

> Model::changed () {
> for each registered callback {
> callback->execute ();
> }
> }

OK, this is (more or less) what I said. Different actors, same concept. I
guess the granularity for callbacks would be finer that "tell me when the
model has changed" and more like "tell me when the foo of the model has
changed"?

Tim


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon May 12 2003 - 22:35:16 EEST