Package mosp_examples :: Module exit_wiggler :: Class WigglerExit
[hide private]
[frames] | no frames]

Class WigglerExit

source code


The demo exit location.

People entering this location/exit will change their color, sleep, wake up and move on.


Author: B. Henne

Instance Methods [hide private]
 
__init__(self, name, sim)
Inits the demo exit location.
source code
 
interact(self, person, duration=600)
Wiggler interacting with this location sleeps for duration seconds and changes his color.
source code

Inherited from mosp.locations.Location: leave, serve, visit

Inherited from SimPy.Lib.Process: acquired, active, cancel, interrupt, interruptReset, interrupted, passive, queuing, start, stored, terminated

Inherited from SimPy.Lib.Process (private): _hold, _passivate

Inherited from SimPy.Lister.Lister: __repr__, __str__, attrnames

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]

Inherited from SimPy.Lister.Lister: indent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, sim)
(Constructor)

source code 

Inits the demo exit location.

Overrides: object.__init__

interact(self, person, duration=600)

source code 

Wiggler interacting with this location sleeps for duration seconds and changes his color.

Overrides: mosp.locations.Location.interact