///////////////////////////////////////////////////////////////////////
 // Returns message_index field
 // Comment: Index of the alarm
 ///////////////////////////////////////////////////////////////////////
 FIT_MESSAGE_INDEX GetMessageIndex(void) const
 {
     return GetFieldUINT16Value(254, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 2
0
 ///////////////////////////////////////////////////////////////////////
 // Returns zone_count field
 // Units: counts
 // Comment: zone number used as the index
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetZoneCount(FIT_UINT8 index) const
 {
    return GetFieldUINT16Value(21, index, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
 ///////////////////////////////////////////////////////////////////////
 // Returns max_count field
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetMaxCount(void) const
 {
    return GetFieldUINT16Value(3, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 4
0
 ///////////////////////////////////////////////////////////////////////
 // Returns player_score field
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetPlayerScore(void) const
 {
    return GetFieldUINT16Value(18, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 5
0
 ///////////////////////////////////////////////////////////////////////
 // Returns opponent_score field
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetOpponentScore(void) const
 {
    return GetFieldUINT16Value(19, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 6
0
 ///////////////////////////////////////////////////////////////////////
 // Returns total_strokes field
 // Units: strokes
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetTotalStrokes(void) const
 {
    return GetFieldUINT16Value(5, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 7
0
 ///////////////////////////////////////////////////////////////////////
 // Returns total_calories field
 // Units: kcal
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetTotalCalories(void) const
 {
    return GetFieldUINT16Value(11, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 8
0
 ///////////////////////////////////////////////////////////////////////
 // Returns garmin_product field
 ///////////////////////////////////////////////////////////////////////
 FIT_GARMIN_PRODUCT GetGarminProduct(void) const
 {
    return GetFieldUINT16Value(1, 0, (FIT_UINT16) Profile::SCHEDULE_MESG_PRODUCT_FIELD_GARMIN_PRODUCT);
 }
Esempio n. 9
0
 ///////////////////////////////////////////////////////////////////////
 // Returns product field
 // Comment: Corresponds to file_id of scheduled workout / course.
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetProduct(void) const
 {
    return GetFieldUINT16Value(1, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
Esempio n. 10
0
 ///////////////////////////////////////////////////////////////////////
 // Returns manufacturer field
 // Comment: Corresponds to file_id of scheduled workout / course.
 ///////////////////////////////////////////////////////////////////////
 FIT_MANUFACTURER GetManufacturer(void) const
 {
    return GetFieldUINT16Value(0, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
 ///////////////////////////////////////////////////////////////////////
 // Returns num_sessions field
 ///////////////////////////////////////////////////////////////////////
 FIT_UINT16 GetNumSessions(void) const
 {
    return GetFieldUINT16Value(1, 0, FIT_SUBFIELD_INDEX_MAIN_FIELD);
 }
 ///////////////////////////////////////////////////////////////////////
 // Returns garmin_product field
 ///////////////////////////////////////////////////////////////////////
 FIT_GARMIN_PRODUCT GetGarminProduct(void) const
 {
    return GetFieldUINT16Value(4, 0, (FIT_UINT16) Profile::DEVICE_INFO_MESG_PRODUCT_FIELD_GARMIN_PRODUCT);
 }