Package elisa :: Package plugins :: Package hal :: Module hal :: Class HALVolumeModel

Class HALVolumeModel

source code


HAL based implementation of VolumeModel.

Does not provide any functionality for now, only have a reference to the underlying HALDevice in .device.

Instance Methods
 
__init__(self, udi=None, hal_device=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code

Inherited from extern.log.log.Loggable: debug, doLog, error, info, log, logFunction, logObjectName, warning, warningFailure

Inherited from object: __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__, __subclasshook__

    Inherited from base.models.device.DeviceModel
 
__eq__(self, other) source code
 
__ne__(self, other) source code
elisa.core.utils.defer.Deferred
eject(self)
Eject the device.
source code
    Inherited from core.utils.bindable.Bindable
 
__delattr__(self, attribute)
x.__delattr__('name') <==> del x.name
source code
 
__setattr__(self, attribute, new_value)
x.__setattr__('name', value) <==> x.name = value
source code
 
bind(self, attribute, destination_object, destination_attribute)
Bind a local attribute to destination_attribute of destination_object.
source code
 
unbind(self, attribute, destination_object, destination_attribute)
Remove the binding of attribute to destination_attribute of destination_object.
source code
 
unbind_object(self, destination_object)
Remove all the bindings you have for a certain destination_object.
source code
Class Variables

Inherited from extern.log.log.Loggable: logCategory

Instance Variables
    Inherited from base.models.device.VolumeModel
elisa.core.media_uri.MediaUri mount_point
the path to access it
    Inherited from base.models.device.DeviceModel
str device
string to identify the device (on linux /dev/something)
str name
(optional) human-recognisable name of the device
str protocol
the protocol to access this device (like dvd or cdda)
str udi
the unique id for that device
    Inherited from core.components.model.Model
elisa.core.action.ContextualAction default_action
Default action for this item instance.
list of elisa.core.action.ContextualAction extra_actions
Extra actions for this item instance.
Properties

Inherited from object: __class__

Method Details

__init__(self, udi=None, hal_device=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
Overrides: object.__init__