Member values
Member name | Data type | Description |
---|---|---|
type | uint32 | Type of notification |
rate_m_sec | uint32 | Rate value (in meters per second) (if applicable) |
threshold_value | float32 | Threshold value (if applicable) |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
type() const | uint32 | void | Returns the current value of type. If the type is not set, returns 0. |
set_type() | void | uint32 | Sets the value of type. After calling this, type() will return value. |
clear_type() | void | void | Clears the value of type. After calling this, type() will return the empty string/empty bytes. |
rate_m_sec() | uint32 | void | Returns the current value of rate_m_sec. If the rate_m_sec is not set, returns 0. |
set_rate_m_sec() | void | uint32 | Sets the value of rate_m_sec. After calling this, rate_m_sec() will return value. |
clear_rate_m_sec() | void | void | Clears the value of rate_m_sec. After calling this, rate_m_sec() will return 0. |
threshold_value() | float32 | void | Returns the current value of threshold_value. If the threshold_value is not set, returns 0. |
set_threshold_value() | void | float32 | Sets the value of threshold_value. After calling this, threshold_value() will return value. |
clear_threshold_value() | void | void | Clears the value of threshold_value. After calling this, threshold_value() will return 0. |
Parent topic: Common (C++)