Device Class
This is the base class for all classes representing hardware devices on the current machine. The only parts of the public interface of this class that you can use on an instance of this class are the properties WindowsDevices and wRTOSDevices. All others exist solely to be inherited.
Inheritance Hierarchy
System.Object
IntervalZero.MaxRT.wRTOS.wRTOSObject
IntervalZero.MaxRT.wRTOS.Config.Device
IntervalZero.MaxRT.wRTOS.Config.wRTOSDevice
IntervalZero.MaxRT.wRTOS.Config.WindowsDevice
Namespace:
IntervalZero.MaxRT.wRTOS.Config
Assembly:
IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.1.0)
Syntax
public class Device : wRTOSObject, IConfigDevice
The Device class exposes the following members.
Properties
| Name | Description | |
|---|---|---|
|
|
Returns the Class GUID string of this device. This property is read-only. |
|
|
|
Returns the Plug-and-Play Friendly Name string for this device. This property is read-only. |
|
|
|
Returns the Plug-and-Play instance ID string for this device. See the MSDN Library for details about instance IDs. This property is read-only. |
|
|
|
Returns the Plug-and-Play hardware ID string for this device. This property is read-only. See http://msdn.microsoft.com/en-us/library/ff541224.aspx for information about hardware IDs. This property is read-only. |
|
|
|
True if the object has been disposed, false otherwise. (Inherited from wRTOSObject.) |
|
|
|
Return true if this object is out-of-date with respect to the hardware device that it represents, false if not. When this property returns true, this object should be disposed of immediately and should not be used for any purpose. Once this property returns true, it will never again return false for the current object. If an attempt is made to use this object when property OutOfDate is true, an exception of type wRTOSDeviceOutOfDateException is thrown. This property is read-only. |
|
|
|
Returns true if this device is currently owned by a real-time operating system, false if it is owned by Windows. This property is read-only. |
|
|
|
Returns the PCI bus location for this device as a string of the form "X;Y;Z", where X, Y, and Z are non-negative integers. If this device has no PCI bus location, this property's value is the empty string. |
|
|
|
Returns an array of wRTOSDevice objects, each representing one Plug-and-Play device owned by wRTOS at the time of the call. The contents of the returned array can become out-of-date if a wRTOS-owned device is later converted to Windows ownership. After successful conversion of ownership to Windows, re-reading this property will supply an up-to-date array of wRTOS-owned devices. This property is read-only. |
Methods
| Name | Description | |
|---|---|---|
|
|
Dispose method. (Inherited from wRTOSObject.) |
|
|
|
Called when a property is changed (Inherited from wRTOSObject.) |
Events
| Name | Description | |
|---|---|---|
|
|
Event Fired when a property value is changed (Inherited from wRTOSObject.) |
See Also: