Wahoo Fitness API  3.6.1
Documentation for the iPhone version of the Wahoo Fitness API.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
WFFootpodData.h
Go to the documentation of this file.
1 //
2 // WFFootpodData.h
3 // WFConnector
4 //
5 // Created by Michael Moore on 11/9/10.
6 // Copyright 2010 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import <WFConnector/WFSensorData.h>
11 
12 @class WFCommonData;
13 
14 
23 {
26  float lastTime;
27  float instantaneousSpeed;
28  float cadence;
29  float accumulatedDistance;
31  NSTimeInterval timestamp;
33 
35 }
36 
37 
46 @property (nonatomic, assign) float lastTime;
50 @property (nonatomic, assign) float instantaneousSpeed;
54 @property (nonatomic, assign) float cadence;
61 @property (nonatomic, assign) float accumulatedDistance;
68 @property (nonatomic, assign) ULONG accumulatedStride;
85 @property (nonatomic, assign) NSTimeInterval timestamp;
90 @property (nonatomic, assign) BOOL timestampOverflow;
91 
92 
103 - (NSString*)formattedCadence:(BOOL)showUnits;
104 
115 - (NSString*)formattedDistance:(BOOL)showUnits;
116 
127 - (NSString*)formattedPace:(BOOL)showUnits;
128 
139 - (NSString*)formattedSpeed:(BOOL)showUnits;
140 
141 @end
This is the abstract base class for all types of ANT sensor data.
Definition: WFSensorData.h:18
float cadence
The measure of strides accumulated in time (strides per minute).
Definition: WFFootpodData.h:54
NSTimeInterval timestamp
The real-time timestamp for data from the sensor (as an offset from the Cocoa reference date)...
Definition: WFFootpodData.h:85
Represents the most commonly used data available from the ANT+ Stride sensor.
Definition: WFFootpodData.h:22
signed char BOOL
Definition: types.h:110
float accumulatedDistance
The accumulated distance measurement.
Definition: WFFootpodData.h:61
Represents the metadata for the sensor, available from most ANT+ sensors.
Definition: WFCommonData.h:39
ULONG accumulatedStride
The accumulated stride count.
Definition: WFFootpodData.h:68
BOOL timestampOverflow
Indicates that the time between data samples from the sensor has exceeded the rollover time (64 secon...
Definition: WFFootpodData.h:90
float lastTime
The time of the last distance and/or speed computation.
Definition: WFFootpodData.h:46
unsigned long ULONG
Definition: types.h:133
float instantaneousSpeed
The instantaneous speed in meters per second.
Definition: WFFootpodData.h:50