java.lang.Object | |
↳ | com.commsignia.v2x.client.model.LdmFilter |
Represents an LDM filter in a filter set.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LdmFilter()
Create an empty LDM filter
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
LdmFilter |
clearObjectTypeFilter()
Clears the LDM object type filter values.
| ||||||||||
LdmFilter |
clearPositionAndDistanceFilters()
Clears the position and distance filters to none.
| ||||||||||
LdmFilter |
disableFullDetail()
Disable full detail on this filter.
| ||||||||||
LdmFilter |
disableHighFrequencyCAM()
Disable high frequency CAM reception.
| ||||||||||
LdmFilter |
enableFullDetail()
Enable full detail on this filter.
| ||||||||||
LdmFilter |
enableHighFrequencyCAM()
Enable high frequency CAM reception.
| ||||||||||
LdmFilter |
excludeLocalLDMs()
Exclude local LDMs when this filter is applied
| ||||||||||
PrimaryCause |
getCauseTypeFilter()
Returns the cause type used by this filter.
| ||||||||||
Double |
getDistanceFilter(LengthUnit unit)
Returns the distance filter value in meters.
| ||||||||||
LdmSubscriptionLocal |
getLocalSubscriptionFlag()
Returns the LDM subscription local flag.
| ||||||||||
Set<LdmObjectType> |
getObjectTypeFilter()
Returns the object type filter values.
| ||||||||||
PositionFilter |
getPositionFilter()
Get the current position filter.
| ||||||||||
StationType |
getStationTypeFilter()
Returns the station type filter value.
| ||||||||||
boolean |
hasDistanceFilter()
Returns true if the distance filter has been set, false otherwise
| ||||||||||
boolean |
hasPositionFilter()
Returns true if the position filter has been set
| ||||||||||
LdmFilter |
includeLocalLDMs()
Include local LDMs when this filter is applied
| ||||||||||
LdmFilter |
includeOnlyLocalLDMs()
Include local LDMs *ONLY* when this filter is applied
| ||||||||||
boolean |
isFullDetail()
Returns the value of the full detail filter criteria
| ||||||||||
boolean |
isHighFrequencyCAM()
Returns true if high frequency CAM reception is enabled.
| ||||||||||
LdmFilter |
setCauseTypeFilter(PrimaryCause cause)
Sets the cause type filter.
| ||||||||||
LdmFilter |
setDistanceFilter(double distanceFilter, LengthUnit distanceFilterUnit)
Set a filter for distance from the current location.
| ||||||||||
LdmFilter |
setObjectTypeFilter(LdmObjectType... ldmObjectFilters)
Specifies the LDM object types to filter for.
| ||||||||||
LdmFilter |
setPositionFilter(int latitude, int longitude, int semiAxisA, int semiAxisB, ShapeType shapeType)
Set the position filter.
| ||||||||||
LdmFilter |
setStationTypeFilter(StationType stationType)
Sets the station type filter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create an empty LDM filter
Clears the LDM object type filter values.
Clears the position and distance filters to none.
Disable full detail on this filter.
Disable high frequency CAM reception.
Enable full detail on this filter.
Enable high frequency CAM reception.
Exclude local LDMs when this filter is applied
Returns the cause type used by this filter.
Returns the distance filter value in meters.
Returns the LDM subscription local flag.
Returns the object type filter values.
Get the current position filter.
Returns the station type filter value.
Returns true if the distance filter has been set, false otherwise
Returns true if the position filter has been set
Include local LDMs when this filter is applied
Include local LDMs *ONLY* when this filter is applied
Returns the value of the full detail filter criteria
Returns true if high frequency CAM reception is enabled.
Sets the cause type filter.
cause | cause type |
---|
Set a filter for distance from the current location. Use distanceFilter OR positionFilter, NEVER use both of them.
IllegalStateException | if position filter option is enabled |
---|
Specifies the LDM object types to filter for.
ldmObjectFilters | list of ldm object types |
---|
Set the position filter. Use distanceFilter OR positionFilter, NEVER use both of them.
latitude | Latitude of center point of shape |
---|---|
longitude | Longitude of center point of shape |
semiAxisA | semi axis A of shape |
semiAxisB | semi axis B of shape |
shapeType | Shape type |
IllegalStateException | if distance filter option is enabled |
---|
Sets the station type filter.
stationType | station type |
---|