![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Direct invocation of a single API function from named JSON arguments. More...
#include <map>#include <string>#include <vector>#include "line/reg/api_json.h"#include "line/reg/registry.h"Go to the source code of this file.
Classes | |
| struct | line::reg::ArithSpec |
| The arithmetic a call runs at: Real also carries the precision tier. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::reg |
Functions | |
| ArithSpec | line::reg::parse_arith (const std::string &text) |
| Parse –arith. | |
| std::vector< std::string > | line::reg::api_exposed_functions () |
| Names exposed over this boundary, sorted; a subset of the registry. | |
| bool | line::reg::api_is_exposed (const std::string &name) |
| True when the named function has a dispatch entry. | |
| std::map< std::string, std::string > | line::reg::api_library_only_functions () |
| Registered functions that can NEVER be carried by named JSON arguments, each with the reason (a callable argument, a random generator passed by reference, ...). | |
| Json | line::reg::api_invoke (const std::string &name, const std::string &arith, const Json &args) |
| Invoke one API function. | |
| std::string | line::reg::api_render_readable (const Json &result) |
| Human-readable rendering of the object api_invoke returns, for -o readable. | |
Direct invocation of a single API function from named JSON arguments.
This is the entry point behind the CLI's –api flag and the one a pybind11 or MEX gateway should call, so that all hosts share one dispatch table and one conversion policy (include/line/reg/api_json.h).
Three refusals, all explicit and all by name, because the port is incremental and a caller must never be able to mistake "not wired" for a result:
Definition in file api_dispatch.h.