uatools 1.0.0
 
Loading...
Searching...
No Matches
server.cpp File Reference

Implementation of the YAML-driven OPC UA test server. More...

#include <eso/uatools/itest/server.hpp>
#include <algorithm>
#include <cmath>
#include <cstdarg>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <stdexcept>
#include <string>
#include <vector>
#include <yaml-cpp/yaml.h>
#include <open62541/server.h>
#include <open62541/server_config_default.h>
#include <cctype>
#include <ifw/fnd/defs/base.hpp>
#include <ifw/fnd/defs/logger.hpp>

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.
 

Detailed Description

Implementation of the YAML-driven OPC UA test server.