Foundry.DeviceManager¶
- Subclasses:
None
Methods¶
- Inherited:
Foundry.Service (8), Foundry.Contextual (4), GObject.Object (37), Json.Serializable (8), Gio.ListModel (4)
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
GObject.Object (7), Json.Serializable (5), Gio.ListModel (3)
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r/w/en |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.DeviceManager(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Manage plugins providing device integration and their devices.
- dup_device()¶
- Returns:
a
Foundry.DeviceorNone- Return type:
Gets the active device to build for.
Typically this is a
Foundry.LocalDeviceunless targeting a non-local device.
- find_device(device_id)¶
- Parameters:
device_id (
str) – an identifier matching aFoundry.Device:id- Returns:
a
Foundry.DeviceorNone- Return type:
Looks through available devices to find one matching device_id.
- set_device(device)¶
- Parameters:
device (
Foundry.Device) –
Property Details¶
- Foundry.DeviceManager.props.device¶
- Name:
device- Type:
- Default Value:
- Flags: