![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Describes the frame header format for a Advanced Orbiting Systems (AOS) Space Data Link (SDL) Transfer Frame. More...
#include <Svc/Ccsds/Types/AOSHeaderSerializableAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| AOSHeader () | |
| Constructor (default value) More... | |
| AOSHeader (U16 globalVcId, U32 frameCountAndSignaling) | |
| Member constructor. More... | |
| AOSHeader (const AOSHeader &obj) | |
| Copy constructor. More... | |
| AOSHeader & | operator= (const AOSHeader &obj) |
| Copy assignment operator. More... | |
| bool | operator== (const AOSHeader &obj) const |
| Equality operator. More... | |
| bool | operator!= (const AOSHeader &obj) const |
| Inequality operator. More... | |
| Fw::SerializeStatus | serializeTo (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const |
| Serialization. More... | |
| Fw::SerializeStatus | deserializeFrom (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) |
| Deserialization. More... | |
| FwSizeType | serializedSize () const |
| Get the dynamic serialized size of the struct. More... | |
| U16 | get_globalVcId () const |
| Get member globalVcId. More... | |
| U32 | get_frameCountAndSignaling () const |
| Get member frameCountAndSignaling. More... | |
| void | set (U16 globalVcId, U32 frameCountAndSignaling) |
| Set all members. More... | |
| void | set_globalVcId (U16 globalVcId) |
| Set member globalVcId. More... | |
| void | set_frameCountAndSignaling (U32 frameCountAndSignaling) |
| Set member frameCountAndSignaling. More... | |
Public Member Functions inherited from Fw::Serializable | |
| DEPRECATED (SerializeStatus serialize(SerialBufferBase &buffer) const, "Use serializeTo(SerialBufferBase& buffer) instead") | |
| DEPRECATED (SerializeStatus deserialize(SerialBufferBase &buffer), "Use deserializeFrom(SerialBufferBase& buffer) instead") | |
Protected Attributes | |
| U16 | m_globalVcId |
| U32 | m_frameCountAndSignaling |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
Describes the frame header format for a Advanced Orbiting Systems (AOS) Space Data Link (SDL) Transfer Frame.
Definition at line 20 of file AOSHeaderSerializableAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 30 of file AOSHeaderSerializableAc.hpp.
| Svc::Ccsds::AOSHeader::AOSHeader | ( | ) |
Constructor (default value)
Definition at line 19 of file AOSHeaderSerializableAc.cpp.
| Svc::Ccsds::AOSHeader::AOSHeader | ( | U16 | globalVcId, |
| U32 | frameCountAndSignaling | ||
| ) |
Member constructor.
Definition at line 28 of file AOSHeaderSerializableAc.cpp.
| Svc::Ccsds::AOSHeader::AOSHeader | ( | const AOSHeader & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 40 of file AOSHeaderSerializableAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 115 of file AOSHeaderSerializableAc.cpp.
|
inline |
Get member frameCountAndSignaling.
Definition at line 129 of file AOSHeaderSerializableAc.hpp.
|
inline |
Get member globalVcId.
Definition at line 123 of file AOSHeaderSerializableAc.hpp.
| bool Svc::Ccsds::AOSHeader::operator!= | ( | const AOSHeader & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 74 of file AOSHeaderSerializableAc.cpp.
Copy assignment operator.
| obj | The source object |
Definition at line 53 of file AOSHeaderSerializableAc.cpp.
| bool Svc::Ccsds::AOSHeader::operator== | ( | const AOSHeader & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 64 of file AOSHeaderSerializableAc.cpp.
| FwSizeType Svc::Ccsds::AOSHeader::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 135 of file AOSHeaderSerializableAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 95 of file AOSHeaderSerializableAc.cpp.
| void Svc::Ccsds::AOSHeader::set | ( | U16 | globalVcId, |
| U32 | frameCountAndSignaling | ||
| ) |
Set all members.
Definition at line 171 of file AOSHeaderSerializableAc.cpp.
| void Svc::Ccsds::AOSHeader::set_frameCountAndSignaling | ( | U32 | frameCountAndSignaling | ) |
Set member frameCountAndSignaling.
Definition at line 187 of file AOSHeaderSerializableAc.cpp.
| void Svc::Ccsds::AOSHeader::set_globalVcId | ( | U16 | globalVcId | ) |
Set member globalVcId.
Definition at line 181 of file AOSHeaderSerializableAc.cpp.
|
protected |
Definition at line 157 of file AOSHeaderSerializableAc.hpp.
|
protected |
Definition at line 156 of file AOSHeaderSerializableAc.hpp.