|
Cortex iOS
|
#import <BioRhythmCoach.h>
Instance Methods | |
| (void) | - manualInitializationWithSleepHour:andAwakeHour: |
| (BioRhythmType) | - getBioRhythmType |
| (double) | - getSleepHour |
| (double) | - getAwakeHour |
| (void) | - resetState |
Instance Methods inherited from Coach | |
| (id) | - init |
| (NSArray *) | - getCurrentTasks |
| (NSArray *) | - getFutureTasksFrom:to: |
| (NSArray *) | - getPastTasksFrom:to: |
| (NSArray *) | - getAllTasksFrom:to: |
| (void) | - pause |
| (void) | - resume |
| (Task *) | - setValue:forTask: |
Additional Inherited Members | |
Class Methods inherited from Coach | |
| (NSString *) | + stringFromCoachType: |
| (CoachType) | + coachTypeFromString: |
Properties inherited from Coach | |
| CoachType | type |
| Type to identifies the coach. | |
Implementation of the biorhythm coach. This coach coaches a user based on it's working schedule
| - (double) getAwakeHour |
Get the wake up hour for this biorythm type.
| - (BioRhythmType) getBioRhythmType |
Get the biorhythm type of the user.
| - (double) getSleepHour |
Get the to sleep hour for this biorythm type.
| - (void) manualInitializationWithSleepHour: | (double) | sleepHour | |
| andAwakeHour: | (double) | awakeHour | |
Initialize the bioRhythmCoach manually
| sleepHour | The time of day the user usually goes to sleep (e.g. 22.75 for a quarter to eleven p.m.) |
| awakeHour | The time of day the to awake (e.g. 7.25 for a quarter past seven) |
| - (void) resetState |
Reset the state.