# Class e.p.h.h.HALDevice(object):

Part of elisa.plugins.hal.hal View In Hierarchy

Represents an easy wrapper for a HAL device, its properties and parent properties.

Instance Variables | udi | The unique device identifier (type: `str` )
| interface | HAL interface for this device (type: `dbus.proxies.Interface` -> `org.Freedesktop.Hal.Device` )
| properties | The HAL properties of this device (type: `dict` )
| parent_properties | The HAL properties of the parent device of this device (type: `dict` )
| protocol_test | the protocol test that matched for this device (type: ProtocolTest )

Line # | Kind | Name | Docs
--- | --- | --- | ---
125 | Method | __init__ | Don't use this directly, use create() instead, or your device will
137 | Class Method | create | Returns a deferred that will return a new HALDevice instance.
160 | Method | needs_mounting | Undocumented
163 | Method | wait_for_mount | Returns a deferred that will be fired when a mount_point is set, or in
203 | Method | is_ignored | Undocumented
206 | Method | is_removable | Undocumented
213 | Method | filter | Undocumented
229 | Method | create_model | Undocumented
248 | Method | is_known_device | Undocumented

def __init__(self, udi, bus):
Don't use this directly, use create() instead, or your device will be incomplete.

@classmethod
def create(klass, udi, bus):
Returns a deferred that will return a new HALDevice instance.

def needs_mounting(self):
Undocumented
def wait_for_mount(self, timeout):
Returns a deferred that will be fired when a mount_point is set, or in timeout seconds, whichever happens first. This should not be called more than once in the lifetime of a HALDevice.

def is_ignored(self):
Undocumented
def is_removable(self):
Undocumented
def filter(self, filters):
Undocumented
def create_model(self):
Undocumented
def is_known_device(self):
Undocumented