Cortex iOS
 All Classes Functions Properties
BioRhythmCoach Class Reference

#import <BioRhythmCoach.h>

Inheritance diagram for BioRhythmCoach:
Coach

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.
 

Detailed Description

Implementation of the biorhythm coach. This coach coaches a user based on it's working schedule

Method Documentation

- (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

Parameters
sleepHourThe time of day the user usually goes to sleep (e.g. 22.75 for a quarter to eleven p.m.)
awakeHourThe time of day the to awake (e.g. 7.25 for a quarter past seven)
- (void) resetState

Reset the state.


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