![]() |
Running Manager
1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
|
Base class for a section. More...
#include <Section.h>
Public Member Functions | |
| SectionBase (PTZone azone) | |
| virtual wxString | ToString (PTUnit const &outUnit, bool bZone=true, bool bTime=true)=0 |
| void | Add (SectionPtr pSubSection) |
| virtual void | GetTime (wxTimeSpan &minTime, wxTimeSpan &maxTime, wxTimeSpan &avgSpan)=0 |
| virtual void | GetDistance (double &minDist, double &maxDist, double &avgDist, PTUnit const &unit)=0 |
Static Public Member Functions | |
| static SectionPtr | Create (PTZone zone, wxTimeSpan time) |
| static SectionPtr | Create (PTZone zone, double distance, PTUnit unit) |
| static SectionPtr | Create (PTZone, int nRepetitions) |
Public Attributes | |
| PTZone | zone |
| wxString | shortName |
| wxString | description |
| std::list< SectionPtr > | subSections |
Base class for a section.
A section is a part of a Training or activity.
|
inline |
| void SectionBase::Add | ( | SectionPtr | pSubSection | ) |
|
static |
|
static |
|
static |
|
pure virtual |
Implemented in SectionTime, SectionDistance, and SectionGroup.
|
pure virtual |
Implemented in SectionTime, SectionDistance, and SectionGroup.
|
pure virtual |
Implemented in SectionTime, SectionDistance, and SectionGroup.
| wxString SectionBase::description |
| wxString SectionBase::shortName |
| std::list<SectionPtr> SectionBase::subSections |
| PTZone SectionBase::zone |
1.8.14