Package SimPy :: Module SimulationTrace :: Class Trace

[hide private]
[frames] | no frames]

# Class Trace

source code

       object --+
                |
    Lister.Lister --+
                    |
                   Trace

Instance Methods | [hide private]

__init__(self, start=0, end=10000000000, toTrace=`[``'``hold``'``,` `'``activate``'``,` `'``cancel``'``,` `'``reactivate``'``,` `'``passivate``'``,` `'``req``...`, outfile=sys.stdout, sim=None) x.__init__(...) initializes x; see x.__class__.__doc__ for signature | source code

treset(self) | source code

tchange(self, **kmvar) | source code

tstart(self) | source code

tstop(self) | source code

ifTrace(self, cond) | source code

recordEvent(self, command, whole) | source code

recordInterrupt(self, who, victim) | source code

recordCancel(self, who, victim) | source code

recordActivate(self, who, when, prior) | source code

recordReactivate(self, who, when, prior) | source code

recordSignal(self, evt) | source code

tterminated(self, who) | source code

ttext(self, par) | source code

Inherited from `Lister.Lister`: `__repr__`, `__str__`, `attrnames` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Methods | [hide private]

thold(self, par) | source code

trequest(self, par) | source code

trelease(self, par) | source code

tpassivate(self, par) | source code

tactivate(self, par) | source code

twaitevent(self, par) | source code

tqueueevent(self, par) | source code

tsignal(self, evt) | source code

twaituntil(self, par) | source code

tget(self, par) | source code

tput(self, par) | source code

Class Variables | [hide private]

| commands = ``{`1`:` `'``hold``'``,` 2`:` `'``passivate``'``,` 3`:` `'``request``'``,` 4`:` `'``relea``...``
| commandsproc = ``{`1`:` <bound method type.thold of <class 'SimPy.S`...``
Inherited from `Lister.Lister`: `indent`

Properties | [hide private]

Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, start=0, end=10000000000, toTrace=`[``'``hold``'``,` `'``activate``'``,` `'``cancel``'``,` `'``reactivate``'``,` `'``passivate``'``,` `'``req``...`, outfile=sys.stdout, sim=None)
(Constructor)

source code

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

Overrides: object.__init__
  (inherited documentation)

Class Variable Details | [hide private]

### commands

Value:

      {1: 'hold',
       2: 'passivate',
       3: 'request',
       4: 'release',
       5: 'waitevent',
       6: 'queueevent',
       7: 'waituntil',
       8: 'get',
      ...

### commandsproc

Value:

      {1: <bound method type.thold of <class 'SimPy.SimulationTrace.Trace'>>
      ,
       2: <bound method type.tpassivate of <class 'SimPy.SimulationTrace.Tra
      ce'>>,
       3: <bound method type.trequest of <class 'SimPy.SimulationTrace.Trace
      '>>,
       4: <bound method type.trelease of <class 'SimPy.SimulationTrace.Trace
      '>>,
      ...