SensorType
- public abstract class DefaultLocationOutput<SensorType extends ISensorModule<?>> extends AbstractSensorOutput<SensorType>
Default location output for sensor drivers outputing their own location.
Modifier and Type | Field and Description |
---|---|
protected net.opengis.swe.v20.DataComponent |
outputStruct |
protected double |
updatePeriod |
ERROR_NO_STORAGE, eventHandler, latestRecord, latestRecordTime, name, parentSensor
Constructor and Description |
---|
DefaultLocationOutput(SensorType parentSensor,
double updatePeriod) |
Modifier and Type | Method and Description |
---|---|
double |
getAverageSamplingPeriod()
Gets the average rate at which this interface produces data.
|
String |
getName()
Gets this output interface name.
|
net.opengis.swe.v20.DataEncoding |
getRecommendedEncoding()
Provides the recommended encoding for records produced by this interface.
|
net.opengis.swe.v20.DataComponent |
getRecordDescription()
Retrieves the definition of records produced by this interface.
|
protected abstract void |
updateLocation(double time,
double x,
double y,
double z) |
clearAllRecords, getAllRecords, getLatestRecord, getLatestRecords, getLatestRecordTime, getNumberOfAvailableRecords, getParentModule, getStorageCapacity, init, isEnabled, isStorageSupported, registerListener, stop, unregisterListener
protected net.opengis.swe.v20.DataComponent outputStruct
protected double updatePeriod
public DefaultLocationOutput(SensorType parentSensor, double updatePeriod)
public String getName()
ISensorDataInterface
It MUST be the name reported in the map by getXXXOutputs methods
of ISensorModule
getName
in interface IStreamingDataInterface
getName
in interface ISensorDataInterface
getName
in class AbstractSensorOutput<SensorType extends ISensorModule<?>>
ISensorModule.getAllOutputs()
public net.opengis.swe.v20.DataComponent getRecordDescription()
IStreamingDataInterface
Note that this is usually sent by reference and MUST not be modified
by the caller. If you really need to modify it, first get an independent
copy using DataComponent.copy()
public net.opengis.swe.v20.DataEncoding getRecommendedEncoding()
IStreamingDataInterface
Note that this is usually sent by reference and MUST not be modified
by the caller. If you really need to modify it, first get an independent
copy using DataEncoding.copy()
public double getAverageSamplingPeriod()
IStreamingDataInterface
protected abstract void updateLocation(double time, double x, double y, double z)
Copyright © 2015 Sensia Software LLC. All rights reserved.