![]() |
eyeDrops
v2.3
A new approach to detecting eye blinks.
|
A project specific user profile. More...
#import <UserProfile.h>
Inherits NSObject.
Instance Methods | |
(id) | - init |
(NSString *) | - getName |
(NSDictionary *) | - getAttributes |
(NSNumber *) | - getParameter: |
Class Methods | |
(UserProfile *) | + userProfileWithName:andId:andParameters: |
Protected Attributes | |
NSDate * | date |
NSDateFormatter * | dateFormatter |
float | parameterarray [12] |
Properties | |
NSString * | name |
NSNumber * | userId |
NSMutableArray * | parameters |
A project specific user profile.
This class represents a user profile with name, id, creation date and calibration parameters.
- (NSDictionary *) getAttributes |
Getter for attribute parameters.
- (NSString *) getName |
Getter for attribute name.
- (NSNumber *) getParameter: | (int) | index |
Getter for a specific parameter.
index | The index of the requested parameter. |
- (id) init |
This methods initializes the user profile. Only needed to setup the DateFormatter.
+ (id) userProfileWithName: | (NSString *) | name | |
andId: | (NSNumber *) | userId | |
andParameters: | (NSMutableArray *) | parameters | |
This method returns a new user profile with the given content.
name | The user name. |
userId | The user id. |
parameters | The calibration parameters. |
|
protected |
The date of creation.
|
protected |
A DateFormatter to format the date.
|
readwritenonatomicassign |
The user name.
|
readwritenonatomicassign |
The calibration parameters.
|
readwritenonatomicassign |
The user id.