pdcomm::formattedProgramExecutionSnapshot
Function
Copies the current execution state into a snapshot.
inline GemFormattedProgramExecutionSnapshot formattedProgramExecutionSnapshot(GemEquipment &endpoint)Parameters
| Name | Description |
|---|---|
endpoint | Equipment 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_STATEon a host or without a store.