6 #ifndef __PORTSMODEL_PORT_IDL__
7 #define __PORTSMODEL_PORT_IDL__
10 #include <PortFuse.idl>
21 constant
int NO_ERROR = 0;
22 constant
int ERR_INVALID_PARAM = 1;
23 constant
int ERR_DEVICE_BUSY = 2;
Interface describing a controllable fuse for a device port.
Definition: PortFuse.idl:17
Port interface.
Definition: Port.idl:18
Object getDeviceConfig(in string deviceType)
Get device type specific configuration interface.
DetectionType
Port detection type.
Definition: Port.idl:26
@ PINNED
port is pinned to a specific device type
Definition: Port.idl:28
@ AUTO
auto detection of connected devices
Definition: Port.idl:27
vector< string > getDetectableDevices()
Get all detectable devices of this port.
Object getDevice()
Get the connected device of the port.
void setName(in string name)
NOT USED RIGHT NOW!
int setDetectionMode(in DetectionMode mode)
Set the detection mode for the port.
Properties getProperties()
Get the current properties of the port.
PortFuse getFuse()
Get the fuse for this port.
Basic IDL definitions.
Definition: Event.idl:10
Ports.
Definition: Port.idl:15
Common base for all events.
Definition: Event.idl:13
Port detection mode.
Definition: Port.idl:33
string pinnedDeviceType
contains specific device type in pinned mode, not used for auto
Definition: Port.idl:35
DetectionType type
detection type: auto or pinned
Definition: Port.idl:34
Event: The device connected to the port has changed.
Definition: Port.idl:54
Object oldDevice
Connected device before change.
Definition: Port.idl:55
Object newDevice
Connected device after change.
Definition: Port.idl:56
Event: The port properties have changed.
Definition: Port.idl:48
Properties newProperties
Properties after change.
Definition: Port.idl:50
Properties oldProperties
Properties before change.
Definition: Port.idl:49
Port properties.
Definition: Port.idl:39
DetectionMode mode
detection mode
Definition: Port.idl:42
string label
label on device
Definition: Port.idl:41
string detectedDeviceType
detected device type or empty if nothing connected
Definition: Port.idl:43
string name
user defineable name - NOT USED RIGHT NOW!
Definition: Port.idl:40
string detectedDeviceName
detected device name or empty if nothing connected
Definition: Port.idl:44