uatools 1.0.0-pre2
 
Loading...
Searching...
No Matches
Config.hpp File Reference

YAML config loader for UaWatch. More...

#include <cstdint>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  eso::uatools::uawatch::Watcher
 
struct  eso::uatools::uawatch::ReconnectOpts
 
struct  eso::uatools::uawatch::Config
 

Namespaces

namespace  eso
 
namespace  eso::uatools
 
namespace  eso::uatools::uawatch
 

Functions

Config eso::uatools::uawatch::LoadConfig (const std::string &path)
 Load + validate a YAML config. Throws std::runtime_error on parse or schema errors.
 

Detailed Description

YAML config loader for UaWatch.

Describes one or more named "watcher" threads, each of which owns its own ualib::Client and subscribes to a set of nodes. The tool runs each watcher in its own thread and logs every subscription notification and every connection-state transition with a thread tag, so the operator can perturb the environment (reboot PLC, unplug cable, restart server, set TwinCAT to config mode) and observe how each session reacts in real time.