class CustomData

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescription
custom_data_idMessageIdMessageId
custom_data_0uint32Custom data word 0
custom_data_1uint32Custom data word 1
custom_data_2uint32Custom data word 2
custom_data_3uint32Custom data word 3
custom_data_4uint32Custom data word 4
custom_data_5uint32Custom data word 5
custom_data_6uint32Custom data word 6
custom_data_7uint32Custom data word 7
custom_data_8uint32Custom data word 8
custom_data_9uint32Custom data word 9
custom_data_10uint32Custom data word 10
custom_data_11uint32Custom data word 11
custom_data_12uint32Custom data word 12
custom_data_13uint32Custom data word 13
custom_data_14uint32Custom data word 14
custom_data_15uint32Custom data word 15

Member functions

Function nameReturn typeInput typeDescription
has_custom_data_id() constboolvoidReturns true if custom_data_id is set.
custom_data_id()const MessageId&voidReturns 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 *voidReturns 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()voidvoidClears 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()voidMessageId *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 *voidReleases 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()uint32voidReturns the current value of custom_data_0. If the custom_data_0 is not set, returns 0.
set_custom_data_0()voiduint32Sets the value of custom_data_0. After calling this, custom_data_0() will return value.
clear_custom_data_0()voidvoidClears the value of custom_data_0. After calling this, custom_data_0() will return 0.
custom_data_1()uint32voidReturns the current value of custom_data_1. If the custom_data_1 is not set, returns 0.
set_custom_data_1()voiduint32Sets the value of custom_data_1. After calling this, custom_data_1() will return value.
clear_custom_data_1()voidvoidClears the value of custom_data_1. After calling this, custom_data_1() will return 0.
custom_data_2()uint32voidReturns the current value of custom_data_2. If the custom_data_2 is not set, returns 0.
set_custom_data_2()voiduint32Sets the value of custom_data_2. After calling this, custom_data_2() will return value.
clear_custom_data_2()voidvoidClears the value of custom_data_2. After calling this, custom_data_2() will return 0.
custom_data_3()uint32voidReturns the current value of custom_data_3. If the custom_data_3 is not set, returns 0.
set_custom_data_3()voiduint32Sets the value of custom_data_3. After calling this, custom_data_3() will return value.
clear_custom_data_3()voidvoidClears the value of custom_data_3. After calling this, custom_data_3() will return 0.
custom_data_4()uint32voidReturns the current value of custom_data_4. If the custom_data_4 is not set, returns 0.
set_custom_data_4()voiduint32Sets the value of custom_data_4. After calling this, custom_data_4() will return value.
clear_custom_data_4()voidvoidClears the value of custom_data_4. After calling this, custom_data_4() will return 0.
custom_data_5()uint32voidReturns the current value of custom_data_5. If the custom_data_5 is not set, returns 0.
set_custom_data_5()voiduint32Sets the value of custom_data_5. After calling this, custom_data_5() will return value.
clear_custom_data_5()voidvoidClears the value of custom_data_5. After calling this, custom_data_5() will return 0.
custom_data_6()uint32voidReturns the current value of custom_data_6. If the custom_data_6 is not set, returns 0.
set_custom_data_6()voiduint32Sets the value of custom_data_6. After calling this, custom_data_6() will return value.
clear_custom_data_6()voidvoidClears the value of custom_data_6. After calling this, custom_data_6() will return 0.
custom_data_7()uint32voidReturns the current value of custom_data_7. If the custom_data_7 is not set, returns 0.
set_custom_data_7()voiduint32Sets the value of custom_data_7. After calling this, custom_data_7() will return value.
clear_custom_data_7()voidvoidClears the value of custom_data_7. After calling this, custom_data_7() will return 0.
custom_data_8()uint32voidReturns the current value of custom_data_8. If the custom_data_8 is not set, returns 0.
set_custom_data_8()voiduint32Sets the value of custom_data_8. After calling this, custom_data_8() will return value.
clear_custom_data_8()voidvoidClears the value of custom_data_8. After calling this, custom_data_8() will return 0.
custom_data_9()uint32voidReturns the current value of custom_data_9. If the custom_data_9 is not set, returns 0.
set_custom_data_9()voiduint32Sets the value of custom_data_9. After calling this, custom_data_9() will return value.
clear_custom_data_9()voidvoidClears the value of custom_data_9. After calling this, custom_data_9() will return 0.
custom_data_10()uint32voidReturns the current value of custom_data_10. If the custom_data_10 is not set, returns 0.
set_custom_data_10()voiduint32Sets the value of custom_data_10. After calling this, custom_data_10() will return value.
clear_custom_data_10()voidvoidClears the value of custom_data_10. After calling this, custom_data_10() will return 0.
custom_data_11()uint32voidReturns the current value of custom_data_11. If the custom_data_11 is not set, returns 0.
set_custom_data_11()voiduint32Sets the value of custom_data_11. After calling this, custom_data_11() will return value.
clear_custom_data_11()voidvoidClears the value of custom_data_11. After calling this, custom_data_11() will return 0.
custom_data_12()uint32voidReturns the current value of custom_data_12. If the custom_data_12 is not set, returns 0.
set_custom_data_12()voiduint32Sets the value of custom_data_12. After calling this, custom_data_12() will return value.
clear_custom_data_12()voidvoidClears the value of custom_data_12. After calling this, custom_data_12() will return 0.
custom_data_13()uint32voidReturns the current value of custom_data_13. If the custom_data_13 is not set, returns 0.
set_custom_data_13()voiduint32Sets the value of custom_data_13. After calling this, custom_data_13() will return value.
clear_custom_data_13()voidvoidClears the value of custom_data_13. After calling this, custom_data_13() will return 0.
custom_data_14()uint32voidReturns the current value of custom_data_14. If the custom_data_14 is not set, returns 0.
set_custom_data_14()voiduint32Sets the value of custom_data_14. After calling this, custom_data_14() will return value.
clear_custom_data_14()voidvoidClears the value of custom_data_14. After calling this, custom_data_14() will return 0.
custom_data_15()uint32voidReturns the current value of custom_data_15. If the custom_data_15 is not set, returns 0.
set_custom_data_15()voiduint32Sets the value of custom_data_15. After calling this, custom_data_15() will return value.
clear_custom_data_15()voidvoidClears the value of custom_data_15. After calling this, custom_data_15() will return 0.

Parent topic: ActuatorCyclic (C++)