![]() |
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 | serializeTo (Fw::SerializeBufferBase &buffer) const |
Serialization. More... | |
Fw::SerializeStatus | deserializeFrom (Fw::SerializeBufferBase &buffer) |
Deserialization. More... | |
FwSizeType | serializedSize () const |
Get the dynamic serialized size of the struct. More... | |
FwIndexType | get_comQueueIndex () const |
Get member comQueueIndex. More... | |
ComCfg::APID::T | get_apid () const |
Get member apid. More... | |
U16 | get_sequenceCount () const |
Get member sequenceCount. More... | |
U8 | get_vcId () const |
Get member vcId. More... | |
void | set (FwIndexType comQueueIndex, ComCfg::APID::T apid, U16 sequenceCount, U8 vcId) |
Set all members. More... | |
void | set_comQueueIndex (FwIndexType comQueueIndex) |
Set member comQueueIndex. More... | |
void | set_apid (ComCfg::APID::T apid) |
Set member apid. More... | |
void | set_sequenceCount (U16 sequenceCount) |
Set member sequenceCount. More... | |
void | set_vcId (U8 vcId) |
Set member vcId. More... | |
![]() | |
SerializeStatus | serialize (SerializeBufferBase &buffer) const |
SerializeStatus | deserialize (SerializeBufferBase &buffer) |
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 131 of file FrameContextSerializableAc.hpp.
|
inline |
Get member comQueueIndex.
Definition at line 125 of file FrameContextSerializableAc.hpp.
|
inline |
Get member sequenceCount.
Definition at line 137 of file FrameContextSerializableAc.hpp.
|
inline |
Get member vcId.
Definition at line 143 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.
FwSizeType ComCfg::FrameContext::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 153 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 203 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::set_apid | ( | ComCfg::APID::T | apid | ) |
Set member apid.
Definition at line 223 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::set_comQueueIndex | ( | FwIndexType | comQueueIndex | ) |
Set member comQueueIndex.
Definition at line 217 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::set_sequenceCount | ( | U16 | sequenceCount | ) |
Set member sequenceCount.
Definition at line 229 of file FrameContextSerializableAc.cpp.
void ComCfg::FrameContext::set_vcId | ( | U8 | vcId | ) |
Set member vcId.
Definition at line 235 of file FrameContextSerializableAc.cpp.
|
protected |
Definition at line 179 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 178 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 180 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 181 of file FrameContextSerializableAc.hpp.