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

Class Buffer

source code

   object --+    
            |    
Lister.Lister --+
                |
               Buffer
Known Subclasses:

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.Lib.FIFO'>, getQType=<class 'SimPy.Lib.FIFO'>, monitored=False, monitorType=<class 'SimPy.Recording.Monitor'>, initialBuffered=None, sim=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

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.Lib.FIFO'>, getQType=<class 'SimPy.Lib.FIFO'>, monitored=False, monitorType=<class 'SimPy.Recording.Monitor'>, initialBuffered=None, sim=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)