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
WFBikeSpeedData.h
Go to the documentation of this file.
1 //
2 // WFBikeSpeedData.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 
21 {
25  float accumSpeedTime;
27  NSTimeInterval timestamp;
29 
31 }
32 
33 
37 @property (nonatomic, assign) ULONG accumWheelRevolutions;
41 @property (nonatomic, assign) float accumSpeedTime;
45 @property (nonatomic, assign) USHORT instantWheelRPM;
62 @property (nonatomic, assign) NSTimeInterval timestamp;
67 @property (nonatomic, assign) BOOL timestampOverflow;
68 
69 
80 - (NSString*)formattedDistance:(BOOL)showUnits;
81 
92 - (NSString*)formattedSpeed:(BOOL)showUnits;
93 
94 @end
This is the abstract base class for all types of ANT sensor data.
Definition: WFSensorData.h:18
float accumSpeedTime
The accumulated time (in seconds) since the sensor was connected or reset.
Definition: WFBikeSpeedData.h:41
unsigned short USHORT
Definition: types.h:121
NSTimeInterval timestamp
The real-time timestamp for data from the sensor (as an offset from the Cocoa reference date)...
Definition: WFBikeSpeedData.h:62
BOOL timestampOverflow
Indicates that the time between data samples from the sensor has exceeded the rollover time (64 secon...
Definition: WFBikeSpeedData.h:67
signed char BOOL
Definition: types.h:110
USHORT instantWheelRPM
The instantaneous wheel RPM, based on the last two sensor measurements.
Definition: WFBikeSpeedData.h:45
Represents the most commonly used data available from the ANT+ Bike Speed sensor. ...
Definition: WFBikeSpeedData.h:20
unsigned long ULONG
Definition: types.h:133
ULONG accumWheelRevolutions
The accumulated wheel revolutions since the sensor was connected or reset.
Definition: WFBikeSpeedData.h:37