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;
48 valueobject PropertiesChangedEvent extends
idl.Event {
54 valueobject DeviceChangedEvent extends
idl.Event {
Interface describing a controllable fuse for a device port.
Definition: PortFuse.idl:17
Port interface.
Definition: Port.idl:18
Properties getProperties()
Get the current properties of the port.
PortFuse getFuse()
Get the fuse for this port.
Object newDevice
Connected device after change.
Definition: Port.idl:56
Object getDevice()
Get the connected device of the port.
DetectionType
Port detection type.
Definition: Port.idl:26
@ AUTO
auto detection of connected devices
Definition: Port.idl:27
@ PINNED
port is pinned to a specific device type
Definition: Port.idl:28
int setDetectionMode(in DetectionMode mode)
Set the detection mode for the port.
vector< string > getDetectableDevices()
Get all detectable devices of this port.
void setName(in string name)
NOT USED RIGHT NOW!
Object getDeviceConfig(in string deviceType)
Get device type specific configuration interface.
Properties newProperties
Properties after change.
Definition: Port.idl:50
Basic IDL definitions.
Definition: Event.idl:10
Ports.
Definition: Port.idl:15
Port detection mode.
Definition: Port.idl:33
DetectionType type
detection type: auto or pinned
Definition: Port.idl:34
string pinnedDeviceType
contains specific device type in pinned mode, not used for auto
Definition: Port.idl:35
Port properties.
Definition: Port.idl:39
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
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