WSF
wsf::comm::layer::Message Class Reference

#include <WsfCommLayerMessage.hpp>

Public Member Functions

constexpr Message (size_t aValue, char const *aName, bool aLowerSender)
 ~Message ()=default
constexpr size_t GetValue () const
constexpr char const * GetName () const
constexpr bool FromLower () const

Detailed Description

The Message class for distinguishing between layer messages. Users may create their own instances for new layer implementations. Implementations only parse the size_t primitive, and the character array is used for output, debugging, and maintenance.

Note: Should be updated when string view is available with C++17

These messages may have different meanings to each layer implementation. The use case, however, is generally consistent across each layer.

Constructor & Destructor Documentation

◆ Message()

wsf::comm::layer::Message::Message ( size_t aValue,
char const * aName,
bool aLowerSender )
inlineconstexpr

◆ ~Message()

wsf::comm::layer::Message::~Message ( )
default

Member Function Documentation

◆ FromLower()

bool wsf::comm::layer::Message::FromLower ( ) const
inlineconstexpr

◆ GetName()

char const * wsf::comm::layer::Message::GetName ( ) const
inlineconstexpr

◆ GetValue()


The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved