ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Classes | Macros | Functions | Variables
raft_msg.h File Reference

Defintion of messages used by raft_msg.h. More...

#include "cfe.h"
#include "merger_msg.h"

Go to the source code of this file.

Classes

struct  raftHbeat_t
 raft heartbeat sent to followers from the leader node More...
 
struct  raftHbeatAck_t
 acknowledgement data from follower nodes More...
 
struct  raftVoteRequest_t
 message leader uses to request votes from followers More...
 
struct  raftVoteResponse_t
 followers respond to vote reqeuests with this message More...
 

Macros

#define MAX_NODES   5
 

Functions

struct __attribute__ ((__packed__))
 

Variables

 report_t
 
 cDataLog_t
 

Function Documentation

◆ __attribute__()

struct __attribute__ ( (__packed__)  )

< Aircraft ID

< Current intersection for which scheduling is required

< Earliest a/c can reach the intersection (using max speed)

< Current arrival time (using current speed)

< Late arrival time (using slowest speed + allowed deviations)

< Number of times scheduler has been run

< zone status

< cFS header information

< Intersection ID for the current raft network

< Raft node status of current vehicle

< Total number of nodes in the network