Class: NMEAPlus::Message::AIS::VDMPayload::VDMMsg19

Inherits:
VDMMsgClassBCSPosition show all
Defined in:
lib/nmea_plus/message/ais/vdm_payload/vdm_msg19.rb

Overview

AIS Type 19: Extended Class B CS Position Report

Instance Attribute Summary collapse

Attributes inherited from VDMMsgClassBCSPosition

#course_over_ground, #latitude, #longitude, #position_10m_accuracy?, #speed_over_ground, #time_stamp, #true_heading

Attributes inherited from VDMMsg

#message_type, #repeat_indicator, #source_mmsi, #source_mmsi_info

Attributes inherited from Payload

#fill_bits, #payload_bitstring

Method Summary

Methods inherited from VDMMsg

#auxiliary_craft?, #get_navigational_status_description, #get_ship_cargo_type_description

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

#ship_cargo_type_descriptionString (readonly)

Returns Cargo type description.

Returns:

  • (String)

    Cargo type description



23
24
25
# File 'lib/nmea_plus/message/ais/vdm_payload/vdm_msg19.rb', line 23

def ship_cargo_type_description
  get_ship_cargo_type_description(ship_cargo_type)
end