Member values
Member name | Data type | Description |
---|---|---|
identifier | uint32 | MessageId |
mode | uint32 | Operational mode of the sensor |
threshold_a | float32 | Threshold of the sensor A (successive detection count to trigger a change of state) |
threshold_b | float32 | Threshold of the sensor B (successive detection count to trigger a change of state) |
sensitivity_a | float32 | Sensitivity of the sensor A (picofarad) |
sensitivity_b | float32 | Sensitivity of the sensor B (picofarad) |
Member functions
Function name | Return type | Input type | Description |
---|---|---|---|
identifier() | uint32 | void | Returns the current value of identifier. If the identifier is not set, returns 0. |
set_identifier() | void | uint32 | Sets the value of identifier. After calling this, identifier() will return value. |
clear_identifier() | void | void | Clears the value of identifier. After calling this, identifier() will return 0. |
mode() const | uint32 | void | Returns the current value of mode. If the mode is not set, returns 0. |
set_mode() | void | uint32 | Sets the value of mode. After calling this, mode() will return value. |
clear_mode() | void | void | Clears the value of mode. After calling this, mode() will return the empty string/empty bytes. |
threshold_a() | float32 | void | Returns the current value of threshold_a. If the threshold_a is not set, returns 0. |
set_threshold_a() | void | float32 | Sets the value of threshold_a. After calling this, threshold_a() will return value. |
clear_threshold_a() | void | void | Clears the value of threshold_a. After calling this, threshold_a() will return 0. |
threshold_b() | float32 | void | Returns the current value of threshold_b. If the threshold_b is not set, returns 0. |
set_threshold_b() | void | float32 | Sets the value of threshold_b. After calling this, threshold_b() will return value. |
clear_threshold_b() | void | void | Clears the value of threshold_b. After calling this, threshold_b() will return 0. |
sensitivity_a() | float32 | void | Returns the current value of sensitivity_a. If the sensitivity_a is not set, returns 0. |
set_sensitivity_a() | void | float32 | Sets the value of sensitivity_a. After calling this, sensitivity_a() will return value. |
clear_sensitivity_a() | void | void | Clears the value of sensitivity_a. After calling this, sensitivity_a() will return 0. |
sensitivity_b() | float32 | void | Returns the current value of sensitivity_b. If the sensitivity_b is not set, returns 0. |
set_sensitivity_b() | void | float32 | Sets the value of sensitivity_b. After calling this, sensitivity_b() will return value. |
clear_sensitivity_b() | void | void | Clears the value of sensitivity_b. After calling this, sensitivity_b() will return 0. |
Parent topic: Base (C++)