struct NestConfigConst

Overview

#include <nest_config.h>

struct NestConfigConst {
    // fields

    static constexpr char EngineType[] = "nest_json";
    static constexpr char EngineSchema[] = "json://nrp-core/engines/engines_nest.json#/engine_nest_json";
    static constexpr std::string_view NestPythonPath = "PYTHONPATH=" NRP_PYNEST_PATH ":$PYTHONPATH";
    static constexpr std::string_view NestExecutablePath = "PATH=$PATH:" NRP_NEST_BIN_PATH;
    static constexpr std::string_view NestRNGSeedArg = "--nrprng";
    static constexpr std::string_view InitFileExecStatus = "InitExecStatus";
    static constexpr std::string_view ResetExecStatus = "ResetStatus";
    static constexpr std::string_view InitFileParseDevMap = "InitFileParseDevMap";
    static constexpr std::string_view ErrorMsg = "Message";
};

Detailed Documentation

Fields

static constexpr std::string_view NestPythonPath = "PYTHONPATH=" NRP_PYNEST_PATH ":$PYTHONPATH"

Python Path to Nest. Automatically generated via cmake on installation.

static constexpr std::string_view NestExecutablePath = "PATH=$PATH:" NRP_NEST_BIN_PATH

Path to Nest Server Executable. Automatically generated via cmake on installation.

static constexpr std::string_view NestRNGSeedArg = "--nrprng"

Argument to pass RNG seed argument to Nest.

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).

static constexpr std::string_view ResetExecStatus = "ResetStatus"

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).

static constexpr std::string_view InitFileParseDevMap = "InitFileParseDevMap"

After the server executes the init file, the parsed devMap will be passed back with this param.

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.