ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
Loading...
Searching...
No Matches
sb_route_t Struct Reference

Single route entry: one msg_id → up to SB_MAX_SUBS_PER_MSG pipes. More...

Data Fields

sb_msg_id_t msg_id
 Subscribed message ID

 
uint8_t pipes [4]
 Subscriber pipe indices

 
uint8_t count
 Active subscriber count

 
bool used
 Slot is occupied

 

Detailed Description

Single route entry: one msg_id → up to SB_MAX_SUBS_PER_MSG pipes.

Definition at line 39 of file sb.c.

Field Documentation

◆ count

uint8_t sb_route_t::count

Active subscriber count

Definition at line 42 of file sb.c.

Referenced by __sb_publish(), __sb_subscribe(), __sb_subscriber_count(), and __sb_unsubscribe().

◆ msg_id

sb_msg_id_t sb_route_t::msg_id

Subscribed message ID

Definition at line 40 of file sb.c.

Referenced by __sb_subscribe().

◆ pipes

uint8_t sb_route_t::pipes[4]

Subscriber pipe indices

Definition at line 41 of file sb.c.

Referenced by __sb_publish(), __sb_subscribe(), and __sb_unsubscribe().

◆ used

bool sb_route_t::used

Slot is occupied

Definition at line 43 of file sb.c.

Referenced by alloc_route().


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