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

#include <Svc/PolyIf/PolyPortAc.hpp>

Public Member Functions

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

Static Public Member Functions

static Fw::SerializeStatus serializePortArgs (const Svc::PolyDbCfg::PolyDbEntry &entry, Svc::MeasurementStatus &status, Fw::Time &time, Fw::PolyType &val, Fw::SerialBufferBase &_buffer)
 Serialize port arguments into a buffer. More...
 

Public Attributes

Svc::PolyDbCfg::PolyDbEntry m_entry
 
Svc::MeasurementStatus m_status
 
Fw::Time m_time
 
Fw::PolyType m_val
 

Detailed Description

Serializer for Poly port Port for setting and getting PolyType values

Definition at line 80 of file PolyPortAc.hpp.

Constructor & Destructor Documentation

◆ PolyPortSerializer()

Svc::PolyPortSerializer::PolyPortSerializer ( )

Constructor.

Definition at line 17 of file PolyPortAc.cpp.

Member Function Documentation

◆ deserializePortArgs()

Fw::SerializeStatus Svc::PolyPortSerializer::deserializePortArgs ( Fw::SerialBufferBase _buffer)

Deserialze port arguments into members.

Parameters
_bufferThe serial buffer

Definition at line 31 of file PolyPortAc.cpp.

◆ serializePortArgs()

Fw::SerializeStatus Svc::PolyPortSerializer::serializePortArgs ( const Svc::PolyDbCfg::PolyDbEntry entry,
Svc::MeasurementStatus status,
Fw::Time time,
Fw::PolyType val,
Fw::SerialBufferBase _buffer 
)
static

Serialize port arguments into a buffer.

Parameters
entryThe entry to access
statusThe command response argument
timeThe time of the measurement
valThe value to be passed
_bufferThe serial buffer

Definition at line 54 of file PolyPortAc.cpp.

Member Data Documentation

◆ m_entry

Svc::PolyDbCfg::PolyDbEntry Svc::PolyPortSerializer::m_entry

Definition at line 123 of file PolyPortAc.hpp.

◆ m_status

Svc::MeasurementStatus Svc::PolyPortSerializer::m_status

Definition at line 124 of file PolyPortAc.hpp.

◆ m_time

Fw::Time Svc::PolyPortSerializer::m_time

Definition at line 125 of file PolyPortAc.hpp.

◆ m_val

Fw::PolyType Svc::PolyPortSerializer::m_val

Definition at line 126 of file PolyPortAc.hpp.


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