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

A parsed .hardware_description file (specification §3.2). More...

#include <hardware_description.h>

Collaboration diagram for mm::node::HardwareDescription:
[legend]

Public Attributes

std::string fileVersion
 Format version, semver, e.g. "1.2.0".
 
HardwareProduct device
 The SOMANET device storing this file. Required.
 
std::optional< HardwareProductassembly
 The product it was built into, if any.
 

Detailed Description

A parsed .hardware_description file (specification §3.2).

device is not optional and that is structural rather than a simplification: the file lives on the device, so a file without one cannot exist. An assembly is present only when the device was packaged into one — an ACTILINK is an assembly with a SOMANET Node device inside it — and when it is, it is what firmware is matched against first.

Member Data Documentation

◆ assembly

std::optional<HardwareProduct> mm::node::HardwareDescription::assembly

The product it was built into, if any.

◆ device

HardwareProduct mm::node::HardwareDescription::device

The SOMANET device storing this file. Required.

◆ fileVersion

std::string mm::node::HardwareDescription::fileVersion

Format version, semver, e.g. "1.2.0".


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