SwiftclassIntelligentTrackingCore

class IntelligentTrackingCore.DKAccelerationLimiter

Members 13

  1. deinitdeinit
  2. fieldvar maxAcceleration: Double+0x10
  3. fieldvar maxDeceleration: Double+0x18
  4. fieldvar profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile
  5. fieldvar profileTimeout: Foundation.Date
  6. fieldvar profilesEnabled: Bool
  7. fieldvar speed: Double+0x20
  8. fieldvar updateTime: Foundation.Date
  9. funcgetCurrentProfile(time: Foundation.Date) -> IntelligentTrackingCore.DKAccelerationLimiter.Profile
  10. funcresetProfile() -> ()
  11. funcsetProfile(profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile, timeout: Foundation.Date) -> ()
  12. funcupdate(newSpeed: Double, time: Foundation.Date) -> Double
  13. initIntelligentTrackingCore.DKAccelerationLimiter.__allocating_init(speed: Double, maxAcceleration: Double, maxDeceleration: Double, profilesEnabled: Bool, time: Foundation.Date) -> IntelligentTrackingCore.DKAccelerationLimiter
class DKAccelerationLimiter {
    enum Profile {
        case slow
        case normal
        case fast
    }
    var maxAcceleration: Swift.Double
    var maxDeceleration: Swift.Double
    var speed: Swift.Double
    var updateTime: Foundation.Date
    var profilesEnabled: Swift.Bool
    var profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile
    var profileTimeout: Foundation.Date

    init(speed: Swift.Double, maxAcceleration: Swift.Double, maxDeceleration: Swift.Double, profilesEnabled: Swift.Bool, time: Foundation.Date)
    func update(newSpeed: Swift.Double, time: Foundation.Date) -> Swift.Double
    func getCurrentProfile(time: Foundation.Date) -> IntelligentTrackingCore.DKAccelerationLimiter.Profile
    func setProfile(profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile, timeout: Foundation.Date)
    func resetProfile()

    deinit
}