From: Bill Z. <wrz...@po...> - 2005-03-19 22:57:18
|
Joe Emenaker wrote: > If it's well-received, then I can go make some small changes in the > widgets and param-models and then move on with my driver. If it's > *not* well-received, then I'm going to have to sub-class every widget > and param-model that I want to use so that it works with my data-model > design that I'm using for my driver. Ah, I just thought that was one of your many proposals. I don't understand your complaint though; you never need to subclass widgets, and you need to write lots of IParamModel classes anyway. Since you want to decode and encode your sysex all at once, you need to extend IPatch, not Patch. You can then hide your byte array, and require all access to go through getByte, getInt, etc. I believe Driver is the place where you'd instantiate your new patch class. You're other suggestion make for an interesting new design (and I'm guessing the XML package is going that way) but aren't critical to your current driver. -Bill |