Loading...
Searching...
No Matches
RpcCapabilitiesProbe.h
Go to the documentation of this file.
1/*
2** This file is part of eOn.
3**
4** SPDX-License-Identifier: BSD-3-Clause
5**
6** Copyright (c) 2010--present, eOn Development Team
7** All rights reserved.
8**
9** Repo:
10** https://github.com/TheochemUI/eOn
11*/
12#pragma once
13
14#include <cstdint>
15#include <string>
16
17namespace eonc {
18
27 std::string protocolFamily;
28 std::uint16_t protocolMajor = 0;
29 std::uint16_t protocolMinor = 0;
30 std::string schemaId;
31 std::uint16_t bridgeAbiMajor = 0;
32 std::uint16_t bridgeAbiMinor = 0;
33 std::uint32_t bridgeLayout = 0;
34 std::uint16_t dlpackMajor = 0;
35 std::uint16_t dlpackMinor = 0;
36 std::uint64_t bridgeFeatures = 0;
37 std::string backendName;
38 bool available = false;
39 std::string buildVersion;
40 std::string buildRevision;
41 bool servesEnergy = false;
42 bool servesForces = false;
43};
44
49
52
53} // namespace eonc
RAII resource manager for the ARTn C library with global synchronization.
RpcServerCapabilitiesPair readRpcServerCapabilities()
Call getCapabilities on both server classes through an in-process RPC.
Fields read from Potential.getCapabilities.