class RampResponse

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
loop_selectionuint32ControlLoopSelection enum
slopefloat32Slope value
ramp_delayfloat32Ramp delay 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.
slope()float32voidReturns the current value of slope. If the slope is not set, returns 0.
set_slope()voidfloat32Sets the value of slope. After calling this, slope() will return value.
clear_slope()voidvoidClears the value of slope. After calling this, slope() will return 0.
ramp_delay()float32voidReturns the current value of ramp_delay. If the ramp_delay is not set, returns 0.
set_ramp_delay()voidfloat32Sets the value of ramp_delay. After calling this, ramp_delay() will return value.
clear_ramp_delay()voidvoidClears the value of ramp_delay. After calling this, ramp_delay() 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++)