EduArt Sensor Ring Library 4.0.0
Loading...
Searching...
No Matches
SensorRingFactory.hpp File Reference

Factory for creating sensor rings via auto-discovery, configured expectations, or a mix of both. More...

Include dependency graph for SensorRingFactory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  eduart::sensorring::SensorRingFactory
 Factory for creating a SensorRing. More...

Enumerations

enum class  eduart::sensorring::ValidationMode { Strict , Relaxed }
 Controls how build() handles mismatches between expectations and discovered hardware. More...

Detailed Description

Factory for creating sensor rings via auto-discovery, configured expectations, or a mix of both.

Author
EduArt Robotik GmbH
Date
2026-02-19

Enumeration Type Documentation

◆ ValidationMode

Controls how build() handles mismatches between expectations and discovered hardware.

Enumerator
Strict 

All expectations must match exactly by index; build() returns nullptr on any mismatch.

Relaxed 

Expectations are matched by searching for compatible boards (board type and required devices) rather than by index. Unmatched expectations are logged as warnings; build() succeeds with whatever subset could be reconciled.