Function rcl_lifecycle_get_zero_initialized_state

Function Documentation

rcl_lifecycle_state_t rcl_lifecycle_get_zero_initialized_state(void)

Return a rcl_lifecycle_state_t struct with members set to NULL or 0.

Should be called to get a null rcl_lifecycle_state_t before passing to rcl_lifecycle_state_init().

Returns:

rcl_lifecycle_state_t a initilized struct