Controller to connect and coordinate simulations.
|
|
|
|
|
connect_to(self,
sim)
Connect to sim and exchange simulation information. |
source code
|
|
|
|
|
|
|
sims_bySocket(self)
Get simulations by socket. |
source code
|
|
|
|
send(self,
socket,
msg)
Send a message to a socket. |
source code
|
|
|
|
receive(self,
sock)
Receive the next message(-blob) from a socket. |
source code
|
|
|
|
cut_msgs(self,
msgsblob)
Cut a message blob into seperate messages and messages into fields. |
source code
|
|
|
|
|
|
|
|
|
|
do_steps(self,
byName,
bySocket,
steps=1)
Tell all simulations to do a number of steps. |
source code
|
|
|
|
|
|
|
run(self,
until)
Run the simulations for a given number of ticks. |
source code
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|