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
WFDisplayMemoryCalculator.h
Go to the documentation of this file.
1 //
2 // WFDisplayMemoryCalculator.h
3 // WFConnector
4 //
5 // Created by Murray Hughes on 13/04/13.
6 // Copyright (c) 2013 Wahoo Fitness. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
11 
12 @class WFDisplayConfiguration, WFDisplayPage;
13 
14 @interface WFDisplayMemoryCalculator : NSObject
15 
16 // Returns the memory calculator for the latest version for a given sensor subtype
17 + (WFDisplayMemoryCalculator*) displayMemoryCalculatorForSensorSubType:(WFSensorSubType_t) subtype;
18 
19 // Returns memory calculator for a device UUID (correct at the last connection), nil if UUID not found
20 + (WFDisplayMemoryCalculator*) displayMemoryCalculatorForDeviceWithUUID:(NSString*) uuidString;
21 
22 // Returns the total RAM usage for the display configuration: 0.0 -> 1.0
23 - (double) ramUsageForDisplayConfiguration:(WFDisplayConfiguration*) config;
24 
25 // Returns the total RAM usage for a single page in the display configuration: 0.0 -> 1.0
26 - (double) ramUsageForDisplayPage:(WFDisplayPage*) page;
27 
28 // Returns the total Flash usage for the display configuration: 0.0 -> 1.0
29 - (double) flashUsageForDisplayConfiguration:(WFDisplayConfiguration*) config;
30 
31 // Returns the total Flash usage for a single page: 0.0 -> 1.0
32 - (double) flashUsageForDisplayPage:(WFDisplayPage*) page;
33 
34 @end
35 
36 
Definition: WFDisplayConfiguration.h:13
WFSensorSubType_t
Describes a specific hardware implementation of a generic device profile.
Definition: hardware_connector_types.h:105
Definition: WFDisplayMemoryCalculator.h:14