Skip to content
Start free evaluation

pdcomm::formattedProgramExecutionSnapshot

Function

Copies the current execution state into a snapshot.

inline GemFormattedProgramExecutionSnapshot formattedProgramExecutionSnapshot(GemEquipment &endpoint)

Declared in: #include <pdcomm_gem_formatted_program_executions.hpp>

Parameters

NameDescription
endpointEquipment endpoint with formatted program requests configured.

Returns

A snapshot; its state is PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_EMPTY when no execution was started.

Notes

  • Throws pdcomm::Error: PDCOMM_INVALID_STATE on a host or without a store.