Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
eni_request.cc File Reference
#include "node/eni_request.h"
#include <algorithm>
#include <cstdint>
#include <format>
#include <nlohmann/json.hpp>
#include <optional>
#include <span>
#include <string>
#include <utility>
#include <vector>
#include "comm/esc_registers.h"
#include "comm/fieldbus_driver.h"
#include "core/util.h"
#include "etg/eni.h"
#include "etg/eni_reader.h"
Include dependency graph for eni_request.cc:

Namespaces

namespace  mm
 
namespace  mm::node
 

Functions

std::expected< nlohmann::json, std::string > mm::node::buildEniResponse (std::string_view xml)
 Reads an ENI document and renders it as JSON, with each datagram explained.
 

Variable Documentation

◆ description

std::string description

Catalogue description of the block.

◆ fmmu

bool fmmu = false

The address is an FMMU block.

◆ instance

std::optional<std::uint8_t> instance

Which channel or entity, for a repeating block.

◆ name

std::string name

Catalogue name, e.g. "sm2".

◆ syncManager

bool syncManager = false

The address is a Sync Manager block.