swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Probing: notification of target


From: Sven N. Thommesen
Subject: Probing: notification of target
Date: Fri, 23 Jan 1998 14:09:21 -0600

All:

I have just gone through all the docs for probes in the 1.0.5 docs, and I
don't see the immediate answer to a question I have, so I pass it on to the
list in the hopes that someone has thought about this before:

Say I have a standard GUI probemap on the ModelSwarm open during execution.
Say I alter a data value using the probe display. This will alter the
relevant data field in the swarm object, but does the swarm object become
cognizant of the fact that a change has taken place? Let's say that if a
certain variable is altered, the ModelSwarm needs to propagate the change
to other objects, or perhaps to destroy or create objects. How do I notify
the target of a probe that a value has been changed ? (*)

As far as I can see, there is no builtin mechanism for this. I *could*
define special messages on the target swarm to be used only by probes, but
then I would need an object that would send those messages, and I'd need a
gui probe on *that* object, and then the question is how does *that* object
notice that a data variable has changed ...

I'm stumped!

--Sven

(*) I'm looking for the objective-C version of 'tell his lawyer' :-)


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.
                  ==================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]