![]() |
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 } |
Public Types inherited from Fw::Serializable | |
| 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, Fw::Endianness mode=Fw::Endianness::BIG) const |
| Serialization. More... | |
| Fw::SerializeStatus | deserializeFrom (Fw::SerializeBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) |
| 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... | |
Public Member Functions inherited from Fw::Serializable | |
| DEPRECATED (SerializeStatus serialize(SerializeBufferBase &buffer) const, "Use serializeTo(SerializeBufferBase& buffer) instead") | |
| DEPRECATED (SerializeStatus deserialize(SerializeBufferBase &buffer), "Use deserializeFrom(SerializeBufferBase& buffer) instead") | |
Protected Attributes | |
| FwIndexType | m_comQueueIndex |
| ComCfg::Apid | m_apid |
| U16 | m_sequenceCount |
| U8 | m_vcId |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| 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 |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 131 of file FrameContextSerializableAc.cpp.
|
inline |
Get member apid.
Definition at line 133 of file FrameContextSerializableAc.hpp.
|
inline |
Get member comQueueIndex.
Definition at line 127 of file FrameContextSerializableAc.hpp.
|
inline |
Get member sequenceCount.
Definition at line 139 of file FrameContextSerializableAc.hpp.
|
inline |
Get member vcId.
Definition at line 145 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 159 of file FrameContextSerializableAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized 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 209 of file FrameContextSerializableAc.cpp.
| void ComCfg::FrameContext::set_apid | ( | ComCfg::Apid::T | apid | ) |
Set member apid.
Definition at line 229 of file FrameContextSerializableAc.cpp.
| void ComCfg::FrameContext::set_comQueueIndex | ( | FwIndexType | comQueueIndex | ) |
Set member comQueueIndex.
Definition at line 223 of file FrameContextSerializableAc.cpp.
| void ComCfg::FrameContext::set_sequenceCount | ( | U16 | sequenceCount | ) |
Set member sequenceCount.
Definition at line 235 of file FrameContextSerializableAc.cpp.
| void ComCfg::FrameContext::set_vcId | ( | U8 | vcId | ) |
Set member vcId.
Definition at line 241 of file FrameContextSerializableAc.cpp.
|
protected |
Definition at line 181 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 180 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 182 of file FrameContextSerializableAc.hpp.
|
protected |
Definition at line 183 of file FrameContextSerializableAc.hpp.