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 |
---|---|
java.util.Collection<ModuleConfig> |
getAvailableModules()
Gets the list of all modules handled by this manager
that are configured but not yet loaded (i.e.
|
java.util.Collection<ModuleType> |
getLoadedModules()
Gets the list of all modules handled by this manager
that are already loaded (i.e.
|
ModuleType |
getModuleById(java.lang.String moduleID)
Retrieves a module instance by its local ID
|
boolean |
isModuleLoaded(java.lang.String moduleID) |
java.util.Collection<ModuleType> getLoadedModules()
boolean isModuleLoaded(java.lang.String moduleID)
moduleID
- local ID of modulejava.util.Collection<ModuleConfig> getAvailableModules()
ModuleType getModuleById(java.lang.String moduleID) throws SensorHubException
moduleID
- Id of module to retrieveSensorHubException
- if no module with given ID can be found