class NotificationOptions

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
typeuint32Type of notification
rate_m_secuint32Rate value (in meters per second) (if applicable)
threshold_valuefloat32Threshold value (if applicable)

Member functions

Function nameReturn typeInput typeDescription
type() constuint32voidReturns the current value of type. If the type is not set, returns 0.
set_type()voiduint32Sets the value of type. After calling this, type() will return value.
clear_type()voidvoidClears the value of type. After calling this, type() will return the empty string/empty bytes.
rate_m_sec()uint32voidReturns the current value of rate_m_sec. If the rate_m_sec is not set, returns 0.
set_rate_m_sec()voiduint32Sets the value of rate_m_sec. After calling this, rate_m_sec() will return value.
clear_rate_m_sec()voidvoidClears the value of rate_m_sec. After calling this, rate_m_sec() will return 0.
threshold_value()float32voidReturns the current value of threshold_value. If the threshold_value is not set, returns 0.
set_threshold_value()voidfloat32Sets the value of threshold_value. After calling this, threshold_value() will return value.
clear_threshold_value()voidvoidClears the value of threshold_value. After calling this, threshold_value() will return 0.

Parent topic: Common (C++)