16#include "Reflection.h"
32struct ExecStateEnum : util::Reflection<ExecStateEnum, ExecState>
34 static constexpr long minVal = 0;
36 static bool isValid(
auto val) {
return val >= minVal && val <= maxVal; }
38 static const char *prefix() {
return "STATE"; }
39 static const char *key(
long value)
VirtualC64 project namespace.
Definition CmdQueue.cpp:16
EXEC_STATE
Execution state.
Definition ThreadTypes.h:22
@ STATE_UNINIT
Not yet initialized.
Definition ThreadTypes.h:23
@ STATE_OFF
Powered off.
Definition ThreadTypes.h:24
@ STATE_PAUSED
Powered on, but currently paused.
Definition ThreadTypes.h:25
@ STATE_HALTED
Shut down.
Definition ThreadTypes.h:28
@ STATE_SUSPENDED
Shortly paused for an internal state change.
Definition ThreadTypes.h:27
@ STATE_RUNNING
Up and running.
Definition ThreadTypes.h:26