YAML-driven OPC UA test server, library form. More...
#include <atomic>#include <cstdint>#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | eso |
| namespace | eso::uatools |
| namespace | eso::uatools::itest |
Functions | |
| ServerConfigYaml | eso::uatools::itest::LoadConfig (const std::string &path) |
Load a YAML file into a ServerConfigYaml. | |
| int | eso::uatools::itest::Serve (const ServerConfigYaml &cfg, std::atomic< bool > &stop_flag) |
Run an OPC UA server defined by cfg until stop_flag is set. | |
YAML-driven OPC UA test server, library form.
This is the engine that backs UaItestServer. It is exposed as a library so the same server can be embedded in C++ integration tests (gtest) that drive ualib end-to-end without spawning a separate process.
Typical embedded usage: