![]() |
Running Manager
1.7
API for Running Manager (https://github.com/HWiman-ICONIC/running-manager)
|
A user has all the properties needed for defining a training plan. More...
#include <User.h>
Public Member Functions | |
User () | |
User (UserPtr pOther) | |
Static Public Member Functions | |
static std::map< wxString, UserPtr > & | GetUsers () |
Returns references to all users by name. More... | |
static UserPtr | GetUser (wxString const &name) |
static UserPtr | AddUser (wxString const &name) |
static wxString | GetName (UserPtr pUser) |
static UserPtr | GetUser () |
static void | SetCurrentUser (UserPtr pUser) |
Public Attributes | |
PTUnit | unit |
The distance unit. More... | |
PTLevel | level |
The training level. More... | |
PTDistance | distance |
The competition distance. More... | |
int | pulse |
The lactate threshold pulse. More... | |
bool | use_pace |
True if pace is set. More... | |
wxDateTime | raceDate |
Date of competition. More... | |
int | calculatorSpeedMin |
int | calculatorSpeedSec |
A user has all the properties needed for defining a training plan.
User::User | ( | ) |
User::User | ( | UserPtr | pOther | ) |
|
static |
Add a named user and get a User structure back.
|
static |
Returns name of a user.
pUser | User to get name for. |
|
static |
Get a named user.
name | The name of the user |
|
static |
Get the active / current user
|
static |
Returns references to all users by name.
|
static |
Set the active / current user.
int User::calculatorSpeedMin |
int User::calculatorSpeedSec |
PTDistance User::distance |
The competition distance.
PTLevel User::level |
The training level.
int User::pulse |
The lactate threshold pulse.
wxDateTime User::raceDate |
Date of competition.
PTUnit User::unit |
The distance unit.
bool User::use_pace |
True if pace is set.