pdcomm::GemFormattedProgramSelectionInfo
Struct
State of the equipment's formatted program selection, returned by GemFormattedProgramSelectionSnapshot::info().
struct GemFormattedProgramSelectionInfoMembers
commandCount
Field
Commands of the selected program.
size_t commandCount = 0entryGeneration
Field
Entry generation captured by the selection.
uint64_t entryGeneration = 0idFormat
Field
SECS-II format code of the selected PPID; 0 when empty.
uint8_t idFormat = 0selectionGeneration
Field
Selection revision; for an empty selection the current revision.
uint64_t selectionGeneration = 0sessionGeneration
Field
Connection generation captured by the selection.
uint64_t sessionGeneration = 0staleReason
Field
Why a selection is stale: PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_NONE, ..._STALE_ENTRY_DELETED, ..._STALE_ENTRY_CHANGED, ..._STALE_SESSION_CHANGED, ..._STALE_DISCONNECTED, ..._STALE_CLEARED or ..._STALE_TOKEN_MISMATCH.
uint32_t staleReason = PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_STALE_NONEstate
Field
PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_EMPTY, ..._READY or ..._STALE.
uint32_t state = PDCOMM_GEM_FORMATTED_PROGRAM_SELECTION_EMPTYstoreRevision
Field
Store revision captured by the selection.
uint64_t storeRevision = 0validForExecution
Field
true only in the ready state.
bool validForExecution = false