Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
eni_reader.h
Go to the documentation of this file.
1#pragma once
2
3#include <expected>
4#include <string>
5#include <string_view>
6#include <vector>
7
8#include "etg/eni.h"
9
10namespace mm::etg {
11
20struct EniRead {
22 std::vector<std::string> warnings;
23};
24
38std::expected<EniRead, std::string> readEni(std::string_view xml);
39
40} // namespace mm::etg
Definition eni.cc:18
std::expected< EniRead, std::string > readEni(std::string_view xml)
Reads an ENI document into a network.
Definition eni_reader.cc:491
A complete network configuration (ENI EtherCATConfig/Config).
Definition eni.h:430
A network read out of an ENI document, and what the document held that this model does not.
Definition eni_reader.h:20
std::vector< std::string > warnings
One per element seen and not modelled, or not decodable.
Definition eni_reader.h:22
EniNetwork network
Everything the model covers.
Definition eni_reader.h:21