[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reprise: interface declaration
From: |
Marcus G. Daniels |
Subject: |
Re: reprise: interface declaration |
Date: |
12 Oct 2000 09:33:36 -0700 |
User-agent: |
Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4 |
>>>>> "PJ" == Paul E Johnson <address@hidden> writes:
PJ> So I don't see any way to avoid including ModelSwarm.h in the
PJ> agent file, but I worry that the problem Daniel ran into might
PJ> someday happen to me.
PJ> What in his example was causing the trouble?
File A includes the ModelSwarm header which includes File A and File
A', a subclass. So File A does not finish getting defined before the
subclass is introduced.
PJ> My ModelSwarm.[hm] has a method in it called "getAgentList: (int) x"
PJ> and whenever an agent needs to know who is in his "group", he
PJ> tells the model swarm to give it to him.
Asking who is in *your* group? Is the ModelSwarm a church or something?
==================================
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.