pdcomm::GemFormattedProgramExecutionInfo
Struct
State of the equipment's formatted program execution, returned by GemFormattedProgramExecutionSnapshot::info().
struct GemFormattedProgramExecutionInfoMembers
applicationDetailLength
Field
Length of the application detail bytes.
size_t applicationDetailLengthapplicationReportId
Field
Report ID passed to completeFormattedProgramExecution(); valid when its presence bit is set.
uint64_t applicationReportIdapplicationReportKind
Field
Final report submitted by the application: 0 (none), PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_TERMINAL_COMPLETE, ..._TERMINAL_FAIL or ..._TERMINAL_OUTCOME_UNKNOWN.
uint32_t applicationReportKindcapabilityPresent
Field
true when the dry run used a capability catalog.
bool capabilityPresentcapabilityRevision
Field
Capability catalog revision of the dry run.
uint64_t capabilityRevisioncommandCount
Field
Commands of the executed program.
size_t commandCountdryRunOutcome
Field
Outcome of the dry run the execution was started with (PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_*).
uint32_t dryRunOutcomeendpointId
Field
Endpoint that runs the execution.
uint64_t endpointIdentryGeneration
Field
Entry generation of the selection that was executed.
uint64_t entryGenerationexecutionGeneration
Field
Execution number.
uint64_t executionGenerationidFormat
Field
SECS-II format code of the executed PPID.
uint8_t idFormatnextCommandIndex
Field
Index of the next command a step would request; equals #commandCount when all commands were applied.
size_t nextCommandIndexpendingActionSequence
Field
Sequence number of the pending action; valid when its presence bit is set.
uint64_t pendingActionSequencependingKind
Field
Kind of the action waiting for a result (..._ACTION_*), or ..._ACTION_NONE.
uint32_t pendingKindpolicyVersion
Field
Dry-run policy version of that report.
uint32_t policyVersionpresenceMask
Field
Which optional data is present: PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_PENDING_ACTION_PRESENT, ..._APPLICATION_REPORT_PRESENT and ..._APPLICATION_DETAIL_PRESENT bits.
uint32_t presenceMaskselectionGeneration
Field
Selection revision that was executed.
uint64_t selectionGenerationsessionGeneration
Field
Connection generation of the execution.
uint64_t sessionGenerationstate
Field
Execution state: PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_EMPTY, ..._START_PENDING, ..._RUNNING, ..._STEP_PENDING, ..._CANCEL_PENDING, ..._APPLICATION_REJECTED, ..._COMPLETED, ..._FAILED, ..._CANCELLED or ..._OUTCOME_UNKNOWN.
uint32_t statestoreRevision
Field
Store revision of the selection that was executed.
uint64_t storeRevision