![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Type used to pass context info between components during framing/deframing. More...
#include <default/config/FrameContextSerializableAc.hpp>
Public Types | |
enum | { SERIALIZED_SIZE } |
![]() | |
using | SizeType = FwSizeType |
Public Member Functions | |
FrameContext () | |
Constructor (default value) More... | |
FrameContext (FwIndexType comQueueIndex, ComCfg::APID::T apid, U16 sequenceCount, U8 vcId) | |
Member constructor. More... | |
FrameContext (const FrameContext &obj) | |
Copy constructor. More... | |
FrameContext & | operator= (const FrameContext &obj) |
Copy assignment operator. More... | |
bool | operator== (const FrameContext &obj) const |
Equality operator. More... | |
bool | operator!= (const FrameContext &obj) const |
Inequality operator. More... | |
Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
Serialization. More... | |
Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
Deserialization. More... | |
FwIndexType | getcomQueueIndex () const |
Get member comQueueIndex. More... | |
ComCfg::APID::T | getapid () const |
Get member apid. More... | |
U16 | getsequenceCount () const |
Get member sequenceCount. More... | |
U8 | getvcId () const |
Get member vcId. More... | |
void | set (FwIndexType comQueueIndex, ComCfg::APID::T apid, U16 sequenceCount, U8 vcId) |
Set all members. More... | |
void | setcomQueueIndex (FwIndexType comQueueIndex) |
Set member comQueueIndex. More... | |
void | setapid (ComCfg::APID::T apid) |
Set member apid. More... | |
void | setsequenceCount (U16 sequenceCount) |
Set member sequenceCount. More... | |
void | setvcId (U8 vcId) |
Set member vcId. More... | |
Protected Attributes | |
FwIndexType | m_comQueueIndex |
ComCfg::APID | m_apid |
U16 | m_sequenceCount |
U8 | m_vcId |
Additional Inherited Members | |
![]() | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Type used to pass context info between components during framing/deframing.
Definition at line 20 of file FrameContextSerializableAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 30 of file FrameContextSerializableAc.hpp.
ComCfg::FrameContext::FrameContext | ( | ) |
Constructor (default value)
Definition at line 17 of file FrameContextSerializableAc.cpp.
ComCfg::FrameContext::FrameContext | ( | FwIndexType | comQueueIndex, |
ComCfg::APID::T | apid, | ||
U16 | sequenceCount, | ||
U8 | vcId | ||
) |
Member constructor.
Definition at line 28 of file FrameContextSerializableAc.cpp.
ComCfg::FrameContext::FrameContext | ( | const FrameContext & | obj | ) |
Copy constructor.
obj | The source object |
Definition at line 44 of file FrameContextSerializableAc.cpp.
|
virtual |
Deserialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 128 of file FrameContextSerializableAc.cpp.
|
inline |
Get member apid.
Definition at line 128 of file FrameContextSerializableAc.hpp.
|
inline |
Get member comQueueIndex.
Definition at line 122 of file FrameContextSerializableAc.hpp.
|
inline |
Get member sequenceCount.
Definition at line 134 of file FrameContextSerializableAc.hpp.
|
inline |
Get member vcId.
Definition at line 140 of file FrameContextSerializableAc.hpp.
bool ComCfg::FrameContext::operator!= | ( | const FrameContext & | obj | ) | const |
Inequality operator.
obj | The other object |
Definition at line 82 of file FrameContextSerializableAc.cpp.
FrameContext & ComCfg::FrameContext::operator= | ( | const FrameContext & | obj | ) |
Copy assignment operator.
obj | The source object |
Definition at line 59 of file FrameContextSerializableAc.cpp.
bool ComCfg::FrameContext::operator== | ( | const FrameContext & | obj | ) | const |
Equality operator.
obj | The other object |
Definition at line 70 of file FrameContextSerializableAc.cpp.
|
virtual |
Serialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 103 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::set | ( | FwIndexType | comQueueIndex, |
ComCfg::APID::T | apid, | ||
U16 | sequenceCount, | ||
U8 | vcId | ||
) |
Set all members.
Definition at line 192 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::setapid | ( | ComCfg::APID::T | apid | ) |
Set member apid.
Definition at line 212 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::setcomQueueIndex | ( | FwIndexType | comQueueIndex | ) |
Set member comQueueIndex.
Definition at line 206 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::setsequenceCount | ( | U16 | sequenceCount | ) |
Set member sequenceCount.
Definition at line 218 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::setvcId | ( | U8 | vcId | ) |
Set member vcId.
Definition at line 224 of file FrameContextSerializableAc.cpp.
|
protected |
Definition at line 176 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 175 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 177 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 178 of file FrameContextSerializableAc.hpp.