SYDriving Class Reference

Main class of driver's behavior module. More...

#import <SYDriving.h>

Inheritance diagram for SYDriving:
Collaboration diagram for SYDriving:

Instance Methods

(void) - didDetectFastCornering:
 Method for sending fast cornering event detected by external detector into drivers behavior module. More...
 
(void) - didDetectSpeeding:
 Method for sending speeding event detected by external detector into drivers behavior module. More...
 
(void) - didDetectHardBraking:
 Method for sending hard beraking event detected by external detector into drivers behavior module. More...
 
(void) - didDetectHardAccelerating:
 Method for sending hard acceleration event detected by external detector into drivers behavior module. More...
 
(void) - didDetectDistracting:
 Method for sending distraction event detected by external detector into drivers behavior module. More...
 
((unavailable("Use +[SYDriving sharedDriving] instead.") - __attribute__
 

Class Methods

(nonnull SYDriving *) + sharedDriving
 
((unavailable("Use +[SYDriving sharedDriving] instead.") + __attribute__
 

Properties

id< SYDrivingDelegate > delegate
 
SYDriversBehaviorScore * score
 Represents driver's current global cummulative score based on score of each trip. More...
 
SYDriversBehaviorLog * log
 Driver's behavior log provides access to all recorded trips and global driver's score. More...
 

Detailed Description

Main class of driver's behavior module.

Method Documentation

◆ __attribute__() [1/2]

- ((unavailable("Use +[SYDriving sharedDriving] instead.") __attribute__

◆ __attribute__() [2/2]

+ ((unavailable("Use +[SYDriving sharedDriving] instead.") __attribute__

◆ didDetectDistracting:()

- (void) didDetectDistracting: (nonnull SYDrivingDistracting *)  distracting

Method for sending distraction event detected by external detector into drivers behavior module.

◆ didDetectFastCornering:()

- (void) didDetectFastCornering: (nonnull SYDrivingFastCornering *)  fastCornering

Method for sending fast cornering event detected by external detector into drivers behavior module.

◆ didDetectHardAccelerating:()

- (void) didDetectHardAccelerating: (nonnull SYDrivingHardAccelerating *)  accelerating

Method for sending hard acceleration event detected by external detector into drivers behavior module.

◆ didDetectHardBraking:()

- (void) didDetectHardBraking: (nonnull SYDrivingHardBraking *)  braking

Method for sending hard beraking event detected by external detector into drivers behavior module.

◆ didDetectSpeeding:()

- (void) didDetectSpeeding: (nonnull SYDrivingSpeeding *)  speeding

Method for sending speeding event detected by external detector into drivers behavior module.

◆ sharedDriving()

+ (nonnull SYDriving*) sharedDriving

Property Documentation

◆ delegate

- (id<SYDrivingDelegate>) delegate
readwritenonatomicweak

◆ log

- (SYDriversBehaviorLog*) log
readnonatomicstrong

Driver's behavior log provides access to all recorded trips and global driver's score.

◆ score

- (SYDriversBehaviorScore*) score
readnonatomicstrong

Represents driver's current global cummulative score based on score of each trip.


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