reactor-c
C Runtime for Lingua Franca
Loading...
Searching...
No Matches
lf_port_base_t Struct Reference

Base type for ports. Port structs are customized types because their payloads are type specific. This struct represents their common features. Given any pointer to a port struct, it can be cast to lf_port_base_t and then these common fields can be accessed. IMPORTANT: If this is changed, it must also be changed in CPortGenerator.java generateAuxiliaryStruct(). More...

#include <lf_token.h>

Data Fields

token_template_t tmplt
 
bool is_present
 
lf_sparse_io_record_tsparse_record
 
int destination_channel
 
int num_destinations
 
self_base_tsource_reactor
 

Detailed Description

Base type for ports. Port structs are customized types because their payloads are type specific. This struct represents their common features. Given any pointer to a port struct, it can be cast to lf_port_base_t and then these common fields can be accessed. IMPORTANT: If this is changed, it must also be changed in CPortGenerator.java generateAuxiliaryStruct().

Field Documentation

◆ destination_channel

int lf_port_base_t::destination_channel

◆ is_present

bool lf_port_base_t::is_present

◆ num_destinations

int lf_port_base_t::num_destinations

◆ source_reactor

self_base_t* lf_port_base_t::source_reactor

◆ sparse_record

lf_sparse_io_record_t* lf_port_base_t::sparse_record

◆ tmplt

token_template_t lf_port_base_t::tmplt

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