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

Common RTI data structure for both remote standalone RTI and local RTI used in enclaved execution. More...

#include <rti_common.h>

Data Fields

bool dnet_disabled
 Boolean indicating that DNET is enabled.
tag_t max_stop_tag
 RTI's decided stop tag for the scheduling nodes.
tag_tmin_delays
 Matrix of minimum delays between pairs of nodes.
lf_mutex_t * mutex
 The RTI mutex for making thread-safe access to the shared state.
int num_scheduling_nodes_handling_stop
 Number of scheduling nodes handling stop.
uint16_t number_of_scheduling_nodes
 Number of scheduling nodes.
scheduling_node_t ** scheduling_nodes
 The scheduling nodes.
bool tracing_enabled
 Boolean indicating that tracing is enabled.

Detailed Description

Common RTI data structure for both remote standalone RTI and local RTI used in enclaved execution.

rti_remote_t and rti_local_t will "inherit" from this data structure. The first field is an array of pointers to scheduling nodes. These will be scheduling nodes for the local RTI and federates for the remote RTI.

Field Documentation

◆ dnet_disabled

bool rti_common_t::dnet_disabled

Boolean indicating that DNET is enabled.

◆ max_stop_tag

tag_t rti_common_t::max_stop_tag

RTI's decided stop tag for the scheduling nodes.

◆ min_delays

tag_t* rti_common_t::min_delays

Matrix of minimum delays between pairs of nodes.

Rows represent upstream nodes and columns represent downstream nodes. FOREVER_TAG means there is no path, and ZERO_TAG means there is no delay. This could be NULL if the matrix is not being used, so accesses should test for NULL first.

◆ mutex

lf_mutex_t* rti_common_t::mutex

The RTI mutex for making thread-safe access to the shared state.

◆ num_scheduling_nodes_handling_stop

int rti_common_t::num_scheduling_nodes_handling_stop

Number of scheduling nodes handling stop.

◆ number_of_scheduling_nodes

uint16_t rti_common_t::number_of_scheduling_nodes

Number of scheduling nodes.

◆ scheduling_nodes

scheduling_node_t** rti_common_t::scheduling_nodes

The scheduling nodes.

◆ tracing_enabled

bool rti_common_t::tracing_enabled

Boolean indicating that tracing is enabled.


The documentation for this struct was generated from the following file:
  • /Users/runner/work/reactor-c/reactor-c/core/federated/RTI/rti_common.h