nros C API
Lightweight ROS 2 client for embedded real-time systems
Loading...
Searching...
No Matches
Data Fields
rclc_polling_client_t Struct Reference

#include <nros_generated.h>

Collaboration diagram for rclc_polling_client_t:
Collaboration graph
[legend]

Data Fields

uint64_t _opaque [SERVICE_CLIENT_OPAQUE_U64S]
 
struct rclc_node_ref_t node
 
enum rclc_client_state_t state
 

Detailed Description

A service client the CALLER drives, with no executor (phase-487 W2).

The C counterpart of C++'s nros::PollClient<S>. _opaque holds a RawServiceClient from rclc_polling_client_init until rclc_polling_client_fini. Zero-initialised is UNINITIALIZED. Until phase-487 it was the NROS_CLIENT_STATE_POLLING state of rcl_client_t.

Field Documentation

◆ _opaque

uint64_t rclc_polling_client_t::_opaque[SERVICE_CLIENT_OPAQUE_U64S]

Inline storage for the RawServiceClient. Internal: treat as opaque.

◆ node

struct rclc_node_ref_t rclc_polling_client_t::node

The node the client was created on.

◆ state

enum rclc_client_state_t rclc_polling_client_t::state

Current state: UNINITIALIZED, INITIALIZED (client live) or SHUTDOWN.


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