FMLiveSwitchSmoothingContext Class Reference

Instance Methods

(double) - averageValue
 
(instancetype) - init
 
(instancetype) - initWithSmoothingFactor:
 
(instancetype) - initWithSmoothingFactor:initialAverageValue:
 
(void) - processValue:
 
(void) - reset
 
(long long) - sampleCount
 
(void) - setSmoothingFactor:
 
(double) - smoothingFactor
 
(double) - testValue:
 

Class Methods

(double) + defaultSmoothingFactor
 
(FMLiveSwitchSmoothingContext *) + smoothingContext
 
(FMLiveSwitchSmoothingContext *) + smoothingContextWithSmoothingFactor:
 
(FMLiveSwitchSmoothingContext *) + smoothingContextWithSmoothingFactor:initialAverageValue:
 

Method Documentation

◆ averageValue

- (double) averageValue

◆ defaultSmoothingFactor

+ (double) defaultSmoothingFactor

◆ init

- (instancetype) init

◆ initWithSmoothingFactor:

- (instancetype) initWithSmoothingFactor: (double)  smoothingFactor

◆ initWithSmoothingFactor:initialAverageValue:

- (instancetype) initWithSmoothingFactor: (double)  smoothingFactor
initialAverageValue: (double)  initialAverageValue 

◆ processValue:

- (void) processValue: (double)  value

◆ reset

- (void) reset

◆ sampleCount

- (long long) sampleCount

◆ setSmoothingFactor:

- (void) setSmoothingFactor: (double)  value

◆ smoothingContext

+ (FMLiveSwitchSmoothingContext*) smoothingContext

◆ smoothingContextWithSmoothingFactor:

+ (FMLiveSwitchSmoothingContext*) smoothingContextWithSmoothingFactor: (double)  smoothingFactor

◆ smoothingContextWithSmoothingFactor:initialAverageValue:

+ (FMLiveSwitchSmoothingContext*) smoothingContextWithSmoothingFactor: (double)  smoothingFactor
initialAverageValue: (double)  initialAverageValue 

◆ smoothingFactor

- (double) smoothingFactor

◆ testValue:

- (double) testValue: (double)  value