Package org.sensorhub.api.sensor
Class SensorConfig
java.lang.Object
org.sensorhub.api.module.ModuleConfigBase
org.sensorhub.api.module.ModuleConfig
org.sensorhub.api.sensor.SensorConfig
- All Implemented Interfaces:
Cloneable
Configuration options for sensors/actuators
- Since:
- Nov 5, 2010
-
Field Summary
FieldsFields inherited from class org.sensorhub.api.module.ModuleConfig
autoStart, description, id
Fields inherited from class org.sensorhub.api.module.ModuleConfigBase
moduleClass, name
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis method must be overriden to give access to static sensor location provided in specific sensor configurationThis method must be overriden to give access to static sensor orientation provided in specific sensor configurationGets the URL of the SensorML template.
If thesensorML
field is not a URL, it is interpreted as a relative path relative to the config class.Methods inherited from class org.sensorhub.api.module.ModuleConfig
clone
-
Field Details
-
sensorML
@DisplayInfo(label="SensorML URL", desc="URL of SensorML file providing the base description of the sensor") public String sensorML -
lastUpdated
@DisplayInfo(desc="Time at which the SensorML description was last updated") public Date lastUpdated
-
-
Constructor Details
-
SensorConfig
public SensorConfig()
-
-
Method Details
-
getSensorDescriptionURL
Gets the URL of the SensorML template.
If thesensorML
field is not a URL, it is interpreted as a relative path relative to the config class.- Returns:
- URL of template SensorML description
-
getLocation
This method must be overriden to give access to static sensor location provided in specific sensor configuration- Returns:
- null in the default implementation
-
getOrientation
This method must be overriden to give access to static sensor orientation provided in specific sensor configuration- Returns:
- null in the default implementation
-