Skip to content
Start free evaluation

pdcomm::GemState

Struct

Snapshot of an endpoint's GEM state, returned by GemEndpoint::state().

struct GemState

Declared in: #include <pdcomm_gem.hpp>

Members

communication

Field

Communication state (SEMI E30).

GemCommunication communication

Declared in: #include <pdcomm_gem.hpp>

control

Field

Control state; GemControl::Unavailable for a host.

GemControl control

Declared in: #include <pdcomm_gem.hpp>

endpointId

Field

Process-unique identity of the endpoint, also carried in every token.

uint64_t endpointId

Declared in: #include <pdcomm_gem.hpp>

generation

Field

HSMS connection generation; it changes on every new connection.

uint64_t generation

Declared in: #include <pdcomm_gem.hpp>

onlineMode

Field

Online substate used when going online; GemOnlineMode::Unavailable for a host.

GemOnlineMode onlineMode

Declared in: #include <pdcomm_gem.hpp>

pendingCount

Field

Native requests waiting for a reply (at most 32).

size_t pendingCount

Declared in: #include <pdcomm_gem.hpp>

pendingIds

Field

Identifiers held by pending requests, counted against the configured max_pending_ids.

size_t pendingIds

Declared in: #include <pdcomm_gem.hpp>

role

Field

Configured role.

GemRole role

Declared in: #include <pdcomm_gem.hpp>

variableCount

Field

Registered status variables at the equipment; 0 for a host.

size_t variableCount

Declared in: #include <pdcomm_gem.hpp>