public interface ISensorManager extends IModuleManager<ISensorModule<?>>
Management interface for sensors connected to the system
Modifier and Type | Method and Description |
---|---|
ISensorModule<?> |
findSensor(java.lang.String uid)
Helper method to find a sensor by its global UID (instead of its localID)
|
java.util.Collection<ISensorModule<?>> |
getConnectedSensors()
Helper method to get the list of connected sensors only
|
java.util.Collection<IModuleProvider> |
getInstalledSensorDrivers() |
java.lang.String |
installDriver(java.lang.String driverPackageURL,
boolean replace)
Installs a driver package (jar file) from the specified URL
|
void |
uninstallDriver(java.lang.String driverID)
Uninstalls the driver with the specified ID
|
getAvailableModules, getLoadedModules, getModuleById, isModuleLoaded
ISensorModule<?> findSensor(java.lang.String uid)
uid
- global unique identifier of sensor (= SensorML UID)java.util.Collection<ISensorModule<?>> getConnectedSensors()
java.lang.String installDriver(java.lang.String driverPackageURL, boolean replace)
driverPackageURL
- URL of jar containing implementation of new driverreplace
- if true, an older version of the same driver will be replacedvoid uninstallDriver(java.lang.String driverID)
driverID
- java.util.Collection<IModuleProvider> getInstalledSensorDrivers()