Class: NMEAPlus::Message::AIS::VDMPayload::SubAreaAnchored
- Inherits:
-
SubAreaScaled
- Object
- Payload
- SubArea
- SubAreaScaled
- NMEAPlus::Message::AIS::VDMPayload::SubAreaAnchored
- Defined in:
- lib/nmea_plus/message/ais/vdm_payload/sub_area.rb
Overview
SubArea structure base type for a region anchored to a point
Instance Attribute Summary collapse
-
#latitude ⇒ Object
readonly
The field defined by the 24 bits starting at payload bit 30, formatted with the function Payload#_I(60 * 10**3, 91, ).
-
#longitude ⇒ Object
readonly
The field defined by the 25 bits starting at payload bit 5, formatted with the function Payload#_I(60 * 10**3, 181, ).
-
#precision ⇒ Object
readonly
The field defined by the 3 bits starting at payload bit 54, formatted with the function Payload#_u(, , ).
Attributes inherited from SubAreaScaled
Attributes inherited from SubArea
Attributes inherited from Payload
#fill_bits, #payload_bitstring
Method Summary
Methods inherited from Payload
#_2b_data_string, #_6b_ascii, #_6b_boolean, #_6b_integer, #_6b_integer_scaled, #_6b_integer_scaled_shifted, #_6b_negated_boolean, #_6b_string, #_6b_string_nullterminated, #_6b_unsigned_integer, #_6b_unsigned_integer_scaled, #_6b_unsigned_integer_scaled_shifted, #_8b_data_string, #_access, #_bit_slices, #_get_date_mdhm, #_object_by_name, #initialize, payload_reader
Constructor Details
This class inherits a constructor from NMEAPlus::Message::AIS::VDMPayload::Payload
Instance Attribute Details
#latitude ⇒ Object (readonly)
Returns The field defined by the 24 bits starting at payload bit 30, formatted with the function Payload#_I(60 * 10**3, 91, ).
44 |
# File 'lib/nmea_plus/message/ais/vdm_payload/sub_area.rb', line 44 payload_reader :latitude, 30, 24, :_I, 60 * 10**3, 91 |
#longitude ⇒ Object (readonly)
Returns The field defined by the 25 bits starting at payload bit 5, formatted with the function Payload#_I(60 * 10**3, 181, ).
43 |
# File 'lib/nmea_plus/message/ais/vdm_payload/sub_area.rb', line 43 payload_reader :longitude, 5, 25, :_I, 60 * 10**3, 181 |
#precision ⇒ Object (readonly)
Returns The field defined by the 3 bits starting at payload bit 54, formatted with the function Payload#_u(, , ).
45 |
# File 'lib/nmea_plus/message/ais/vdm_payload/sub_area.rb', line 45 payload_reader :precision, 54, 3, :_u |