Package SimPy :: Module testSimPyTraceOO :: Class Consumer |
[hide private]
[frames] | no frames]

# Class Consumer

source code

       object --+
                |
    Lister.Lister --+
                    |
          Lib.Process --+
                        |
                       Consumer

Instance Methods | [hide private]
__init__(self, name=`'````'`, sim=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
consume(self, buffer) FIFO | source code
consume1(self, buffer) producer PriorityQ, consumer FIFO | source code
consumePriority(self, buffer, priority) PriorityQ for Consumers | source code
Inherited from `Lib.Process`: `acquired`, `active`, `cancel`, `interrupt`, `interruptReset`, `interrupted`, `passive`, `queuing`, `start`, `stored`, `terminated` Inherited from `Lib.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]

### __init__(self, name=`'````'`, sim=None) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)