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