nros C++ API
Lightweight ROS 2 client for embedded real-time systems (C++ headers)
Loading...
Searching...
No Matches
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

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()

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

Member Data Documentation

◆ accepted

bool GoalAccept::accepted

◆ goal_id

uint8_t 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

const size_t GoalAccept::SERIALIZED_SIZE_MAX = 32
static

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