ModuleType
- public interface IModuleManager<ModuleType extends IModule<?>>
Base interface for all module managers. Module managers are used to manage all modules of the same type
Modifier and Type | Method and Description |
---|---|
List<ModuleConfig> |
getAvailableModules()
Gets the list of all modules handled by this manager
that are configured but not yet loaded (i.e.
|
List<ModuleType> |
getLoadedModules()
Gets the list of all modules handled by this manager
that are already loaded (i.e.
|
ModuleType |
getModuleById(String moduleID)
Retrieves a module instance by its local ID
|
boolean |
isModuleLoaded(String moduleID) |
List<ModuleType> getLoadedModules()
boolean isModuleLoaded(String moduleID)
moduleID
- local ID of moduleList<ModuleConfig> getAvailableModules()
ModuleType getModuleById(String moduleID) throws SensorHubException
moduleID
- Id of module to retrieveSensorHubException
Copyright © 2015 Sensia Software LLC. All rights reserved.