nros rmw-cffi
C vtable for plugging a third-party RMW backend into nros
Loading...
Searching...
No Matches
Data Fields
nros_rmw_session_t Struct Reference

#include <rmw_entity.h>

Data Fields

uint8_t _reserved [8]
 
void * backend_data
 
const char * namespace_
 
const char * node_name
 

Detailed Description

Per-process RMW session — the entity returned by vtable->open.

Carries the node identity (used for diagnostics + wire-level topic-key derivation in some backends) plus the opaque backend-private state.

The 8-byte _reserved slot is sized for a forthcoming vtable: const struct nros_rmw_vtable_t * field that Phase 104's multi-instance work will land here. Backends and runtime keep these bytes zero.

Field Documentation

◆ _reserved

uint8_t nros_rmw_session_t::_reserved[8]

Reserved for future fields (Phase 104 vtable pointer slot); must be zero.

◆ backend_data

void* nros_rmw_session_t::backend_data

Opaque backend state. NULL for an uninitialised session.

◆ namespace_

const char* nros_rmw_session_t::namespace_

Node namespace (borrowed from caller; outlives the session).

◆ node_name

const char* nros_rmw_session_t::node_name

Node name (borrowed from caller; outlives the session).


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