swarm-support
[Top][All Lists]
Advanced

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

Dropping or cleaning a schedule


From: Rob Kewley
Subject: Dropping or cleaning a schedule
Date: Tue, 24 Jun 1997 09:37:16 -0300

This note is reference my help request of 23 June in which I had trouble
dropping or cleaning a schedule to start a new iteration of a
simulations.  I think I found a 90% solution on my own, but I do one
outstanding question.  While the schedule is active, I can send the
message:
  [getCurrentScheduleActivity () terminate];

This stops the  activity controlling the schedule.  I can then drop all
activities on the schedule  with the message:
  [dynSchedule removeAll];

I then add the initial activities to the schedule and activate it again
in the model swarm.

This solves my problem.  However, I would ideally like  to control the
termination of the schedule activity from a message invoked in the
observer swarm.  However, the message:
  [getCurrentScheduleActivity() terminate];
will not work because the observer swarm messages are activated by an
activity executing a display schedule in the observer swarm.  Is there a
way for a schedule object to reveal the activities controlling it.  I
could then send a terminate to those activities from the observer
swarm.  Also, I seem to have trouble reactivating a schedule in the
modelswarm from the observer swarm.  Is there a way to do this?  Or do I
have to always do it from the model swarm.

Thanks

Rob Kewley

                  ==================================
   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]