class CustomData
August 13, 2019 ยท View on GitHub
Member values
| Member name | Data type | Description |
|---|---|---|
| custom_data_id | MessageId | MessageId |
| custom_data_0 | uint32 | Custom data word 0 |
| custom_data_1 | uint32 | Custom data word 1 |
| custom_data_2 | uint32 | Custom data word 2 |
| custom_data_3 | uint32 | Custom data word 3 |
| custom_data_4 | uint32 | Custom data word 4 |
| custom_data_5 | uint32 | Custom data word 5 |
| custom_data_6 | uint32 | Custom data word 6 |
| custom_data_7 | uint32 | Custom data word 7 |
| custom_data_8 | uint32 | Custom data word 8 |
| custom_data_9 | uint32 | Custom data word 9 |
| custom_data_10 | uint32 | Custom data word 10 |
| custom_data_11 | uint32 | Custom data word 11 |
| custom_data_12 | uint32 | Custom data word 12 |
| custom_data_13 | uint32 | Custom data word 13 |
| custom_data_14 | uint32 | Custom data word 14 |
| custom_data_15 | uint32 | Custom data word 15 |
Member functions
| Function name | Return type | Input type | Description |
|---|---|---|---|
| has_custom_data_id() const | bool | void | Returns true if custom_data_id is set. |
| custom_data_id() | const MessageId& | void | Returns the current value of custom_data_id. If custom_data_id is not set, returns a MessageId with none of its fields set (possibly custom_data_id::default_instance()). |
| mutable_custom_data_id() | MessageId * | void | Returns a pointer to the mutable MessageId object that stores the field's value. If the field was not set prior to the call, then the returned MessageId will have none of its fields set (i.e. it will be identical to a newly-allocated MessageId). After calling this, has_custom_data_id() will return true and custom_data_id() will return a reference to the same instance of MessageId. |
| clear_custom_data_id() | void | void | Clears the value of the field. After calling this, has_custom_data_id() will return false and custom_data_id() will return the default value. |
| set_allocated_custom_data_id() | void | MessageId * | Sets the MessageId object to the field and frees the previous field value if it exists. If the MessageId pointer is not NULL, the message takes ownership of the allocated MessageId object and has_ MessageId() will return true. Otherwise, if the custom_data_id is NULL, the behavior is the same as calling clear_custom_data_id(). |
| release_custom_data_id() | MessageId * | void | Releases the ownership of the field and returns the pointer of the MessageId object. After calling this, caller takes the ownership of the allocated MessageId object, has_custom_data_id() will return false, and custom_data_id() will return the default value. |
| custom_data_0() | uint32 | void | Returns the current value of custom_data_0. If the custom_data_0 is not set, returns 0. |
| set_custom_data_0() | void | uint32 | Sets the value of custom_data_0. After calling this, custom_data_0() will return value. |
| clear_custom_data_0() | void | void | Clears the value of custom_data_0. After calling this, custom_data_0() will return 0. |
| custom_data_1() | uint32 | void | Returns the current value of custom_data_1. If the custom_data_1 is not set, returns 0. |
| set_custom_data_1() | void | uint32 | Sets the value of custom_data_1. After calling this, custom_data_1() will return value. |
| clear_custom_data_1() | void | void | Clears the value of custom_data_1. After calling this, custom_data_1() will return 0. |
| custom_data_2() | uint32 | void | Returns the current value of custom_data_2. If the custom_data_2 is not set, returns 0. |
| set_custom_data_2() | void | uint32 | Sets the value of custom_data_2. After calling this, custom_data_2() will return value. |
| clear_custom_data_2() | void | void | Clears the value of custom_data_2. After calling this, custom_data_2() will return 0. |
| custom_data_3() | uint32 | void | Returns the current value of custom_data_3. If the custom_data_3 is not set, returns 0. |
| set_custom_data_3() | void | uint32 | Sets the value of custom_data_3. After calling this, custom_data_3() will return value. |
| clear_custom_data_3() | void | void | Clears the value of custom_data_3. After calling this, custom_data_3() will return 0. |
| custom_data_4() | uint32 | void | Returns the current value of custom_data_4. If the custom_data_4 is not set, returns 0. |
| set_custom_data_4() | void | uint32 | Sets the value of custom_data_4. After calling this, custom_data_4() will return value. |
| clear_custom_data_4() | void | void | Clears the value of custom_data_4. After calling this, custom_data_4() will return 0. |
| custom_data_5() | uint32 | void | Returns the current value of custom_data_5. If the custom_data_5 is not set, returns 0. |
| set_custom_data_5() | void | uint32 | Sets the value of custom_data_5. After calling this, custom_data_5() will return value. |
| clear_custom_data_5() | void | void | Clears the value of custom_data_5. After calling this, custom_data_5() will return 0. |
| custom_data_6() | uint32 | void | Returns the current value of custom_data_6. If the custom_data_6 is not set, returns 0. |
| set_custom_data_6() | void | uint32 | Sets the value of custom_data_6. After calling this, custom_data_6() will return value. |
| clear_custom_data_6() | void | void | Clears the value of custom_data_6. After calling this, custom_data_6() will return 0. |
| custom_data_7() | uint32 | void | Returns the current value of custom_data_7. If the custom_data_7 is not set, returns 0. |
| set_custom_data_7() | void | uint32 | Sets the value of custom_data_7. After calling this, custom_data_7() will return value. |
| clear_custom_data_7() | void | void | Clears the value of custom_data_7. After calling this, custom_data_7() will return 0. |
| custom_data_8() | uint32 | void | Returns the current value of custom_data_8. If the custom_data_8 is not set, returns 0. |
| set_custom_data_8() | void | uint32 | Sets the value of custom_data_8. After calling this, custom_data_8() will return value. |
| clear_custom_data_8() | void | void | Clears the value of custom_data_8. After calling this, custom_data_8() will return 0. |
| custom_data_9() | uint32 | void | Returns the current value of custom_data_9. If the custom_data_9 is not set, returns 0. |
| set_custom_data_9() | void | uint32 | Sets the value of custom_data_9. After calling this, custom_data_9() will return value. |
| clear_custom_data_9() | void | void | Clears the value of custom_data_9. After calling this, custom_data_9() will return 0. |
| custom_data_10() | uint32 | void | Returns the current value of custom_data_10. If the custom_data_10 is not set, returns 0. |
| set_custom_data_10() | void | uint32 | Sets the value of custom_data_10. After calling this, custom_data_10() will return value. |
| clear_custom_data_10() | void | void | Clears the value of custom_data_10. After calling this, custom_data_10() will return 0. |
| custom_data_11() | uint32 | void | Returns the current value of custom_data_11. If the custom_data_11 is not set, returns 0. |
| set_custom_data_11() | void | uint32 | Sets the value of custom_data_11. After calling this, custom_data_11() will return value. |
| clear_custom_data_11() | void | void | Clears the value of custom_data_11. After calling this, custom_data_11() will return 0. |
| custom_data_12() | uint32 | void | Returns the current value of custom_data_12. If the custom_data_12 is not set, returns 0. |
| set_custom_data_12() | void | uint32 | Sets the value of custom_data_12. After calling this, custom_data_12() will return value. |
| clear_custom_data_12() | void | void | Clears the value of custom_data_12. After calling this, custom_data_12() will return 0. |
| custom_data_13() | uint32 | void | Returns the current value of custom_data_13. If the custom_data_13 is not set, returns 0. |
| set_custom_data_13() | void | uint32 | Sets the value of custom_data_13. After calling this, custom_data_13() will return value. |
| clear_custom_data_13() | void | void | Clears the value of custom_data_13. After calling this, custom_data_13() will return 0. |
| custom_data_14() | uint32 | void | Returns the current value of custom_data_14. If the custom_data_14 is not set, returns 0. |
| set_custom_data_14() | void | uint32 | Sets the value of custom_data_14. After calling this, custom_data_14() will return value. |
| clear_custom_data_14() | void | void | Clears the value of custom_data_14. After calling this, custom_data_14() will return 0. |
| custom_data_15() | uint32 | void | Returns the current value of custom_data_15. If the custom_data_15 is not set, returns 0. |
| set_custom_data_15() | void | uint32 | Sets the value of custom_data_15. After calling this, custom_data_15() will return value. |
| clear_custom_data_15() | void | void | Clears the value of custom_data_15. After calling this, custom_data_15() will return 0. |
Parent topic: ActuatorCyclic (C++)