Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::etg::Property Struct Reference

A name/value annotation (ETG.2000 PropertyType). More...

#include <esi.h>

Collaboration diagram for mm::etg::Property:
[legend]

Public Attributes

std::string name
 
std::string value
 

Detailed Description

A name/value annotation (ETG.2000 PropertyType).

The format's generic extension point, and how Synapticon carries everything the schema has no field for. Two names are conventional — "description" (XML-escaped HTML) and "options" (a JSON object mapping an enum label to an integer) — but the mechanism is open, so properties are always carried verbatim and any decoding of a particular name is a convenience layered on top (see EsiEntry::description / EsiEntry::options).

Warning
Appears wrapped in <Properties> under Object and DataType, but bare under DataType/SubItem. That asymmetry is in the XSD (EtherCATBase.xsd:172 vs :57/:403), not a vendor bug, and the parser handles both placements.

Member Data Documentation

◆ name

std::string mm::etg::Property::name

◆ value

std::string mm::etg::Property::value

The documentation for this struct was generated from the following file: