![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
Tracks the currently executing host function. More...
#include <Svc/WasmSequencer/WasmSequencer_HostFunctionEnumAc.hpp>
Public Types | |
| enum | T { NONE = 0, TELEMETRY = 1, PARAMETER = 2, COMMAND = 3, EVENT = 4, RSLEEP = 5, ASLEEP = 6, ARGS = 7, TIME = 8, SERIAL_OUT = 9, SERIAL_RECV = 10 } |
| The raw enum type. More... | |
| enum | { SERIALIZED_SIZE = sizeof(SerialType), NUM_CONSTANTS = 11 } |
| 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_HostFunction () | |
| Constructor (default value of NONE) More... | |
| WasmSequencer_HostFunction (const enum T e1) | |
| Constructor (user-provided value) More... | |
| WasmSequencer_HostFunction (const SerialType e1) | |
| Constructor (serial representation value) More... | |
| WasmSequencer_HostFunction (const WasmSequencer_HostFunction &obj) | |
| Copy constructor. More... | |
| WasmSequencer_HostFunction & | operator= (const WasmSequencer_HostFunction &obj) |
| Copy assignment operator (object) More... | |
| WasmSequencer_HostFunction & | operator= (SerialType e1) |
| Assignment operator (serial representation value) More... | |
| WasmSequencer_HostFunction & | 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... | |
Tracks the currently executing host function.
Definition at line 18 of file WasmSequencer_HostFunctionEnumAc.hpp.
The serial representation type.
Definition at line 29 of file WasmSequencer_HostFunctionEnumAc.hpp.
| using Svc::WasmSequencer_HostFunction::t = enum T |
For backwards compatibility.
Definition at line 47 of file WasmSequencer_HostFunctionEnumAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
| NUM_CONSTANTS | The number of enumerated constants. |
Definition at line 55 of file WasmSequencer_HostFunctionEnumAc.hpp.
The raw enum type.
| Enumerator | |
|---|---|
| NONE | |
| TELEMETRY | |
| PARAMETER | |
| COMMAND | |
| EVENT | |
| RSLEEP | |
| ASLEEP | |
| ARGS | |
| TIME | |
| SERIAL_OUT | |
| SERIAL_RECV | |
Definition at line 32 of file WasmSequencer_HostFunctionEnumAc.hpp.
|
inline |
Constructor (default value of NONE)
Definition at line 69 of file WasmSequencer_HostFunctionEnumAc.hpp.
|
inline |
Constructor (user-provided value)
| e1 | The raw enum value |
Definition at line 75 of file WasmSequencer_HostFunctionEnumAc.hpp.
|
inline |
Constructor (serial representation value)
| e1 | The serial representation value |
Definition at line 84 of file WasmSequencer_HostFunctionEnumAc.hpp.
|
inline |
Copy constructor.
| obj | The source object |
Definition at line 93 of file WasmSequencer_HostFunctionEnumAc.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_HostFunctionEnumAc.cpp.
| bool Svc::WasmSequencer_HostFunction::isValid | ( | ) | const |
Check raw enum value for validity.
Definition at line 69 of file WasmSequencer_HostFunctionEnumAc.cpp.
|
static |
Check serial type value for validity.
| serialTypeValue | The serial type value |
Definition at line 174 of file WasmSequencer_HostFunctionEnumAc.cpp.
|
inline |
Conversion operator.
Definition at line 126 of file WasmSequencer_HostFunctionEnumAc.hpp.
|
inline |
Inequality operator.
Definition at line 138 of file WasmSequencer_HostFunctionEnumAc.hpp.
| WasmSequencer_HostFunction & Svc::WasmSequencer_HostFunction::operator= | ( | const WasmSequencer_HostFunction & | obj | ) |
Copy assignment operator (object)
| obj | The source object |
Definition at line 19 of file WasmSequencer_HostFunctionEnumAc.cpp.
| WasmSequencer_HostFunction & Svc::WasmSequencer_HostFunction::operator= | ( | SerialType | e1 | ) |
Assignment operator (serial representation value)
| e1 | The serial representation value |
Definition at line 30 of file WasmSequencer_HostFunctionEnumAc.cpp.
| WasmSequencer_HostFunction & Svc::WasmSequencer_HostFunction::operator= | ( | enum T | e1 | ) |
Copy assignment operator (raw enum)
| e1 | The enum value |
Definition at line 42 of file WasmSequencer_HostFunctionEnumAc.cpp.
|
inline |
Equality operator.
Definition at line 132 of file WasmSequencer_HostFunctionEnumAc.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_HostFunctionEnumAc.cpp.
| enum T Svc::WasmSequencer_HostFunction::e |
The raw enum value.
Definition at line 210 of file WasmSequencer_HostFunctionEnumAc.hpp.