NRP Core  1.4.1
EngineJSONConfigConst Struct Reference

#include <engine_json_config.h>

Static Public Attributes

static constexpr short MaxAddrBindTries = 1024
 Maximum amount of tries for EngineJSONserver to bind to different ports. More...
 
static constexpr std::string_view EngineServerAddrArg = "serverurl"
 Parameter name that is used to pass along the server address. More...
 
static constexpr std::string_view EngineRegistrationServerAddrArg = "regservurl"
 Parameter name that is used to pass along the server address. More...
 
static constexpr std::string_view EngineNameArg = "engine"
 Parameter name that is used to pass along the engine name. More...
 
static constexpr std::string_view EngineServerGetDataPacksRoute = "/get_datapacks"
 REST Server Route from which to get datapack information. More...
 
static constexpr std::string_view EngineServerSetDataPacksRoute = "/set_datapacks"
 REST Server Route to which to send datapack changes. More...
 
static constexpr std::string_view EngineServerRunLoopStepRoute = "/run_loop"
 REST Server Route to execute a single loop. More...
 
static constexpr std::string_view EngineServerInitializeRoute = "/initialize"
 REST Server Route for engine initialization. More...
 
static constexpr std::string_view EngineServerResetRoute = "/reset"
 REST Server Route for engine reset. More...
 
static constexpr std::string_view EngineServerShutdownRoute = "/shutdown"
 REST Server Route for engine shutdown. More...
 
static constexpr std::string_view EngineTimeStepName = "time_step"
 JSON name under which the runLoopStep timeStep is saved. More...
 
static constexpr std::string_view EngineTimeName = "time"
 JSON name under which the runLoopStep engine time is sent. More...
 
static constexpr std::string_view EngineServerContentType = "application/json"
 Content Type passed between server and client. More...
 

Member Data Documentation

◆ EngineNameArg

constexpr std::string_view EngineJSONConfigConst::EngineNameArg = "engine"
staticconstexpr

Parameter name that is used to pass along the engine name.

◆ EngineRegistrationServerAddrArg

constexpr std::string_view EngineJSONConfigConst::EngineRegistrationServerAddrArg = "regservurl"
staticconstexpr

Parameter name that is used to pass along the server address.

◆ EngineServerAddrArg

constexpr std::string_view EngineJSONConfigConst::EngineServerAddrArg = "serverurl"
staticconstexpr

Parameter name that is used to pass along the server address.

◆ EngineServerContentType

constexpr std::string_view EngineJSONConfigConst::EngineServerContentType = "application/json"
staticconstexpr

Content Type passed between server and client.

◆ EngineServerGetDataPacksRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerGetDataPacksRoute = "/get_datapacks"
staticconstexpr

REST Server Route from which to get datapack information.

◆ EngineServerInitializeRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerInitializeRoute = "/initialize"
staticconstexpr

REST Server Route for engine initialization.

◆ EngineServerResetRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerResetRoute = "/reset"
staticconstexpr

REST Server Route for engine reset.

◆ EngineServerRunLoopStepRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerRunLoopStepRoute = "/run_loop"
staticconstexpr

REST Server Route to execute a single loop.

◆ EngineServerSetDataPacksRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerSetDataPacksRoute = "/set_datapacks"
staticconstexpr

REST Server Route to which to send datapack changes.

◆ EngineServerShutdownRoute

constexpr std::string_view EngineJSONConfigConst::EngineServerShutdownRoute = "/shutdown"
staticconstexpr

REST Server Route for engine shutdown.

◆ EngineTimeName

constexpr std::string_view EngineJSONConfigConst::EngineTimeName = "time"
staticconstexpr

JSON name under which the runLoopStep engine time is sent.

◆ EngineTimeStepName

constexpr std::string_view EngineJSONConfigConst::EngineTimeStepName = "time_step"
staticconstexpr

JSON name under which the runLoopStep timeStep is saved.

◆ MaxAddrBindTries

constexpr short EngineJSONConfigConst::MaxAddrBindTries = 1024
staticconstexpr

Maximum amount of tries for EngineJSONserver to bind to different ports.


The documentation for this struct was generated from the following file: