WSF
wsf::comm::layer Namespace Reference

Classes

class  Message

Functions

static constexpr const Message cDOWN_ACK_SEND (0U, "UPPER_LAYER_ACK_SEND", false)
static constexpr const Message cDOWN_NACK_SEND (1U, "UPPER_LAYER_NACK_SEND", false)
static constexpr const Message cUP_ACK_SEND (2U, "LOWER_LAYER_ACK_SEND", true)
static constexpr const Message cUP_NACK_SEND (3U, "LOWER_LAYER_NACK_SEND", true)
static constexpr const Message cDOWN_ACK_RECEIVE (4U, "UPPER_LAYER_ACK_RECEIVE", false)
static constexpr const Message cDOWN_NACK_RECEIVE (5U, "UPPER_LAYER_NACK_RECEIVE", false)
static constexpr const Message cUP_ACK_RECEIVE (6U, "LOWER_LAYER_ACK_RECEIVE", true)
static constexpr const Message cUP_NACK_RECEIVE (7U, "LOWER_LAYER_NACK_RECEIVE", true)
static constexpr const Message cNETWORK_FORWARD (8U, "FORWARD_MESSAGE", false)
static constexpr const Message cNETWORK_MULTIPLE_SEND (9U, "MULTIPLE_SEND", false)
static constexpr const Message cDATALINK_READY (10U, "DATALINK_READY", false)
static constexpr const Message cDATALINK_QUEUE_PURGE (11U, "DATALINK_QUEUE_PURGE", false)

Function Documentation

◆ cDATALINK_QUEUE_PURGE()

constexpr const Message wsf::comm::layer::cDATALINK_QUEUE_PURGE ( 11U ,
"DATALINK_QUEUE_PURGE" ,
false  )
staticconstexpr

◆ cDATALINK_READY()

constexpr const Message wsf::comm::layer::cDATALINK_READY ( 10U ,
"DATALINK_READY" ,
false  )
staticconstexpr

Datalink Layer These messages are solely used for future event scheduling for the datalink layer. They are only used internally to this layer.

Referenced by wsf::comm::DatalinkLayer::AddToQueue(), wsf::comm::DatalinkLayer::ProcessLayerMessage(), wsf::comm::DatalinkLayer::TransmitComplete(), and wsf::comm::DatalinkLayer::TransmitFailed().

◆ cDOWN_ACK_RECEIVE()

◆ cDOWN_ACK_SEND()

constexpr const Message wsf::comm::layer::cDOWN_ACK_SEND ( 0U ,
"UPPER_LAYER_ACK_SEND" ,
false  )
staticconstexpr

Common layer type messages used in the AFSIM core. Note that the term "lower" refers to the distance from hardware, s.t. the "lowest" layer is typically the physical layer. Note that going "down" the stack means going to a "lower" layer, regardless of sending or receiving (Sending a message goes "down" the stack, while receiving a message goes "up" the stack.)

The names here generalize the direction of travel in the stack, although this may not originate at either end of the stack. The name character string provides a general message TO the intended recipient, such that a message traveling down the stack is from an upper layer.

General message instances.

Referenced by wsf::comm::ApplicationLayer::ProcessLayerMessage(), wsf::comm::DatalinkLayer::ProcessLayerMessage(), wsf::comm::NetworkLayer::ProcessLayerMessage(), wsf::comm::PhysicalLayer::ProcessLayerMessage(), wsf::comm::PresentationLayer::ProcessLayerMessage(), wsf::comm::SessionLayer::ProcessLayerMessage(), wsf::comm::TransportLayer::ProcessLayerMessage(), wsf::comm::DatalinkLayer::ReadyToTransmit(), and wsf::comm::DatalinkLayer::TransmitFailed().

◆ cDOWN_NACK_RECEIVE()

◆ cDOWN_NACK_SEND()

◆ cNETWORK_FORWARD()

constexpr const Message wsf::comm::layer::cNETWORK_FORWARD ( 8U ,
"FORWARD_MESSAGE" ,
false  )
staticconstexpr

Layer specific instances. Network Layer - These messages are used in the same layer, but on the opposite side of the stack (send vs. receive).

Referenced by wsf::comm::NetworkLayer::ProcessLayerMessage(), and wsf::comm::NetworkLayer::Receive().

◆ cNETWORK_MULTIPLE_SEND()

constexpr const Message wsf::comm::layer::cNETWORK_MULTIPLE_SEND ( 9U ,
"MULTIPLE_SEND" ,
false  )
staticconstexpr

◆ cUP_ACK_RECEIVE()

◆ cUP_ACK_SEND()

◆ cUP_NACK_RECEIVE()

◆ cUP_NACK_SEND()

Copyrights Multiple, All Rights Reserved