1 2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 3<html><head><title>Python: module telemetry.internal.platform.device</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.internal.html"><font color="#ffffff">internal</font></a>.<a href="telemetry.internal.platform.html"><font color="#ffffff">platform</font></a>.device</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/internal/platform/device.py">telemetry/internal/platform/device.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.internal.platform.device.html#Device">Device</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="Device">class <strong>Device</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>A base class of devices.<br> 39A device instance contains all the necessary information for constructing<br> 40a platform backend <a href="__builtin__.html#object">object</a> for remote platforms.<br> 41 <br> 42Attributes:<br> 43 name: A device name string in human-understandable term.<br> 44 guid: A unique id of the device. Subclass of device must specify this<br> 45 id properly so that device objects to a same actual device must have same<br> 46 guid.<br> </tt></td></tr> 47<tr><td> </td> 48<td width="100%">Methods defined here:<br> 49<dl><dt><a name="Device-__init__"><strong>__init__</strong></a>(self, name, guid)</dt></dl> 50 51<hr> 52Class methods defined here:<br> 53<dl><dt><a name="Device-GetAllConnectedDevices"><strong>GetAllConnectedDevices</strong></a>(cls, blacklist)<font color="#909090"><font face="helvetica, arial"> from <a href="__builtin__.html#type">__builtin__.type</a></font></font></dt></dl> 54 55<hr> 56Data descriptors defined here:<br> 57<dl><dt><strong>__dict__</strong></dt> 58<dd><tt>dictionary for instance variables (if defined)</tt></dd> 59</dl> 60<dl><dt><strong>__weakref__</strong></dt> 61<dd><tt>list of weak references to the object (if defined)</tt></dd> 62</dl> 63<dl><dt><strong>guid</strong></dt> 64</dl> 65<dl><dt><strong>name</strong></dt> 66</dl> 67</td></tr></table></td></tr></table> 68</body></html>