swarm-support
[Top][All Lists]
Advanced

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

FCallImpl


From: Fred Wan
Subject: FCallImpl
Date: Fri, 29 Dec 2000 22:11:53 +0100

Hi,

In jHeatBugs there is a call to FCallImpl:

    try {
      Heatbug proto = (Heatbug) heatbugList.get (0);
      Selector sel =
        new Selector (proto.getClass (), "heatbugStep", false);
      actionForEach =
        modelActions.createFActionForEachHomogeneous$call
        (heatbugList,
         new FCallImpl (this, proto, sel,
                        new FArgumentsImpl (this, sel, true)));
    } catch (Exception e) {
      e.printStackTrace (System.err);
    }

The creation of the object proto is somewhat puzzling. It seems that a
prototype of the objects in the heatbuglist is created by popping the first
object from the list. Since it is a call to createFActionForEachHomogeneous
this object is identical to the other objects in the list. However, its
function is unclear to me and the reference guide is very brief about it.
Could you please provide some clarification?

Thanks,
Fred Wan,
Vrije Universiteit Amsterdam,
The Netherlands.


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