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

#include <Fw/Com/ComPortAc.hpp>

Public Member Functions

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

Static Public Member Functions

static Fw::SerializeStatus serializePortArgs (Fw::ComBuffer &data, U32 context, Fw::SerialBufferBase &_buffer)
 Serialize port arguments into a buffer. More...
 

Public Attributes

Fw::ComBuffer m_data
 
U32 m_context
 

Detailed Description

Serializer for Com port Port for passing communication packet buffers

Definition at line 75 of file ComPortAc.hpp.

Constructor & Destructor Documentation

◆ ComPortSerializer()

Fw::ComPortSerializer::ComPortSerializer ( )

Constructor.

Definition at line 17 of file ComPortAc.cpp.

Member Function Documentation

◆ deserializePortArgs()

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

Deserialze port arguments into members.

Parameters
_bufferThe serial buffer

Definition at line 29 of file ComPortAc.cpp.

◆ serializePortArgs()

Fw::SerializeStatus Fw::ComPortSerializer::serializePortArgs ( Fw::ComBuffer data,
U32  context,
Fw::SerialBufferBase _buffer 
)
static

Serialize port arguments into a buffer.

Parameters
dataBuffer containing packet data
contextCall context value; meaning chosen by user
_bufferThe serial buffer

Definition at line 46 of file ComPortAc.cpp.

Member Data Documentation

◆ m_context

U32 Fw::ComPortSerializer::m_context

Definition at line 117 of file ComPortAc.hpp.

◆ m_data

Fw::ComBuffer Fw::ComPortSerializer::m_data

Definition at line 116 of file ComPortAc.hpp.


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