class FrequencyResponse

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
loop_selectionuint32ControlLoopSelection enum
min_frequencyfloat32Minimum frequency value
max_frequencyfloat32Maximum frequency value
amplitudefloat32Amplitude value
durationfloat32Duration (in seconds)

Member functions

Function nameReturn typeInput typeDescription
loop_selection() constuint32voidReturns the current value of loop_selection. If the loop_selection is not set, returns 0.
set_loop_selection()voiduint32Sets the value of loop_selection. After calling this, loop_selection() will return value.
clear_loop_selection()voidvoidClears the value of loop_selection. After calling this, loop_selection() will return the empty string/empty bytes.
min_frequency()float32voidReturns the current value of min_frequency. If the min_frequency is not set, returns 0.
set_min_frequency()voidfloat32Sets the value of min_frequency. After calling this, min_frequency() will return value.
clear_min_frequency()voidvoidClears the value of min_frequency. After calling this, min_frequency() will return 0.
max_frequency()float32voidReturns the current value of max_frequency. If the max_frequency is not set, returns 0.
set_max_frequency()voidfloat32Sets the value of max_frequency. After calling this, max_frequency() will return value.
clear_max_frequency()voidvoidClears the value of max_frequency. After calling this, max_frequency() will return 0.
amplitude()float32voidReturns the current value of amplitude. If the amplitude is not set, returns 0.
set_amplitude()voidfloat32Sets the value of amplitude. After calling this, amplitude() will return value.
clear_amplitude()voidvoidClears the value of amplitude. After calling this, amplitude() will return 0.
duration()float32voidReturns the current value of duration. If the duration is not set, returns 0.
set_duration()voidfloat32Sets the value of duration. After calling this, duration() will return value.
clear_duration()voidvoidClears the value of duration. After calling this, duration() will return 0.

Parent topic: ActuatorConfig (C++)