Click or drag to resize

IDeviceManager Interface

Represents the interface that provides functionalities to manage plugins of type devices.

Namespace: RAYLASE.Marker.Device
Assembly: RAYLASE.Marker.Device (in RAYLASE.Marker.Device.dll) Version: 2.19.0
Syntax
C#
public interface IDeviceManager : IDisposable

The IDeviceManager type exposes the following members.

Properties
 NameDescription
Public propertyDevices The list of managed devices.
Top
Methods
 NameDescription
Public methodAddChain Adds chained controls between a transmitting device and a receiving device. Each activated feature types of the receiver will be connected to the transmitter if supported.
Public methodAddDevice(Metadata) Creates a device of from given metadata.
Public methodAddDevice(String, Type) Adds a new device to the managed devices.
Public methodCloneDevice Clones a device.
Public methodGenerateUniqueDeviceNameT Returns a unique name for the device type, given a prefix.
Public methodGetChainMap Returns the current device chain map. See DeviceCoordinator for its structure.
Public methodGetDevice(String) Retrieves the plugin instance of a given device name.
Public methodGetDevice(Type, String) Retrieves the plugin instance of a given device type and device name.
Public methodHasChain Checks whether a device controller supports any of the given chainable features.
Public methodLoadConfiguration Loads a given saved file and creates the corresponding device configuration. Missing items will be reported back in the return value.
Public methodRemoveChain Removes a chained control between a transmitting device and a receiving device for all feature types.
Public methodRemoveDevice Removes a managed device.
Public methodSaveConfiguration Saves the device configuration to a given file path.
Public methodSetupChain Sets up a device chain from a given device chain map.
Top
Events
 NameDescription
Public eventDevicesChanged The event that is raised whenever there is a change to the device list due to addition, insertion, or deletion.
Top
See Also