HAL
hal::ChannelEntry Struct Reference

The ChannelEntry struct is used by the ChannelItem class to store a single entry. More...

#include <channel_item.h>

Collaboration diagram for hal::ChannelEntry:
Collaboration graph

Public Member Functions

 ChannelEntry (std::string msg, spdlog::level::level_enum msg_type)
 

Public Attributes

const std::string mMsg
 
const spdlog::level::level_enum mMsgType
 

Detailed Description

The ChannelEntry struct is used by the ChannelItem class to store a single entry.

An entry consists of the message itself and and its type (error, debug, etc.).

Definition at line 43 of file channel_item.h.

Constructor & Destructor Documentation

◆ ChannelEntry()

hal::ChannelEntry::ChannelEntry ( std::string  msg,
spdlog::level::level_enum  msg_type 
)
inline

The channel entry's "constructor"

Parameters
msg- The message
msg_type- The message's type

Definition at line 51 of file channel_item.h.

Member Data Documentation

◆ mMsg

const std::string hal::ChannelEntry::mMsg

Definition at line 55 of file channel_item.h.

◆ mMsgType

const spdlog::level::level_enum hal::ChannelEntry::mMsgType

Definition at line 56 of file channel_item.h.


The documentation for this struct was generated from the following file: