com.inscoper.api.DeviceDescription¶
DeviceDescription class provides device information coming from drivers. More...
Public Functions¶
| Name | |
|---|---|
| synchronized void | delete() |
| DeviceDescription() Default constructor. |
|
| String | getDescription() Get the description of the device. |
| void | setDescription(String description) Set the description of the device. |
| String | getVersion() Get the version of the device driver. |
| void | setVersion(String version) Set the version of the device driver. |
| String | getBrand() Get the brand of the device. |
| void | setBrand(String brand) Set the brand of the device. |
| String | getModel() Get the model of the device. |
| void | setModel(String model) Set the model of the device. |
| String | getReleaseDate() Get the release date of the device driver. |
| void | setReleaseDate(String releaseDate) Set the release date of the device driver. |
| String | getAuthor() Get the author of the device driver. |
| void | setAuthor(String author) Set the author of the device driver. |
| String | getChangeLog() Get the change log of the device driver. |
| void | setChangeLog(String changeLog) Set the change log of the device driver. |
| EDriverType | getDriverType() Get the driver type of the device. |
| void | setDriverType(EDriverType driverType) Set the driver type of the device. |
| boolean | isInitialized() Return whether the device is initialized or not. |
| void | setInitialized(boolean initialized) Set the status of the initialization of the device. |
| void | addSubDeviceDescription(SubDeviceDescription subDeviceDescription) Add a sub-device description to the device. |
| SubDeviceDescriptionVector | getSubDeviceDescriptionList() Get the sub-device description list. |
| void | setSubDeviceDescriptionList(SubDeviceDescriptionVector subDeviceDescriptionList) Set the sub-device description list. |
| SubDeviceDescription | getSubDeviceDescription(int subDeviceTag) Get sub-device description by tag. |
| void | addParamsDescription(ParamDescription paramsDescription) Add a parameter description to the device. |
| ParamDescription | getParamsDescription(int paramTag) Get the parameter description by tag. |
| ParamDescriptionVector | getParamsDescriptionList() Get the list of parameter descriptions. |
| void | setParamDescriptionList(ParamDescriptionVector paramDescriptionList) Set the list of parameter descriptions. |
| DriverDescription | getDriverDescription() Get the driver description. |
| void | setDriverDescription(DriverDescription driverDescription) Set the driver description. |
Protected Functions¶
| Name | |
|---|---|
| DeviceDescription(long cPtr, boolean cMemoryOwn) | |
| void | swigSetCMemOwn(boolean own) |
| void | finalize() |
| long | getCPtr(DeviceDescription obj) |
Detailed Description¶
DeviceDescription class provides device information coming from drivers.
This class holds comprehensive information about a device as reported by its driver, including version, brand, model, author, change log, and associated sub-devices and parameters.
Public Functions Documentation¶
function delete¶
function DeviceDescription¶
Default constructor.
Initializes a new instance of the DeviceDescription class.
function getDescription¶
Get the description of the device.
Return: The description of the device
Retrieves the textual description of the device.
function setDescription¶
Set the description of the device.
Parameters:
- description : The description of the device
Sets the textual description of the device.
function getVersion¶
Get the version of the device driver.
Return: The version of the device driver
Retrieves the version of the device driver.
function setVersion¶
Set the version of the device driver.
Parameters:
- version : The version of the device driver
Sets the version of the device driver.
function getBrand¶
Get the brand of the device.
Return: The brand of the device
Retrieves the brand name of the device.
function setBrand¶
Set the brand of the device.
Parameters:
- brand : The brand of the device
Sets the brand name of the device.
function getModel¶
Get the model of the device.
Return: The model of the device
Retrieves the model name of the device.
function setModel¶
Set the model of the device.
Parameters:
- model : The model of the device
Sets the model name of the device.
function getReleaseDate¶
Get the release date of the device driver.
Return: The release date of the device driver
Retrieves the release date of the device driver.
function setReleaseDate¶
Set the release date of the device driver.
Parameters:
- releaseDate : The release date of the device driver
Sets the release date of the device driver.
function getAuthor¶
Get the author of the device driver.
Return: The author of the device driver
Retrieves the author of the device driver.
function setAuthor¶
Set the author of the device driver.
Parameters:
- author : The author of the device driver
Sets the author of the device driver.
function getChangeLog¶
Get the change log of the device driver.
Return: The change log of the device driver
Retrieves the change log history of the device driver.
function setChangeLog¶
Set the change log of the device driver.
Parameters:
- changeLog : The change log of the device driver
Sets the change log history of the device driver.
function getDriverType¶
Get the driver type of the device.
Return: The driver type of the device
Retrieves the type of driver controlling this device.
function setDriverType¶
Set the driver type of the device.
Parameters:
- driverType : The driver type of the device
Sets the type of driver controlling this device.
function isInitialized¶
Return whether the device is initialized or not.
Return: True if the device is initialized, false otherwise
Checks if the device has been successfully initialized.
function setInitialized¶
Set the status of the initialization of the device.
Parameters:
- initialized : True if the device must be initialized
Updates the initialization status of the device.
function addSubDeviceDescription¶
Add a sub-device description to the device.
Parameters:
- subDeviceDescription : The sub-device description to add
Appends a sub-device description to the device's list of sub-device descriptions.
function getSubDeviceDescriptionList¶
Get the sub-device description list.
Return: The sub-device description list
Retrieves the list of sub-device descriptions associated with this device.
function setSubDeviceDescriptionList¶
Set the sub-device description list.
Parameters:
- subDeviceDescriptionList : The new sub-device description list
Replaces the current list of sub-device descriptions with a new one.
function getSubDeviceDescription¶
Get sub-device description by tag.
Parameters:
- subDeviceTag : The tag of the sub-device description
Return: The sub-device description if found, nullptr otherwise
Retrieves the sub-device description corresponding to the given tag.
function addParamsDescription¶
Add a parameter description to the device.
Parameters:
- paramsDescription : The parameter description to add
Appends a parameter description to the device's list of parameter descriptions.
function getParamsDescription¶
Get the parameter description by tag.
Parameters:
- paramTag : The tag of the parameter description
Return: The parameter description if found, nullptr otherwise
Retrieves the parameter description corresponding to the given tag.
function getParamsDescriptionList¶
Get the list of parameter descriptions.
Return: The list of parameter descriptions
Retrieves the list of parameter descriptions associated with this device.
function setParamDescriptionList¶
Set the list of parameter descriptions.
Parameters:
- paramDescriptionList : The new list of parameter descriptions
Replaces the current list of parameter descriptions with a new one.
function getDriverDescription¶
Get the driver description.
Return: The driver description
Retrieves the description of the driver associated with this device.
function setDriverDescription¶
Set the driver description.
Parameters:
- driverDescription : The driver description
Sets the description of the driver associated with this device.
Protected Functions Documentation¶
function DeviceDescription¶
function swigSetCMemOwn¶
function finalize¶
function getCPtr¶
Updated on 2026-04-02 at 10:55:37 +0200