TTDeadline
Deadline handling for TTPyton
- class ticktalkpython.Deadline.TTDeadline(clock, interval)
TTDeadline
objects are used as part of awith...
construct to annotate anSQ
with deadline information. EachSQ
tagged with aTTDeadline
must only be so tagged within the context of aTTPlanB
handler.- Parameters:
clock (TTClock) – the clock to be used in implementing this deadline
interval (int) – the number of ticks of
clock
that indicates the maximum time that can elapse before a deadline violation is signalled