Skip to content
Start free evaluation

pdcomm::gemFormattedProgramCapabilityOptions

Function

Builds versioned limits for S7F21/F22 process capability exchange.

inline PdcommGemFormattedProgramCapabilityOptions gemFormattedProgramCapabilityOptions(size_t maxCommands, size_t maxCommandCodeBytes, size_t maxParametersPerCommand, size_t maxTotalParameters, size_t maxDependenciesPerField, size_t maxTotalDependencies, size_t maxTotalParameterBytes, size_t maxCapabilityBytes, size_t maxPending, size_t maxReceived, size_t maxResults, size_t maxHistory)

Declared in: #include <pdcomm_gem_formatted_program_capabilities.hpp>

Every limit must be nonzero.

Parameters

NameDescription
maxCommandsMaximum command descriptions in one catalog.
maxCommandCodeBytesMaximum bytes of one CCODE.
maxParametersPerCommandMaximum parameter descriptions of one command.
maxTotalParametersMaximum parameter descriptions across the catalog.
maxDependenciesPerFieldMaximum entries in one dependency list.
maxTotalDependenciesMaximum dependency entries across the catalog.
maxTotalParameterBytesMaximum encoded parameter bytes across the catalog.
maxCapabilityBytesMaximum encoded size of the whole capability data.
maxPendingMaximum submitted requests waiting for S7F22.
maxReceivedMaximum received requests waiting for a response.
maxResultsMaximum completed exchanges kept; the oldest is dropped first.
maxHistoryMaximum handled exchanges remembered to reject replays.

Returns

Options with struct_size and version set.