Package lepl :: Package core :: Module monitor :: Class ValueMonitor
[hide private]
[frames] | no frames]

Class ValueMonitor

source code


An interface expected by trampoline(), called to track data flow.
Instance Methods [hide private]
 
next_iteration(self, epoch, value, exception, stack)
Called at the start of each iteration.
source code
 
before_next(self, generator)
Called before invoking next on a generator.
source code
 
after_next(self, value)
Called after invoking next on a generator.
source code
 
before_throw(self, generator, value)
Called before invoking throw on a generator.
source code
 
after_throw(self, value)
Called after invoking throw on a generator.
source code
 
before_send(self, generator, value)
Called before invoking send on a generator.
source code
 
after_send(self, value)
Called after invoking send on a generator.
source code
 
exception(self, value)
Called when an exception is caught (instead of any 'after' method).
source code
 
raise_(self, value)
Called before raising an exception to the caller.
source code
 
yield_(self, value)
Called before yielding a value to the caller.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__