![]() |
Running Manager
1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
|
Zones. More...
#include <Zone.h>
Public Member Functions | |
| Zone () | |
| Constructor. More... | |
| Zone (PTZone zone, wxString shortName, wxString description, double minPercent, double maxPercent) | |
| Constructor. More... | |
| wxTimeSpan | GetAveragePace () const |
| wxTimeSpan | GetTimeSpan (wxString const &s) |
Static Public Member Functions | |
| static void | GetMinSec (wxTimeSpan const &dt, int &minutes, int &seconds) |
| static wxString | GetTimeString (wxTimeSpan const &dt, PTUnit const &unit) |
| static boost::shared_array< Zone > | GetZoneMap () |
Public Attributes | |
| PTZone | zone |
| wxString | shortName |
| wxString | description |
| double | minPercent |
| double | maxPercent |
| wxTimeSpan | minPace |
| wxTimeSpan | maxPace |
Static Public Attributes | |
| static boost::shared_array< Zone > | cpZones |
Zones.
A zone is defined by a heart rate interval, speed interval and/or feeling.
|
inline |
Constructor.
| Zone::Zone | ( | PTZone | zone, |
| wxString | shortName, | ||
| wxString | description, | ||
| double | minPercent, | ||
| double | maxPercent | ||
| ) |
Constructor.
| zone | Zone |
| shortName | Human readable name |
| description | Human readable description of feeling |
| minPercent | Min heart rate |
| maxPercent | Max heart rate |
| wxTimeSpan Zone::GetAveragePace | ( | ) | const |
|
static |
| wxTimeSpan Zone::GetTimeSpan | ( | wxString const & | s | ) |
|
static |
|
static |
|
static |
| wxString Zone::description |
| wxTimeSpan Zone::maxPace |
| double Zone::maxPercent |
| wxTimeSpan Zone::minPace |
| double Zone::minPercent |
| wxString Zone::shortName |
| PTZone Zone::zone |
1.8.14