![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Svc/WasmSequencer/WasmSequencer_ExitReasonEnumAc.hpp>
Public Types | |
| enum | T { UNKNOWN = 0, INTERPRETER_FINISHED = 1, INTERPRETER_TRAP = 2, HOST_EXIT = 3, HOST_PANIC = 4, REPLY_TIMEOUT = 5, HOST_FAILURE = 6, UNEXPECTED_REPLY = 7, CANCEL = 8, TIMER_INCOMPARABLE = 9 } |
| The raw enum type. More... | |
| enum | { SERIALIZED_SIZE = sizeof(SerialType), NUM_CONSTANTS = 10 } |
| using | SerialType = U8 |
| The serial representation type. More... | |
| using | t = enum T |
| For backwards compatibility. More... | |
Public Types inherited from Fw::Serializable | |
| using | SizeType = FwSizeType |
Public Member Functions | |
| WasmSequencer_ExitReason () | |
| Constructor (default value of UNKNOWN) More... | |
| WasmSequencer_ExitReason (const enum T e1) | |
| Constructor (user-provided value) More... | |
| WasmSequencer_ExitReason (const SerialType e1) | |
| Constructor (serial representation value) More... | |
| WasmSequencer_ExitReason (const WasmSequencer_ExitReason &obj) | |
| Copy constructor. More... | |
| WasmSequencer_ExitReason & | operator= (const WasmSequencer_ExitReason &obj) |
| Copy assignment operator (object) More... | |
| WasmSequencer_ExitReason & | operator= (SerialType e1) |
| Assignment operator (serial representation value) More... | |
| WasmSequencer_ExitReason & | operator= (enum T e1) |
| Copy assignment operator (raw enum) More... | |
| operator enum T () const | |
| Conversion operator. More... | |
| bool | operator== (enum T e1) const |
| Equality operator. More... | |
| bool | operator!= (enum T e1) const |
| Inequality operator. More... | |
| bool | isValid () const |
| Check raw enum value for validity. More... | |
| Fw::SerializeStatus | serializeTo (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const |
| Serialize raw enum value to SerialType. More... | |
| Fw::SerializeStatus | deserializeFrom (Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) |
| Deserialize raw enum value from SerialType. 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") | |
Static Public Member Functions | |
| static bool | isValid (SerialType serialTypeValue) |
| Check serial type value for validity. More... | |
Public Attributes | |
| enum T | e |
| The raw enum value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| Virtual destructor. More... | |
Definition at line 17 of file WasmSequencer_ExitReasonEnumAc.hpp.
The serial representation type.
Definition at line 28 of file WasmSequencer_ExitReasonEnumAc.hpp.
| using Svc::WasmSequencer_ExitReason::t = enum T |
For backwards compatibility.
Definition at line 55 of file WasmSequencer_ExitReasonEnumAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
| NUM_CONSTANTS | The number of enumerated constants. |
Definition at line 63 of file WasmSequencer_ExitReasonEnumAc.hpp.
The raw enum type.
Definition at line 31 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
inline |
Constructor (default value of UNKNOWN)
Definition at line 77 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
inline |
Constructor (user-provided value)
| e1 | The raw enum value |
Definition at line 83 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
inline |
Constructor (serial representation value)
| e1 | The serial representation value |
Definition at line 92 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
inline |
Copy constructor.
| obj | The source object |
Definition at line 101 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
virtual |
Deserialize raw enum value from SerialType.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 93 of file WasmSequencer_ExitReasonEnumAc.cpp.
| bool Svc::WasmSequencer_ExitReason::isValid | ( | ) | const |
Check raw enum value for validity.
Definition at line 69 of file WasmSequencer_ExitReasonEnumAc.cpp.
|
static |
Check serial type value for validity.
| serialTypeValue | The serial type value |
Definition at line 171 of file WasmSequencer_ExitReasonEnumAc.cpp.
|
inline |
Conversion operator.
Definition at line 134 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
inline |
Inequality operator.
Definition at line 146 of file WasmSequencer_ExitReasonEnumAc.hpp.
| WasmSequencer_ExitReason & Svc::WasmSequencer_ExitReason::operator= | ( | const WasmSequencer_ExitReason & | obj | ) |
Copy assignment operator (object)
| obj | The source object |
Definition at line 19 of file WasmSequencer_ExitReasonEnumAc.cpp.
| WasmSequencer_ExitReason & Svc::WasmSequencer_ExitReason::operator= | ( | SerialType | e1 | ) |
Assignment operator (serial representation value)
| e1 | The serial representation value |
Definition at line 30 of file WasmSequencer_ExitReasonEnumAc.cpp.
| WasmSequencer_ExitReason & Svc::WasmSequencer_ExitReason::operator= | ( | enum T | e1 | ) |
Copy assignment operator (raw enum)
| e1 | The enum value |
Definition at line 42 of file WasmSequencer_ExitReasonEnumAc.cpp.
|
inline |
Equality operator.
Definition at line 140 of file WasmSequencer_ExitReasonEnumAc.hpp.
|
virtual |
Serialize raw enum value to SerialType.
| buffer | The serial buffer |
| mode | Endianness of serialized buffer |
Implements Fw::Serializable.
Definition at line 75 of file WasmSequencer_ExitReasonEnumAc.cpp.
| enum T Svc::WasmSequencer_ExitReason::e |
The raw enum value.
Definition at line 218 of file WasmSequencer_ExitReasonEnumAc.hpp.