Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::system::Message Class Reference

Message entity. More...

#include <IPC.h>

Public Member Functions

 Message (std::string message)
 
const std::string & getDataAsString () const
 
const void * data () const
 
size_t length () const
 

Private Attributes

std::string message
 

Detailed Description

Message entity.

Constructor & Destructor Documentation

◆ Message()

Message::Message ( std::string message)
explicit

Instantiate message structure

Parameters
messagebuffer

Member Function Documentation

◆ data()

const void * Message::data ( ) const
nodiscard

Get data pointer

Returns
Data

References message.

◆ getDataAsString()

const std::string & Message::getDataAsString ( ) const
nodiscard

Return current data as a string

Returns
String

References message.

◆ length()

size_t Message::length ( ) const
nodiscard

Get data length

Returns
Data length

References message.

Member Data Documentation

◆ message

std::string sese::system::Message::message
private

Referenced by data(), getDataAsString(), and length().


The documentation for this class was generated from the following files: