Running Manager  1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
Public Member Functions | Public Attributes | List of all members
SectionGroup Struct Reference

A collection of sections, e.g. multiple repetitions of interval/pause. More...

#include <Section.h>

Inheritance diagram for SectionGroup:
SectionBase

Public Member Functions

 SectionGroup (PTZone zone, int nRepetitions)
 
virtual wxString ToString (PTUnit const &outUnit, bool bZone=true, bool bTime=true)
 
void GetTime (wxTimeSpan &minTime, wxTimeSpan &maxTime, wxTimeSpan &avgSpan)
 
void GetDistance (double &minDist, double &maxDist, double &avgDist, PTUnit const &unit)
 
- Public Member Functions inherited from SectionBase
 SectionBase (PTZone azone)
 
void Add (SectionPtr pSubSection)
 

Public Attributes

int nRepetitions
 
- Public Attributes inherited from SectionBase
PTZone zone
 
wxString shortName
 
wxString description
 
std::list< SectionPtrsubSections
 

Additional Inherited Members

- Static Public Member Functions inherited from SectionBase
static SectionPtr Create (PTZone zone, wxTimeSpan time)
 
static SectionPtr Create (PTZone zone, double distance, PTUnit unit)
 
static SectionPtr Create (PTZone, int nRepetitions)
 

Detailed Description

A collection of sections, e.g. multiple repetitions of interval/pause.

Constructor & Destructor Documentation

◆ SectionGroup()

SectionGroup::SectionGroup ( PTZone  zone,
int  nRepetitions 
)

Member Function Documentation

◆ GetDistance()

void SectionGroup::GetDistance ( double &  minDist,
double &  maxDist,
double &  avgDist,
PTUnit const &  unit 
)
virtual

Implements SectionBase.

◆ GetTime()

void SectionGroup::GetTime ( wxTimeSpan &  minTime,
wxTimeSpan &  maxTime,
wxTimeSpan &  avgSpan 
)
virtual

Implements SectionBase.

◆ ToString()

virtual wxString SectionGroup::ToString ( PTUnit const &  outUnit,
bool  bZone = true,
bool  bTime = true 
)
virtual

Implements SectionBase.

Member Data Documentation

◆ nRepetitions

int SectionGroup::nRepetitions

The documentation for this struct was generated from the following file: