\( \def\bold#1{\bf #1} \newcommand{\d}{\mathrm{d}} \) BTP: Manual and Source Code Documentation

Power Uphill

bike mass [kg]
body mass [kg]
altitude gain [m]
climb length [km]
gradient [%]
time [s]
speed [km/h]
power [W]
power/mass [W/kg]
climbrate [m/min]

average power on climb stage

BTP  3.0
Routing/ClimbAnalysis/PowerCalculation
BTP3setups Class Reference

provide all user settings More...

#include <btp3setups.h>

Inheritance diagram for BTP3setups:
Collaboration diagram for BTP3setups:

Public Slots

void OK ()
 
void init_buffer ()
 
void init_dest ()
 
void cancel ()
 

Public Member Functions

 BTP3setups (STRONGsetting *ss, STRONGsetting *ms, STRONGsetting *cs)
 
 BTP3setups (ClimbAnalyseSettings *CA)
 
 BTP3setups (ExtMapSettings *ems)
 
 BTP3setups (ProfilSettings *PS)
 
 BTP3setups (MapSettings *MS)
 
void init ()
 

Private Member Functions

void set_NULL ()
 

Private Attributes

STRONGsettingss
 buffer struct to store user edits
 
STRONGsettingms
 
STRONGsettingcs
 
STRONGsetting ss0
 
STRONGsetting ms0
 
STRONGsetting cs0
 
ClimbAnalyseSettingsCA
 buffer struct to store user edits
 
ClimbAnalyseSettings CA0
 
ExtMapSettingsems
 buffer struct to store user edits
 
ExtMapSettings ems0
 
ProfilSettingsPS
 buffer struct to store user edits
 
ProfilSettings PS0
 
MapSettingsMS
 buffer struct to store user edits
 
MapSettings MS0
 
QPushButton buttons [4]
 buffer struct to store user edits
 
EditInputsedit [50]
 
QGridLayout L
 

Detailed Description

provide all user settings

all user setting is stored in a config struct, consisting of MapSettings STRONGsetting ClimbAnalyseSettings ProfilSettings PowerAnalysisSetting to edit these structs they are opened with the suitable constructor, an can be initialized with init() command

Definition at line 70 of file btp3setups.h.

Member Function Documentation

void BTP3setups::cancel ( )
slot

close without changes

Definition at line 283 of file btp3setups.cpp.

void BTP3setups::init_buffer ( )
slot

sets buffer default

Definition at line 314 of file btp3setups.cpp.

void BTP3setups::init_dest ( )
slot

sets real struct default

Definition at line 373 of file btp3setups.cpp.

void BTP3setups::OK ( )
slot

copies buffer to real struct

Definition at line 290 of file btp3setups.cpp.


The documentation for this class was generated from the following files: