1 2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3 <html><head><title>Python: module telemetry.timeline.bounds</title> 4 <meta charset="utf-8"> 5 </head><body bgcolor="#f0f0f8"> 6 7 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> 8 <tr bgcolor="#7799ee"> 9 <td valign=bottom> <br> 10 <font color="#ffffff" face="helvetica, arial"> <br><big><big><strong><a href="telemetry.html"><font color="#ffffff">telemetry</font></a>.<a href="telemetry.timeline.html"><font color="#ffffff">timeline</font></a>.bounds</strong></big></big></font></td 11 ><td align=right valign=bottom 12 ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="../telemetry/timeline/bounds.py">telemetry/timeline/bounds.py</a></font></td></tr></table> 13 <p><tt># Copyright 2014 The Chromium Authors. All rights reserved.<br> 14 # Use of this source code is governed by a BSD-style license that can be<br> 15 # found in the LICENSE file.</tt></p> 16 <p> 17 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 18 <tr bgcolor="#ee77aa"> 19 <td colspan=3 valign=bottom> <br> 20 <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> 21 22 <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> 23 <td width="100%"><dl> 24 <dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> 25 </font></dt><dd> 26 <dl> 27 <dt><font face="helvetica, arial"><a href="telemetry.timeline.bounds.html#Bounds">Bounds</a> 28 </font></dt></dl> 29 </dd> 30 </dl> 31 <p> 32 <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> 33 <tr bgcolor="#ffc8d8"> 34 <td colspan=3 valign=bottom> <br> 35 <font color="#000000" face="helvetica, arial"><a name="Bounds">class <strong>Bounds</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> 36 37 <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> 38 <td colspan=2><tt>Represents a min-max bounds.<br> </tt></td></tr> 39 <tr><td> </td> 40 <td width="100%">Methods defined here:<br> 41 <dl><dt><a name="Bounds-AddBounds"><strong>AddBounds</strong></a>(self, bounds)</dt></dl> 42 43 <dl><dt><a name="Bounds-AddEvent"><strong>AddEvent</strong></a>(self, event)</dt></dl> 44 45 <dl><dt><a name="Bounds-AddValue"><strong>AddValue</strong></a>(self, value)</dt></dl> 46 47 <dl><dt><a name="Bounds-Contains"><strong>Contains</strong></a>(self, other)</dt></dl> 48 49 <dl><dt><a name="Bounds-ContainsInterval"><strong>ContainsInterval</strong></a>(self, start, end)</dt></dl> 50 51 <dl><dt><a name="Bounds-Intersects"><strong>Intersects</strong></a>(self, other)</dt></dl> 52 53 <dl><dt><a name="Bounds-Reset"><strong>Reset</strong></a>(self)</dt></dl> 54 55 <dl><dt><a name="Bounds-__init__"><strong>__init__</strong></a>(self)</dt></dl> 56 57 <dl><dt><a name="Bounds-__repr__"><strong>__repr__</strong></a>(self)</dt></dl> 58 59 <hr> 60 Static methods defined here:<br> 61 <dl><dt><a name="Bounds-CompareByMinTimes"><strong>CompareByMinTimes</strong></a>(a, b)</dt></dl> 62 63 <dl><dt><a name="Bounds-CreateFromEvent"><strong>CreateFromEvent</strong></a>(event)</dt></dl> 64 65 <dl><dt><a name="Bounds-GetOverlap"><strong>GetOverlap</strong></a>(first_bounds_min, first_bounds_max, second_bounds_min, second_bounds_max)</dt></dl> 66 67 <dl><dt><a name="Bounds-GetOverlapBetweenBounds"><strong>GetOverlapBetweenBounds</strong></a>(first_bounds, second_bounds)</dt><dd><tt>Compute the overlap duration between first_bounds and second_bounds.</tt></dd></dl> 68 69 <hr> 70 Data descriptors defined here:<br> 71 <dl><dt><strong>__dict__</strong></dt> 72 <dd><tt>dictionary for instance variables (if defined)</tt></dd> 73 </dl> 74 <dl><dt><strong>__weakref__</strong></dt> 75 <dd><tt>list of weak references to the object (if defined)</tt></dd> 76 </dl> 77 <dl><dt><strong>bounds</strong></dt> 78 </dl> 79 <dl><dt><strong>center</strong></dt> 80 </dl> 81 <dl><dt><strong>is_empty</strong></dt> 82 </dl> 83 <dl><dt><strong>max</strong></dt> 84 </dl> 85 <dl><dt><strong>min</strong></dt> 86 </dl> 87 </td></tr></table></td></tr></table> 88 </body></html>