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

The RunningManager application. More...

#include <RunningManager.h>

Inheritance diagram for MyApp:

Public Member Functions

 MyApp ()
 Constructor. More...
 
virtual ~MyApp ()
 Destructor. More...
 
virtual bool OnInit ()
 Initialize application. More...
 
virtual int OnExit ()
 Close application. More...
 
TodayControl * GetTodayControl () const
 Get the panel for todays training. More...
 
void UpdateCurrentDate (wxDateTime const &date, wxWindow *sender, int index)
 Update current date. More...
 
void UpdatePulse ()
 Update lactate threshold heart rate. More...
 
std::map< wxString, wxString > & GetPerspectives ()
 Get a map with all perspectives. More...
 

Detailed Description

The RunningManager application.

Constructor & Destructor Documentation

◆ MyApp()

MyApp::MyApp ( )

Constructor.

◆ ~MyApp()

virtual MyApp::~MyApp ( )
virtual

Destructor.

Member Function Documentation

◆ GetPerspectives()

std::map<wxString, wxString>& MyApp::GetPerspectives ( )

Get a map with all perspectives.

First entry is descriptive name of perspective, second entry is initialization string to open and open the panes for the named perspective.

Returns
Map with perspectives.

◆ GetTodayControl()

TodayControl* MyApp::GetTodayControl ( ) const

Get the panel for todays training.

Returns

◆ OnExit()

virtual int MyApp::OnExit ( )
virtual

Close application.

Returns
0 on success

◆ OnInit()

virtual bool MyApp::OnInit ( )
virtual

Initialize application.

Returns
True on success

◆ UpdateCurrentDate()

void MyApp::UpdateCurrentDate ( wxDateTime const &  date,
wxWindow *  sender,
int  index 
)

Update current date.

Parameters
dateCurrent date
senderSender does not need to be updated
index0 if single activity this day, 1 if second activity this day is wanted.

◆ UpdatePulse()

void MyApp::UpdatePulse ( )

Update lactate threshold heart rate.


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