ConfigType
- public interface ISensorModule<ConfigType extends SensorConfig> extends IDataProducerModule<ConfigType>, IEventProducer
Interface to be implemented by all sensor drivers connected to the system.
Inputs/Output should always be created in the init() method even if they are
further modified during or after startup.
Modifier and Type | Method and Description |
---|---|
Map<String,? extends ISensorDataInterface> |
getAllOutputs()
Retrieves the list of interfaces to all sensor data outputs
|
Map<String,? extends ISensorControlInterface> |
getCommandInputs()
Retrieves the list of interface to sensor command inputs
|
AbstractPhysicalProcess |
getCurrentDescription()
Retrieves most current sensor description.
|
Map<String,? extends ISensorDataInterface> |
getObservationOutputs()
Retrieves the list of interface to sensor observation outputs
|
Map<String,? extends ISensorDataInterface> |
getStatusOutputs()
Retrieves the list of interface to sensor status outputs
|
boolean |
isConnected()
Returns the sensor connection status.
This method must do whatever it can to really detect the presence of the sensor. |
getCurrentFeatureOfInterest
cleanup, getConfiguration, getCurrentError, getCurrentState, getLocalID, getName, getStatusMessage, init, init, isInitialized, isStarted, loadState, registerListener, requestInit, requestStart, requestStop, saveState, setConfiguration, start, stop, unregisterListener, updateConfig, waitForState
getLastDescriptionUpdate, getUniqueIdentifier
AbstractPhysicalProcess getCurrentDescription()
getCurrentDescription
in interface IModuleWithDescription
Map<String,? extends ISensorDataInterface> getAllOutputs()
getAllOutputs
in interface IDataProducerModule<ConfigType extends SensorConfig>
Map<String,? extends ISensorDataInterface> getStatusOutputs()
Map<String,? extends ISensorDataInterface> getObservationOutputs()
Map<String,? extends ISensorControlInterface> getCommandInputs()
boolean isConnected()
Copyright © 2016 Sensia Software LLC. All rights reserved.