[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two actions at one time in schedule breaks next
From: |
Marcus G. Daniels |
Subject: |
Re: Two actions at one time in schedule breaks next |
Date: |
27 Nov 2000 14:11:44 -0800 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "TTF" == Tee Toth-Fejel <address@hidden> writes:
TTF> how do I get the time of the swarm.activity.ActionToImpl and
TTF> ActionConcurrent_c instances?
Actions don't have a time. Activities do have a time, and it is the
position of an index in the activity over a Schedule. You can look at
the local structure of a Schedule using a your own index, and send
getKey to that index. The problem is that getKey returns an object.
In Objective C it is common to casually cast between objects and
integers, however, in Java you'd need an integer. There is actually
a special ScheduleIndex for Schedules, but its additional features aren't
exposed to Java. You'd need to declare a protocol for that and some
a scheduleBegin: method that returned one.
TTF> Also, I need to be able to determine the last action in a
TTF> concurrent group, and if it is not a "pause", add another "pause"
TTF> to the end of group at a particular time unit.
To expose methods on ActionConcurrent_c, you'd have to make a protocol
for ActionConcurrent on the Objective C side, with a
setTypeImplemented entry in activity.m. Then you'd need a new method
in ActionConcurrent_c to give you that action.
==================================
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.
- Re: Two actions at one time in schedule breaks next, (continued)
- RE: Two actions at one time in schedule breaks next, Steve Brophy, 2000/11/20
- RE: Two actions at one time in schedule breaks next, Steve Brophy, 2000/11/20
- RE: Two actions at one time in schedule breaks next, Tee Toth-Fejel, 2000/11/21
- RE: Two actions at one time in schedule breaks next, Steve Brophy, 2000/11/22
- RE: Two actions at one time in schedule breaks next, Tee Toth-Fejel, 2000/11/27
- Re: Two actions at one time in schedule breaks next,
Marcus G. Daniels <=
- RE: Two actions at one time in schedule breaks next, Tee Toth-Fejel, 2000/11/28