Package SimPy :: Module SimulationTrace :: Class Buffer |
[hide private]
[frames] | no frames]

# Class Buffer

source code

       object --+
                |
    Lister.Lister --+
                    |
                   Buffer

Known Subclasses:
  Level, Store

Abstract class for buffers Blocks a process when a put would cause buffer overflow or a get would cause buffer underflow. Default queuing discipline for blocked processes is FIFO.

Instance Methods | [hide private]
`` | __init__(self, name=None, capacity="unbounded", unitName="units", putQType=<class 'SimPy.SimulationTrace.FIFO'>, getQType=<class 'SimPy.SimulationTrace.FIFO'>, monitored=False, monitorType=<class 'SimPy.SimulationTrace.Monitor'>, initialBuffered=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Inherited from `Lister.Lister`: `__repr__`, `__str__`, `attrnames` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Variables | [hide private]
`` | priorityDefault = `0`
Inherited from `Lister.Lister`: `indent`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, name=None, capacity="unbounded", unitName="units", putQType=<class 'SimPy.SimulationTrace.FIFO'>, getQType=<class 'SimPy.SimulationTrace.FIFO'>, monitored=False, monitorType=<class 'SimPy.SimulationTrace.Monitor'>, initialBuffered=None) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

Class Variable Details | [hide private]

    ### priorityDefault None Value:
        0