Package SimPy :: Module testSimPyTrace :: Class ConsumerWidget

[hide private]
[frames] | no frames]

# Class ConsumerWidget

source code

             object --+
                      |
          Lister.Lister --+
                          |
    SimulationTrace.Process --+
                              |
                             ConsumerWidget

Instance Methods | [hide private]

`` | consume(self, buffer) FIFO
`` | consume1(self, buffer) producer PriorityQ, consumer FIFO
`` | consumePriority(self, buffer, priority) PriorityQ for Consumers
`` | consumeSorted(self, buffer, gotten)

Inherited from `SimulationTrace.Process`: `__init__`, `acquired`, `active`, `cancel`, `interrupt`, `interruptReset`, `interrupted`, `passive`, `queuing`, `stored`, `terminated`

Inherited from `SimulationTrace.Process` (private): `_hold`, `_passivate`

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

Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Variables | [hide private]

`` | consumed = `0`
Inherited from `Lister.Lister`: `indent`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### consume(self, buffer)

source code

FIFO

### consume1(self, buffer)

source code

producer PriorityQ, consumer FIFO

### consumePriority(self, buffer, priority)

source code

PriorityQ for Consumers

### consumeSorted(self, buffer, gotten)

source code

None

Class Variable Details | [hide private]

### consumed

None

  Value:

        0