12#ifndef WSFCOMMLAYERMESSAGE_HPP
13#define WSFCOMMLAYERMESSAGE_HPP
15#include "wsf_export.h"
38 constexpr Message(
size_t aValue,
char const* aName,
bool aLowerSender)
41 , mLower(aLowerSender)
46 constexpr size_t GetValue()
const {
return mValue; }
47 constexpr char const*
GetName()
const {
return mName; }
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfCommLayerMessage.hpp:36
constexpr char const * GetName() const
Definition WsfCommLayerMessage.hpp:47
constexpr bool FromLower() const
Definition WsfCommLayerMessage.hpp:48
constexpr size_t GetValue() const
Definition WsfCommLayerMessage.hpp:46
constexpr Message(size_t aValue, char const *aName, bool aLowerSender)
Definition WsfCommLayerMessage.hpp:38
Definition WsfCommLayerMessage.hpp:24
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 cUP_ACK_SEND(2U, "LOWER_LAYER_ACK_SEND", true)
static constexpr const Message cUP_ACK_RECEIVE(6U, "LOWER_LAYER_ACK_RECEIVE", true)
static constexpr const Message cNETWORK_FORWARD(8U, "FORWARD_MESSAGE", false)
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 cDATALINK_QUEUE_PURGE(11U, "DATALINK_QUEUE_PURGE", false)
static constexpr const Message cUP_NACK_SEND(3U, "LOWER_LAYER_NACK_SEND", true)
static constexpr const Message cUP_NACK_RECEIVE(7U, "LOWER_LAYER_NACK_RECEIVE", 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)
Definition WsfComm.cpp:34
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32