#include <python_config.h>
|
| static constexpr char | EngineType [] = "python_json" |
| |
| static constexpr char | EngineSchema [] = "json://nrp-core/engines/engine_python.json#/python_json" |
| |
| static constexpr std::string_view | InitFileExecStatus = "InitExecStatus" |
| | After the server executes the init file, this status flag will either be 1 for success or 0 for fail. If the execution fails, a JSON message with more details will be passed as well (under ErrorMsg). More...
|
| |
| static constexpr std::string_view | ResetExecStatus = "ResetExecStatus" |
| | After the server resets, this status flag will either be 1 for success or 0 for fail. If the execution fails, a JSON message with more details will be passed as well (under ErrorMsg). More...
|
| |
| static constexpr std::string_view | ErrorMsg = "Message" |
| | If the init file could not be parsed, the python error message will be stored under this JSON property name. More...
|
| |
| static constexpr std::string_view | ExtraServerOptionsArg = "options" |
| | Parameter name that is used to pass along the server address. More...
|
| |
| static constexpr std::string_view | SimulationTimeRatio = "TimeRatio" |
| | Ratio used by SimulationTime. More...
|
| |
◆ EngineSchema
| constexpr char PythonConfigConst::EngineSchema[] = "json://nrp-core/engines/engine_python.json#/python_json" |
|
staticconstexpr |
◆ EngineType
| constexpr char PythonConfigConst::EngineType[] = "python_json" |
|
staticconstexpr |
◆ ErrorMsg
| constexpr std::string_view PythonConfigConst::ErrorMsg = "Message" |
|
staticconstexpr |
If the init file could not be parsed, the python error message will be stored under this JSON property name.
◆ ExtraServerOptionsArg
| constexpr std::string_view PythonConfigConst::ExtraServerOptionsArg = "options" |
|
staticconstexpr |
Parameter name that is used to pass along the server address.
◆ InitFileExecStatus
| constexpr std::string_view PythonConfigConst::InitFileExecStatus = "InitExecStatus" |
|
staticconstexpr |
After the server executes the init file, this status flag will either be 1 for success or 0 for fail. If the execution fails, a JSON message with more details will be passed as well (under ErrorMsg).
◆ ResetExecStatus
| constexpr std::string_view PythonConfigConst::ResetExecStatus = "ResetExecStatus" |
|
staticconstexpr |
After the server resets, this status flag will either be 1 for success or 0 for fail. If the execution fails, a JSON message with more details will be passed as well (under ErrorMsg).
◆ SimulationTimeRatio
| constexpr std::string_view PythonConfigConst::SimulationTimeRatio = "TimeRatio" |
|
staticconstexpr |
Ratio used by SimulationTime.
The ratio should be passed to the server on initialization. In that way we can communicate to the server what time units are used in the simulation. This will impact the time step passed with runLoop command, as well as the simulation time returned.
The documentation for this struct was generated from the following file: