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

# Class SimulationTrace

source code

               object --+
                        |
    Simulation.Simulation --+
                            |
                           SimulationTrace

Instance Methods | [hide private]
__init__(self) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code
initialize(self) | source code
_post(self, what, at, prior=False) Post an event notice for process what for time at | source code
activate(self, obj, process, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) Application function to activate passive process. | source code
reactivate(self, obj, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) Application function to reactivate a process which is active, suspended or passive. | source code
_terminate(self, process) Marks a process as terminated. | source code
simulate(self, until=0) Start the simulation and run its loop until the timeout ``until`` is reached, stopSimulation is called, or no more events are scheduled. | source code
Inherited from `Simulation.Simulation`: `allEventNotices`, `allEventTimes`, `has_events`, `now`, `peek`, `startCollection`, `step`, `stopSimulation` Inherited from `Simulation.Simulation` (private): `_unpost`, `_waitUntilFunc` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__str__`

Class Variables | [hide private]
Inherited from `Simulation.Simulation` (private): `_commandcodes`, `_commandwords`, `_dispatch`

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

Method Details | [hide private]

### __init__(self) (Constructor) | source code
x.__init__(...) initializes x; see x.__class__.__doc__ for signature Overrides: object.__init__ (inherited documentation)

### initialize(self) | source code
Overrides: Simulation.Simulation.initialize

### _post(self, what, at, prior=False) | source code
Post an event notice for process what for time at Overrides: Simulation.Simulation._post (inherited documentation)

### activate(self, obj, process, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) | source code
Application function to activate passive process. Overrides: Simulation.Simulation.activate (inherited documentation)

### reactivate(self, obj, at=`'``undefined``'`, delay=`'``undefined``'`, prior=False) | source code
Application function to reactivate a process which is active, suspended or passive. Overrides: Simulation.Simulation.reactivate (inherited documentation)

### _terminate(self, process) | source code
Marks a process as terminated. Overrides: Simulation.Simulation._terminate (inherited documentation)

### simulate(self, until=0) | source code
Start the simulation and run its loop until the timeout ``until`` is reached, stopSimulation is called, or no more events are scheduled. Overrides: Simulation.Simulation.simulate (inherited documentation)