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.
CANNOT_INIT_MSG, CANNOT_LOAD_MSG, CANNOT_START_MSG, CANNOT_STOP_MSG, CANNOT_UPDATE_MSG
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,? extends ISensorDataInterface> |
getAllOutputs()
Retrieves the list of interfaces to all sensor data outputs
|
java.util.Map<java.lang.String,? extends ISensorControlInterface> |
getCommandInputs()
Retrieves the list of interface to sensor command inputs
|
AbstractPhysicalProcess |
getCurrentDescription()
Retrieves most current sensor description.
|
java.util.Map<java.lang.String,? extends ISensorDataInterface> |
getObservationOutputs()
Retrieves the list of interface to sensor observation outputs
|
java.util.Map<java.lang.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
java.util.Map<java.lang.String,? extends ISensorDataInterface> getAllOutputs()
getAllOutputs
in interface IDataProducerModule<ConfigType extends SensorConfig>
java.util.Map<java.lang.String,? extends ISensorDataInterface> getStatusOutputs()
java.util.Map<java.lang.String,? extends ISensorDataInterface> getObservationOutputs()
java.util.Map<java.lang.String,? extends ISensorControlInterface> getCommandInputs()
boolean isConnected()