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 VariablesudiThe unique device identifier (type: str )
interfaceHAL interface for this device (type: dbus.proxies.Interface -> org.Freedesktop.Hal.Device )
propertiesThe HAL properties of this device (type: dict )
parent_propertiesThe HAL properties of the parent device of this device (type: dict )
protocol_testthe 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
251 Method _find_protocol_test Undocumented
258 Class Method _get_interface_from_udi 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
def _find_protocol_test(self):
Undocumented
@classmethod
def _get_interface_from_udi(klass, udi, bus):
Undocumented
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.