F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Fw::LogPortSerializer Class Reference

#include <Fw/Log/LogPortAc.hpp>

Public Member Functions

 LogPortSerializer ()
 Constructor. More...
 
Fw::SerializeStatus deserializePortArgs (Fw::SerialBufferBase &_buffer)
 Deserialze port arguments into members. More...
 

Static Public Member Functions

static Fw::SerializeStatus serializePortArgs (FwEventIdType id, Fw::Time &timeTag, const Fw::LogSeverity &severity, Fw::LogBuffer &args, Fw::SerialBufferBase &_buffer)
 Serialize port arguments into a buffer. More...
 

Public Attributes

FwEventIdType m_id
 
Fw::Time m_timeTag
 
Fw::LogSeverity m_severity
 
Fw::LogBuffer m_args
 

Detailed Description

Serializer for Log port Event log port

Definition at line 80 of file LogPortAc.hpp.

Constructor & Destructor Documentation

◆ LogPortSerializer()

Fw::LogPortSerializer::LogPortSerializer ( )

Constructor.

Definition at line 17 of file LogPortAc.cpp.

Member Function Documentation

◆ deserializePortArgs()

Fw::SerializeStatus Fw::LogPortSerializer::deserializePortArgs ( Fw::SerialBufferBase _buffer)

Deserialze port arguments into members.

Parameters
_bufferThe serial buffer

Definition at line 31 of file LogPortAc.cpp.

◆ serializePortArgs()

Fw::SerializeStatus Fw::LogPortSerializer::serializePortArgs ( FwEventIdType  id,
Fw::Time timeTag,
const Fw::LogSeverity severity,
Fw::LogBuffer args,
Fw::SerialBufferBase _buffer 
)
static

Serialize port arguments into a buffer.

Parameters
idLog ID
timeTagTime Tag
severityThe severity argument
argsBuffer containing serialized log entry
_bufferThe serial buffer

Definition at line 54 of file LogPortAc.cpp.

Member Data Documentation

◆ m_args

Fw::LogBuffer Fw::LogPortSerializer::m_args

Definition at line 126 of file LogPortAc.hpp.

◆ m_id

FwEventIdType Fw::LogPortSerializer::m_id

Definition at line 123 of file LogPortAc.hpp.

◆ m_severity

Fw::LogSeverity Fw::LogPortSerializer::m_severity

Definition at line 125 of file LogPortAc.hpp.

◆ m_timeTag

Fw::Time Fw::LogPortSerializer::m_timeTag

Definition at line 124 of file LogPortAc.hpp.


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