SwiftclassIntelligentTrackingCore
DKAccelerationLimiter
class IntelligentTrackingCore.DKAccelerationLimiter
Members 13
- deinit
deinit - field
var maxAcceleration: Double+0x10 - field
var maxDeceleration: Double+0x18 - field
var profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile - field
var profileTimeout: Foundation.Date - field
var profilesEnabled: Bool - field
var speed: Double+0x20 - field
var updateTime: Foundation.Date - func
getCurrentProfile(time: Foundation.Date) -> IntelligentTrackingCore.DKAccelerationLimiter.Profile - func
resetProfile() -> () - func
setProfile(profile: IntelligentTrackingCore.DKAccelerationLimiter.Profile, timeout: Foundation.Date) -> () - func
update(newSpeed: Double, time: Foundation.Date) -> Double - init
IntelligentTrackingCore.DKAccelerationLimiter.__allocating_init(speed: Double, maxAcceleration: Double, maxDeceleration: Double, profilesEnabled: Bool, time: Foundation.Date) -> IntelligentTrackingCore.DKAccelerationLimiter
Header
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 }