EMANE  1.2.1
EMANE::Messages::LoggerRecordMessage Class Reference

#include <loggerrecordmessage.h>

Inheritance diagram for EMANE::Messages::LoggerRecordMessage:
EMANE::Serializable

Public Member Functions

 LoggerRecordMessage (const char *p, size_t len, LogLevel level, std::uint32_t u32SequenceNumber)
 
 LoggerRecordMessage (const void *p, size_t len)
 
 ~LoggerRecordMessage ()
 
const std::string & getLogRecord () const
 
LogLevel getLogLevel () const
 
std::uint32_t getLogSequenceNumber () const
 
Serialization serialize () const override
 

Detailed Description

Definition at line 47 of file loggerrecordmessage.h.

Constructor & Destructor Documentation

◆ LoggerRecordMessage() [1/2]

EMANE::Messages::LoggerRecordMessage::LoggerRecordMessage ( const char *  p,
size_t  len,
LogLevel  level,
std::uint32_t  u32SequenceNumber 
)

Definition at line 66 of file loggerrecordmessage.cc.

◆ LoggerRecordMessage() [2/2]

EMANE::Messages::LoggerRecordMessage::LoggerRecordMessage ( const void *  p,
size_t  len 
)
Exceptions
SerializationException

Definition at line 74 of file loggerrecordmessage.cc.

◆ ~LoggerRecordMessage()

EMANE::Messages::LoggerRecordMessage::~LoggerRecordMessage ( )

Definition at line 105 of file loggerrecordmessage.cc.

Member Function Documentation

◆ getLogLevel()

EMANE::LogLevel EMANE::Messages::LoggerRecordMessage::getLogLevel ( ) const

Definition at line 109 of file loggerrecordmessage.cc.

◆ getLogRecord()

const std::string & EMANE::Messages::LoggerRecordMessage::getLogRecord ( ) const

Definition at line 115 of file loggerrecordmessage.cc.

◆ getLogSequenceNumber()

std::uint32_t EMANE::Messages::LoggerRecordMessage::getLogSequenceNumber ( ) const

Definition at line 121 of file loggerrecordmessage.cc.

◆ serialize()

EMANE::Serialization EMANE::Messages::LoggerRecordMessage::serialize ( ) const
overridevirtual

Gets the serialized form of the object

Returns
serialization
Exceptions
SerializationException
Note
Most objects use Google Protocol Buffers to perform serialization. This is why the Serialization type is a std::string. The serialized data is binary, non-printable data. The std::string just provides a simple API.
https://developers.google.com/protocol-buffers/

Reimplemented from EMANE::Serializable.

Definition at line 127 of file loggerrecordmessage.cc.


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