Package SimPy :: Module testSimPy :: Class Producer
[show private | hide private]
[frames | no frames]

Type Producer

object --+        
         |        
    Lister --+    
             |    
       Process --+
                 |
                Producer


Method Summary
  produce(self, buffer)
  produce1(self, buffer)
  producePriority(self, buffer, priority)
PriorityQ for Producers
    Inherited from Process
  __init__(self, name)
  acquired(self, res)
Tests whether resource res was acquired when proces reactivated.
  active(self)
  cancel(self, victim)
Application function to cancel all event notices for this Process instance;(should be all event notices for the _generator_).
  interrupt(self, victim)
Application function to interrupt active processes
  interrupted(self)
  interruptReset(self)
Application function for an interrupt victim to get out of 'interrupted' state.
  passive(self)
  queuing(self, resource)
  terminated(self)
  _hold(self, a)
  _passivate(self, a)
    Inherited from Lister
  __repr__(self)
  __str__(self)
  attrnames(self)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value

Class Variable Summary
int produced = 0                                                                     
    Inherited from Lister
int indent = 0                                                                     

Method Details

producePriority(self, buffer, priority)

PriorityQ for Producers

Class Variable Details

produced

Type:
int
Value:
0                                                                     

Generated by Epydoc 2.1 on Wed Jun 14 14:32:41 2006 http://epydoc.sf.net