nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
rclcpp_action::Client< A >::GoalAccept Struct Reference

#include <client.hpp>

Static Public Member Functions

static int ffi_deserialize (const uint8_t *data, size_t len, GoalAccept *out)
 

Public Attributes

bool accepted
 
uint8_t goal_id [16]
 

Static Public Attributes

static const size_t SERIALIZED_SIZE_MAX = 32
 

Detailed Description

template<typename A>
struct rclcpp_action::Client< A >::GoalAccept

Goal acceptance response for the Future pattern.

Returned by send_goal_future(). Contains the goal UUID and whether the server accepted the goal.

Member Function Documentation

◆ ffi_deserialize()

template<typename A >
static int rclcpp_action::Client< A >::GoalAccept::ffi_deserialize ( const uint8_t *  data,
size_t  len,
GoalAccept *  out 
)
inlinestatic

Member Data Documentation

◆ accepted

template<typename A >
bool rclcpp_action::Client< A >::GoalAccept::accepted

◆ goal_id

template<typename A >
uint8_t rclcpp_action::Client< A >::GoalAccept::goal_id[16]

Kept a raw array: it is written through the FFI decoder below, and in-tree callers pass it straight on to the raw-array overloads. GoalUUID(accept.goal_id) is the one-token lift (phase-417 W4.b).

◆ SERIALIZED_SIZE_MAX

template<typename A >
const size_t rclcpp_action::Client< A >::GoalAccept::SERIALIZED_SIZE_MAX = 32
static

The documentation for this struct was generated from the following file: