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

One file stored on a device, as its file list reports it. More...

#include <somanet_drive.h>

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

Public Attributes

std::string name
 Filename as FoE addresses it, e.g. "hr_data0.bin".
 
std::optional< size_t > byteCount
 Size the device reported, when it reported one.
 

Detailed Description

One file stored on a device, as its file list reports it.

byteCount is optional because the size is what the list claims, not what a read returned: a firmware that reports a name without one is still reporting a file that can be read.

Member Data Documentation

◆ byteCount

std::optional<size_t> mm::node::DeviceFile::byteCount

Size the device reported, when it reported one.

◆ name

std::string mm::node::DeviceFile::name

Filename as FoE addresses it, e.g. "hr_data0.bin".


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