Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
eni.cc File Reference
#include "etg/eni.h"
#include <algorithm>
#include <array>
#include <cstddef>
#include <format>
#include <nlohmann/json.hpp>
#include <pugixml.hpp>
#include <set>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "core/util.h"
Include dependency graph for eni.cc:

Namespaces

namespace  mm
 
namespace  mm::etg
 

Functions

void mm::etg::to_json (nlohmann::json &j, const EniNetwork &network)
 Serialises a network as JSON, for a client that renders rather than replays it.
 
std::string mm::etg::eniPhysics (std::uint16_t physicalPort)
 Renders the ENI Physics string for a device from its SII physical-port word.
 
std::expected< std::string, std::string > mm::etg::writeEni (const EniNetwork &network)
 Renders a network as an ENI document.