NRP Core  1.4.1
engine_grpc_config.h
Go to the documentation of this file.
1 /* * NRP Core - Backend infrastructure to synchronize simulations
2  *
3  * Copyright 2020-2023 NRP Team
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  * This project has received funding from the European Union’s Horizon 2020
18  * Framework Programme for Research and Innovation under the Specific Grant
19  * Agreement No. 945539 (Human Brain Project SGA3).
20  */
21 
22 #ifndef ENGINE_GRPC_CONFIG_H
23 #define ENGINE_GRPC_CONFIG_H
24 
25 #include <string_view>
26 
28 {
32  static constexpr std::string_view EngineServerAddrArg = "serverurl";
33 
37  static constexpr std::string_view EngineNameArg = "engine";
38 
42  static constexpr std::string_view ProtobufPluginsPathArg = "protobuf_plugins_path";
43 
47  static constexpr std::string_view ProtobufPluginsArg = "protobuf_plugins";
48 
52  static constexpr std::string_view EngineTimeStepName = "time_step";
53 
57  static constexpr std::string_view EngineTimeName = "time";
58 };
59 
60 
61 #endif // ENGINE_GRPC_CONFIG_H
EngineGRPCConfigConst
Definition: engine_grpc_config.h:27
EngineGRPCConfigConst::ProtobufPluginsArg
static constexpr std::string_view ProtobufPluginsArg
Parameter name that is used to pass the list of protobuf plugins.
Definition: engine_grpc_config.h:47
EngineGRPCConfigConst::EngineNameArg
static constexpr std::string_view EngineNameArg
Parameter name that is used to pass along the engine name.
Definition: engine_grpc_config.h:37
EngineGRPCConfigConst::EngineServerAddrArg
static constexpr std::string_view EngineServerAddrArg
Parameter name that is used to pass along the server address.
Definition: engine_grpc_config.h:32
EngineGRPCConfigConst::ProtobufPluginsPathArg
static constexpr std::string_view ProtobufPluginsPathArg
Parameter name that is used to pass the protobuf plugins path.
Definition: engine_grpc_config.h:42
EngineGRPCConfigConst::EngineTimeStepName
static constexpr std::string_view EngineTimeStepName
JSON name under which the runLoopStep timeStep is saved.
Definition: engine_grpc_config.h:52
EngineGRPCConfigConst::EngineTimeName
static constexpr std::string_view EngineTimeName
JSON name under which the runLoopStep engine time is sent.
Definition: engine_grpc_config.h:57