![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/FpySequencer/HeaderSerializableAc.hpp>
Public Types | |
enum | { SERIALIZED_SIZE } |
![]() | |
using | SizeType = FwSizeType |
Public Member Functions | |
Header () | |
Constructor (default value) More... | |
Header (U8 majorVersion, U8 minorVersion, U8 patchVersion, U8 schemaVersion, U8 argumentCount, U16 statementCount, U32 bodySize) | |
Member constructor. More... | |
Header (const Header &obj) | |
Copy constructor. More... | |
Header & | operator= (const Header &obj) |
Copy assignment operator. More... | |
bool | operator== (const Header &obj) const |
Equality operator. More... | |
bool | operator!= (const Header &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... | |
U8 | get_majorVersion () const |
Get member majorVersion. More... | |
U8 | get_minorVersion () const |
Get member minorVersion. More... | |
U8 | get_patchVersion () const |
Get member patchVersion. More... | |
U8 | get_schemaVersion () const |
Get member schemaVersion. More... | |
U8 | get_argumentCount () const |
Get member argumentCount. More... | |
U16 | get_statementCount () const |
Get member statementCount. More... | |
U32 | get_bodySize () const |
Get member bodySize. More... | |
void | set (U8 majorVersion, U8 minorVersion, U8 patchVersion, U8 schemaVersion, U8 argumentCount, U16 statementCount, U32 bodySize) |
Set all members. More... | |
void | set_majorVersion (U8 majorVersion) |
Set member majorVersion. More... | |
void | set_minorVersion (U8 minorVersion) |
Set member minorVersion. More... | |
void | set_patchVersion (U8 patchVersion) |
Set member patchVersion. More... | |
void | set_schemaVersion (U8 schemaVersion) |
Set member schemaVersion. More... | |
void | set_argumentCount (U8 argumentCount) |
Set member argumentCount. More... | |
void | set_statementCount (U16 statementCount) |
Set member statementCount. More... | |
void | set_bodySize (U32 bodySize) |
Set member bodySize. More... | |
![]() | |
SerializeStatus | serialize (SerializeBufferBase &buffer) const |
SerializeStatus | deserialize (SerializeBufferBase &buffer) |
Protected Attributes | |
U8 | m_majorVersion |
U8 | m_minorVersion |
U8 | m_patchVersion |
U8 | m_schemaVersion |
U8 | m_argumentCount |
U16 | m_statementCount |
U32 | m_bodySize |
Additional Inherited Members | |
![]() | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Definition at line 19 of file HeaderSerializableAc.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 29 of file HeaderSerializableAc.hpp.
Svc::Fpy::Header::Header | ( | ) |
Constructor (default value)
Definition at line 19 of file HeaderSerializableAc.cpp.
Svc::Fpy::Header::Header | ( | U8 | majorVersion, |
U8 | minorVersion, | ||
U8 | patchVersion, | ||
U8 | schemaVersion, | ||
U8 | argumentCount, | ||
U16 | statementCount, | ||
U32 | bodySize | ||
) |
Member constructor.
Definition at line 33 of file HeaderSerializableAc.cpp.
Svc::Fpy::Header::Header | ( | const Header & | obj | ) |
Copy constructor.
obj | The source object |
Definition at line 55 of file HeaderSerializableAc.cpp.
|
virtual |
Deserialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 157 of file HeaderSerializableAc.cpp.
|
inline |
Get member argumentCount.
Definition at line 154 of file HeaderSerializableAc.hpp.
|
inline |
Get member bodySize.
Definition at line 166 of file HeaderSerializableAc.hpp.
|
inline |
Get member majorVersion.
Definition at line 130 of file HeaderSerializableAc.hpp.
|
inline |
Get member minorVersion.
Definition at line 136 of file HeaderSerializableAc.hpp.
|
inline |
Get member patchVersion.
Definition at line 142 of file HeaderSerializableAc.hpp.
|
inline |
Get member schemaVersion.
Definition at line 148 of file HeaderSerializableAc.hpp.
|
inline |
Get member statementCount.
Definition at line 160 of file HeaderSerializableAc.hpp.
bool Svc::Fpy::Header::operator!= | ( | const Header & | obj | ) | const |
Inequality operator.
obj | The other object |
Definition at line 99 of file HeaderSerializableAc.cpp.
Copy assignment operator.
obj | The source object |
Definition at line 73 of file HeaderSerializableAc.cpp.
bool Svc::Fpy::Header::operator== | ( | const Header & | obj | ) | const |
Equality operator.
obj | The other object |
Definition at line 84 of file HeaderSerializableAc.cpp.
FwSizeType Svc::Fpy::Header::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 194 of file HeaderSerializableAc.cpp.
|
virtual |
Serialization.
buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 120 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set | ( | U8 | majorVersion, |
U8 | minorVersion, | ||
U8 | patchVersion, | ||
U8 | schemaVersion, | ||
U8 | argumentCount, | ||
U16 | statementCount, | ||
U32 | bodySize | ||
) |
Set all members.
Definition at line 265 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_argumentCount | ( | U8 | argumentCount | ) |
Set member argumentCount.
Definition at line 309 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_bodySize | ( | U32 | bodySize | ) |
Set member bodySize.
Definition at line 321 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_majorVersion | ( | U8 | majorVersion | ) |
Set member majorVersion.
Definition at line 285 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_minorVersion | ( | U8 | minorVersion | ) |
Set member minorVersion.
Definition at line 291 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_patchVersion | ( | U8 | patchVersion | ) |
Set member patchVersion.
Definition at line 297 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_schemaVersion | ( | U8 | schemaVersion | ) |
Set member schemaVersion.
Definition at line 303 of file HeaderSerializableAc.cpp.
void Svc::Fpy::Header::set_statementCount | ( | U16 | statementCount | ) |
Set member statementCount.
Definition at line 315 of file HeaderSerializableAc.cpp.
|
protected |
Definition at line 217 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 219 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 213 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 214 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 215 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 216 of file HeaderSerializableAc.hpp.
|
protected |
Definition at line 218 of file HeaderSerializableAc.hpp.