Re: [Bluemusic-devel] FlowGraph - Opcodes?
Brought to you by:
kunstmusik
From: sokratesla <ugu...@gm...> - 2006-02-07 20:42:33
|
On 2/7/06, Steven Yi <ste...@gm...> wrote: > Hi Ugur and all, > > I'm checking out the code that's going into CVS but am still confused > about the need for an Opcode class. I think the Unit class should be > enough to handle the abstraction of a single opcode or group of > orchestra code. > steven # Instead of having an array for opcode names, and an array of Ports in the Unit, and finding out a way to link the opcodes with the related opcode, I think, having an Opcode class which knows its output and inputs ports and having a Unit which have an array of Opcodes is easier to implement? Its very unnecessary when the Unit have only one opcode but I thought that makes the life easier when there are more than one opcodes, which may use the same Port etc. # I surmised that it makes the structure more clear. Do you think that this classification unnecessary? -ugur- |