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

Runtime tuning passed to DeviceManager::init. Every field has a sensible default, so a caller can pass {} (or omit it) and override only what it cares about; new knobs can be added here without changing the init signature. More...

#include <device_manager.h>

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

Public Attributes

bool readObjectDictionaryOnPreop = true
 
bool useCompleteAccess = true
 
std::string recorderDumpDir
 
uint32_t recorderCapacity = 300000
 

Detailed Description

Runtime tuning passed to DeviceManager::init. Every field has a sensible default, so a caller can pass {} (or omit it) and override only what it cares about; new knobs can be added here without changing the init signature.

Member Data Documentation

◆ readObjectDictionaryOnPreop

bool mm::node::DeviceManagerConfig::readObjectDictionaryOnPreop = true

Read a device's object dictionary when it first reaches PRE-OP (definitions only, cache-first) so dumps/monitoring/Parameters have names and data types without a manual read. See transitionToState.

◆ recorderCapacity

uint32_t mm::node::DeviceManagerConfig::recorderCapacity = 300000

Depth of the process-data recorder ring in cycles/rows; the ring is allocated at configureProcessData to hold exactly this many cycles, independent of the loop period.

◆ recorderDumpDir

std::string mm::node::DeviceManagerConfig::recorderDumpDir

Directory for .mmpd recorder dumps. Empty resolves to a "motion-master" subdirectory of the OS temporary directory at dump time. Passed through to dumpProcessData.

◆ useCompleteAccess

bool mm::node::DeviceManagerConfig::useCompleteAccess = true

Read multi-subindex objects with a single CoE Complete Access upload during a parameter value read, falling back to per-subindex reads on slaves that do not support it. See Device::initializeParameters.


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