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

#include <nros_generated.h>

Collaboration diagram for nros_publisher_t:
Collaboration graph
[legend]

Data Fields

uint64_t _opaque [PUBLISHER_OPAQUE_U64S]
 
const struct nros_node_tnode
 
enum nros_publisher_state_t state
 
uint8_t topic_name [256]
 
size_t topic_name_len
 
uint8_t type_hash [128]
 
size_t type_hash_len
 
uint8_t type_name [256]
 
size_t type_name_len
 

Detailed Description

Publisher structure.

Field Documentation

◆ _opaque

uint64_t nros_publisher_t::_opaque[PUBLISHER_OPAQUE_U64S]

Inline opaque storage for the RMW publisher handle. Avoids heap allocation — managed by nros_publisher_init/fini.

◆ node

const struct nros_node_t* nros_publisher_t::node

Pointer to parent node

◆ state

enum nros_publisher_state_t nros_publisher_t::state

Current state

◆ topic_name

uint8_t nros_publisher_t::topic_name[256]

Topic name storage

◆ topic_name_len

size_t nros_publisher_t::topic_name_len

Topic name length

◆ type_hash

uint8_t nros_publisher_t::type_hash[128]

Type hash storage

◆ type_hash_len

size_t nros_publisher_t::type_hash_len

Type hash length

◆ type_name

uint8_t nros_publisher_t::type_name[256]

Type name storage

◆ type_name_len

size_t nros_publisher_t::type_name_len

Type name length


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