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

Information about a federate known to the RTI, including its runtime state, mode of execution, and connectivity with other federates. More...

#include <rti_remote.h>

Data Fields

bool clock_synchronization_enabled
 Indicates the status of clock synchronization for this federate.
scheduling_node_t enclave
 The base scheduling node information for this federate.
pqueue_tag_tin_transit_message_tags
 Record of in-transit messages to this federate that are not yet processed.
bool requested_stop
 Indicates that the federate has requested stop or has replied to a request for stop from the RTI.
char server_hostname [INET_ADDRSTRLEN]
 Human-readable IP address of the federate's socket server.
struct in_addr server_ip_addr
 Information about the IP address of the socket server of the federate.
int32_t server_port
 Port number of the socket server of the federate.
int socket
 The TCP socket descriptor for communicating with this federate.
lf_thread_t thread_id
 The ID of the thread handling communication with this federate.
struct sockaddr_in UDP_addr
 The UDP address for the federate.

Detailed Description

Information about a federate known to the RTI, including its runtime state, mode of execution, and connectivity with other federates.

The list of upstream and downstream federates does not include those that are connected via a "physical" connection (one denoted with ~>) because those connections do not impose any scheduling constraints.

Field Documentation

◆ clock_synchronization_enabled

bool federate_info_t::clock_synchronization_enabled

Indicates the status of clock synchronization for this federate.

Enabled by default.

◆ enclave

scheduling_node_t federate_info_t::enclave

The base scheduling node information for this federate.

◆ in_transit_message_tags

pqueue_tag_t* federate_info_t::in_transit_message_tags

Record of in-transit messages to this federate that are not yet processed.

This record is ordered based on the time value of each message for a more efficient access.

◆ requested_stop

bool federate_info_t::requested_stop

Indicates that the federate has requested stop or has replied to a request for stop from the RTI.

Used to prevent double-counting a federate when handling lf_request_stop().

◆ server_hostname

char federate_info_t::server_hostname[INET_ADDRSTRLEN]

Human-readable IP address of the federate's socket server.

◆ server_ip_addr

struct in_addr federate_info_t::server_ip_addr

Information about the IP address of the socket server of the federate.

◆ server_port

int32_t federate_info_t::server_port

Port number of the socket server of the federate.

The port number will be -1 if there is no server or if the RTI has not been informed of the port number.

◆ socket

int federate_info_t::socket

The TCP socket descriptor for communicating with this federate.

◆ thread_id

lf_thread_t federate_info_t::thread_id

The ID of the thread handling communication with this federate.

◆ UDP_addr

struct sockaddr_in federate_info_t::UDP_addr

The UDP address for the federate.


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