"Savoy, Elizabeth S" <[EMAIL PROTECTED]> writes:
> How can I add a delay to a path that is
> passing a message, or specifically a STRING?
If I recall correctly, a delay on a path passing particles of type Foo
requires that there be a corresponding FooState class, which can hold
the initial-particle values. (For instance, delays on Float arcs work
because there is a FloatState class.)
That was a long time ago; now you might actually need a FooArrayState to
hold multiple values. Or maybe the system will make an array for you.
In any case, you can't put a delay on a path carrying user-defined-type
particles unless you have a corresponding State class. That would
probably be a tad difficult for particle types derived from Message,
since a MessageState class would probably need to support all possible
Message types. You might be better off to promote your private particle
type into a full-fledged particle type that's not derived from Message.
regards, tom lane
----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list. Please send administrative
mail for this list to: [EMAIL PROTECTED]