swarm-support
[Top][All Lists]
Advanced

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

Re: Questions on probes and inheritance


From: Marcus G. Daniels
Subject: Re: Questions on probes and inheritance
Date: 14 Oct 2000 12:55:30 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "DA" == David Aliaga <address@hidden> writes:

DA> 2) I have another object called "theWorld" of class "Mundo2d"
DA> subclass of a Grid2d object, that also have some instance
DA> variables I would like to display. I tried to make a probe:

DA>  probeWorld= [EmptyProbeMap createBegin: aZone];
DA>  [probeWorld setProbedClass: [Mundo2d class]];
DA>   probeWorld = [probeMap createEnd];

DA> But I got the following message:

DA> *** event raised for warning: WarningMessage
DA> *** function: _i_ProbeMap__addProbe_(), file:
DA> /src/Swarm/swarm/src/objectbase/ProbeMap.m, line: 508
DA> Probe not added to ProbeMap because Mundo2d is not a
DA> superclass of ModelSwarm

One problem is that you are sending -createEnd to probeMap, not probeWorld.


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