Cortex iOS
 All Classes Functions Properties
ShiftWorkCoach Class Reference
Inheritance diagram for ShiftWorkCoach:
Coach

Instance Methods

(void) - manualInitializationWithSleepHour:andAwakeHour:andSchedule:
 
(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.
 

Method Documentation

- (void) manualInitializationWithSleepHour: (double)  sleepHour
andAwakeHour: (double)  awakeHour
andSchedule: (NSArray*)  schedule 

Initialize the Shiftwork coach 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)
scheduleThe schedule. An NSArray of Day objects, with the days ordered, first day first etc. A complete schedule should contain a list 12 weeks of work days.
- (void) resetState

Reset the state.


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