SimPy.SimulationTrace.Process

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

## Type Process

    object --+
             |
        Lister --+
                 |
                Process

Known Subclasses:
  `Consumer`, `ConsumerPrincL`, `ConsumerPrincS`, `ConsumerWidget`, `FireEvent`, `FireEvent`, `Interrupted`, `Interruptor`, `Job`, `JobEvt`, `JobEvt`, `JobEvtMulti`, `JobEvtMulti`, `JobTO`, `JobTO`, `JobTO_P`, `Observer1`, `Observer2`, `P`, `Producer`, `ProducerPrincL`, `ProducerPrincS`, `ProducerWidget`, `PS1`, `PS2`, `QueueProcess`, `QueueProcessOR`, `QueueProcessOR1`, `Signaller`, `SignalProcess`, `SignalProcessOR`, `Waiter`, `WaitProcess`, `WaitProcessOR`, `WaitProcessOR1`

Superclass of classes which may use generator functions

Method Summary
| `__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)`
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
Inherited from Lister
`int` | `indent` = 0

Method Details

### acquired(self, res) Tests whether resource res was acquired when proces reactivated. If yes, the parallel wakeup process is killed. If not, process is removed from res' waitQ (reneging).

### 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

### interruptReset(self) Application function for an interrupt victim to get out of 'interrupted' state.

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