Module: F4R::GlobalFit
- Defined in:
- lib/f4r.rb
Overview
Provides the FIT SDK global definition for all objects. Sometimes more information is needed in order to be able to decode FIT files so definitions for these undocumented messages and types (based on guesses ) is also provided.
Defined Under Namespace
Classes: Helper
Class Method Summary collapse
-
.base_types ⇒ Array<Hash>
Type definitions provide a FIT to F4R (BinData) type conversion table.
-
.messages ⇒ Array<Hash>
Collection of defined (FIT SDK) and undefined (F4R) messages.
-
.types ⇒ Hash
Collection of defined (FIT SDK) and undefined (F4R) types.
Class Method Details
.base_types ⇒ Array<Hash>
Type definitions provide a FIT to F4R (BinData) type conversion table.
443 444 445 |
# File 'lib/f4r.rb', line 443 def self.base_types @@base_types ||= Helper.new.get_base_types.freeze end |
.messages ⇒ Array<Hash>
Collection of defined (FIT SDK) and undefined (F4R) messages.
Message fields without field_def
(e.i., field’s number/id within the message) which usually mean that they are either sub-fields or not defined properly (e.i., invalid) get filtered out. Results come from F4R::GlobalFit::Helper#get_messages.
397 398 399 |
# File 'lib/f4r.rb', line 397 def self. @@messages ||= Helper.new..freeze end |
.types ⇒ Hash
Collection of defined (FIT SDK) and undefined (F4R) types. Results come from F4R::GlobalFit::Helper#get_types.
434 435 436 |
# File 'lib/f4r.rb', line 434 def self.types @@types ||= Helper.new.get_types.freeze end |