I am trying to build a GOOP Switch. For my purposes, I am defining
a "Switch" as an object that has multiple inputs and outputs that can
be connected together. Any given Switch can contain one or
many "child" switches internal to itself that serve to make the
connections between their parent's inputs and outputs. I would like to
make a single abstract object which can be used to create both parent
and child switches.
I believe this object could be modeled after the "Composite" design
pattern as seen in the book Design Patterns (Erich Gamma, Richard Helm,
Ralph Johnson, John Vlissides, Grady Booch). I'm almost positive that
there are also a number of other design patterns that would be
beneficial to use to
create the switch and find a path between inputs
and outputs of a switch.
Does anyone have GOOP objects that demonstrate some of the fundamental
design patterns?
A "proxy" object example on www.endevo.com
http://www.endevo.com/eng/goop/goop.html was very helpful for my last
project so I thought I'd ask the newsgroup to see if there's any
additional example code out there.
Thanks,
Brian
Sent via Deja.com
http://www.deja.com/