![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
a statement is a directive opcode paired with an argument buffer More...
#include <Svc/FpySequencer/StatementSerializableAc.hpp>
Public Types | |
| enum | { SERIALIZED_SIZE } |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Protected Attributes | |
| Svc::Fpy::DirectiveId | m_opCode |
| Fw::StatementArgBuffer | m_argBuf |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
a statement is a directive opcode paired with an argument buffer
Definition at line 22 of file StatementSerializableAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
Definition at line 32 of file StatementSerializableAc.hpp.
| Svc::Fpy::Statement::Statement | ( | ) |
Constructor (default value)
Definition at line 19 of file StatementSerializableAc.cpp.
| Svc::Fpy::Statement::Statement | ( | Svc::Fpy::DirectiveId::T | opCode, |
| const Fw::StatementArgBuffer & | argBuf | ||
| ) |
Member constructor.
Definition at line 28 of file StatementSerializableAc.cpp.
| Svc::Fpy::Statement::Statement | ( | const Statement & | obj | ) |
Copy constructor.
| obj | The source object |
Definition at line 40 of file StatementSerializableAc.cpp.
|
virtual |
Deserialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 115 of file StatementSerializableAc.cpp.
|
inline |
Get member argBuf.
Definition at line 131 of file StatementSerializableAc.hpp.
|
inline |
Get member argBuf (const)
Definition at line 137 of file StatementSerializableAc.hpp.
|
inline |
Get member opCode.
Definition at line 125 of file StatementSerializableAc.hpp.
| bool Svc::Fpy::Statement::operator!= | ( | const Statement & | obj | ) | const |
Inequality operator.
| obj | The other object |
Definition at line 74 of file StatementSerializableAc.cpp.
Copy assignment operator.
| obj | The source object |
Definition at line 53 of file StatementSerializableAc.cpp.
| bool Svc::Fpy::Statement::operator== | ( | const Statement & | obj | ) | const |
Equality operator.
| obj | The other object |
Definition at line 64 of file StatementSerializableAc.cpp.
| FwSizeType Svc::Fpy::Statement::serializedSize | ( | ) | const |
Get the dynamic serialized size of the struct.
Definition at line 135 of file StatementSerializableAc.cpp.
|
virtual |
Serialization.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 95 of file StatementSerializableAc.cpp.
| void Svc::Fpy::Statement::set | ( | Svc::Fpy::DirectiveId::T | opCode, |
| const Fw::StatementArgBuffer & | argBuf | ||
| ) |
Set all members.
Definition at line 171 of file StatementSerializableAc.cpp.
| void Svc::Fpy::Statement::set_argBuf | ( | const Fw::StatementArgBuffer & | argBuf | ) |
Set member argBuf.
Definition at line 187 of file StatementSerializableAc.cpp.
| void Svc::Fpy::Statement::set_opCode | ( | Svc::Fpy::DirectiveId::T | opCode | ) |
Set member opCode.
Definition at line 181 of file StatementSerializableAc.cpp.
|
protected |
Definition at line 165 of file StatementSerializableAc.hpp.
|
protected |
Definition at line 164 of file StatementSerializableAc.hpp.