DeviceManager Class¶
Namespace: id3.Devices
Definition¶
class DeviceManager
class DeviceManager implements Finalizable
public static partial class DeviceManager
public class DeviceManager implements AutoCloseable, Serializable
Usage¶
deviceManagerInstance = id3devices.DeviceManager()
Explicit destruction
# ...
del deviceManagerInstance
final deviceManagerInstance = sdk.DeviceManager();
// ...
Explicit destruction
// ...
deviceManagerInstance.dispose()
DeviceManager.Initialize();
Explicit destruction
deviceManagerInstance.Dispose()
try (DeviceManager deviceManagerInstance = new DeviceManager()) {
// ...
}
Explicit destruction
DeviceManager deviceManagerInstance = new DeviceManager();
// ...
deviceManagerInstance.close();
Properties¶
Name  | 
Type  | 
Description  | 
|---|---|---|
Callback for when a new device is added to the system.  | 
||
Maintains a list of all device channels currently in use.  | 
||
int  | 
Indicates the total number of devices currently active or open.  | 
|
int  | 
Reflects the number of device models currently recognized by the system.  | 
|
Provides a list of all loaded device models.  | 
||
Callback for when a device is removed from the system.  | 
||
Contains information on different device types managed by the system.  | 
||
bool  | 
Toggles the plug-and-play process for device detection and management.  | 
|
Lists all plugins loaded into the system.  | 
Methods¶
Name  | 
Description  | 
|---|---|
Adds a search path for locating device plugins.  | 
|
Verifies the existence of a specified device model within the system, providing a mechanism to determine if a device model is recognized and managed by the device manager.  | 
|
Prepares the device manager for operation, optionally initializing an internal message loop.  | 
|
Executes pending messages in the message loop, applicable when the internal message loop is disabled.  | 
|
Releases resources associated with a loaded plugin.  | 
|
Fetches a device object by its ID.  | 
|
Retrieves a list of all devices managed by the system.  | 
|
Gets devices filtered by a specific type.  | 
|
Retrieves the connection link for a specified device.  | 
|
Gets the model name of a device.  | 
|
Obtains the name of a device given its ID.  | 
|
Retrieves the type for a specified device.  | 
|
Loads a device plugin into the manager.  | 
|
(C++) Notifies the device manager about specific events occurring for a device, such as state changes or significant operational updates  | 
|
(C++) Serves as a notification mechanism within the device manager to signal that the list of devices has been updated  | 
|
(C++): Incorporates a new device model into the device manager’s registry, enabling the system to recognize and interact with devices of this model  | 
|
(C++/dotnet): Sends a command directly to a device.  | 
|
(C++/dotnet): Dispatches a command to a specific device model.  | 
|
(C++): Defines or updates the description of a plugin within the device manager framework  | 
|
(C++): Assigns a version number to a plugin, typically called during the plugin’s initialization phase  | 
|
Activates the manager and begins the plug-and-play detection process.  | 
|
Deactivates the manager, halting plug-and-play operations.  | 
|
(C++) Removes a previously registered device model from the device manager’s registry  |