SimPy.SimulationTrace.SimEvent

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

## Type SimEvent

    object --+
             |
        Lister --+
                 |
                SimEvent

Supports one-shot signalling between processes. All processes waiting for an event to occur get activated when its occurrence is signalled. From the processes queuing for an event, only the first gets activated.

Method Summary
| `__init__(self, name)`
| ``signal`(self, param)` Produces a signal to self; Fires this event (makes it occur).
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

### signal(self, param=None) Produces a signal to self; Fires this event (makes it occur). Reactivates ALL processes waiting for this event. (Cleanup waits lists of other events if wait was for an event-group (OR).) Reactivates the first process for which event(s) it is queuing for have fired. (Cleanup queues of other events if wait was for an event-group (OR).)

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