Class: IGC::Flight

Inherits:
Object
  • Object
show all
Defined in:
lib/igc/flight.rb

Overview

IGC::Flight represents a the fligth as recorder in the IGC file

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeFlight

Returns a new instance of Flight.



26
27
28
29
30
31
# File 'lib/igc/flight.rb', line 26

def initialize
  @raw_headers = {}
  @fix_extensions = {}
  @data_extensions = {}
  @fixes = []
end

Instance Attribute Details

#competition_classObject

Returns the value of attribute competition_class.



6
7
8
# File 'lib/igc/flight.rb', line 6

def competition_class
  @competition_class
end

#competition_idObject

Returns the value of attribute competition_id.



6
7
8
# File 'lib/igc/flight.rb', line 6

def competition_id
  @competition_id
end

#data_extensionsObject

Returns the value of attribute data_extensions.



6
7
8
# File 'lib/igc/flight.rb', line 6

def data_extensions
  @data_extensions
end

#dateObject

Returns the value of attribute date.



6
7
8
# File 'lib/igc/flight.rb', line 6

def date
  @date
end

#firmware_versionObject

Returns the value of attribute firmware_version.



6
7
8
# File 'lib/igc/flight.rb', line 6

def firmware_version
  @firmware_version
end

#fix_extensionsObject

Returns the value of attribute fix_extensions.



6
7
8
# File 'lib/igc/flight.rb', line 6

def fix_extensions
  @fix_extensions
end

#fixesObject

Returns the value of attribute fixes.



6
7
8
# File 'lib/igc/flight.rb', line 6

def fixes
  @fixes
end

#flight_numberObject

Returns the value of attribute flight_number.



6
7
8
# File 'lib/igc/flight.rb', line 6

def flight_number
  @flight_number
end

#flight_recorder_typeObject

Returns the value of attribute flight_recorder_type.



6
7
8
# File 'lib/igc/flight.rb', line 6

def flight_recorder_type
  @flight_recorder_type
end

#glider_idObject

Returns the value of attribute glider_id.



6
7
8
# File 'lib/igc/flight.rb', line 6

def glider_id
  @glider_id
end

#glider_typeObject

Returns the value of attribute glider_type.



6
7
8
# File 'lib/igc/flight.rb', line 6

def glider_type
  @glider_type
end

#gps_altitude_refObject

Returns the value of attribute gps_altitude_ref.



6
7
8
# File 'lib/igc/flight.rb', line 6

def gps_altitude_ref
  @gps_altitude_ref
end

#hardware_versionObject

Returns the value of attribute hardware_version.



6
7
8
# File 'lib/igc/flight.rb', line 6

def hardware_version
  @hardware_version
end

#pilotObject

Returns the value of attribute pilot.



6
7
8
# File 'lib/igc/flight.rb', line 6

def pilot
  @pilot
end

#pressure_altitude_refObject

Returns the value of attribute pressure_altitude_ref.



6
7
8
# File 'lib/igc/flight.rb', line 6

def pressure_altitude_ref
  @pressure_altitude_ref
end

#pressure_sensorObject

Returns the value of attribute pressure_sensor.



6
7
8
# File 'lib/igc/flight.rb', line 6

def pressure_sensor
  @pressure_sensor
end

#raw_headersObject

Returns the value of attribute raw_headers.



6
7
8
# File 'lib/igc/flight.rb', line 6

def raw_headers
  @raw_headers
end

#reorder_idObject

Returns the value of attribute reorder_id.



6
7
8
# File 'lib/igc/flight.rb', line 6

def reorder_id
  @reorder_id
end

#timezoneObject

Returns the value of attribute timezone.



6
7
8
# File 'lib/igc/flight.rb', line 6

def timezone
  @timezone
end