![]() |
EduArt Sensor Ring Library 4.0.0
|
Communication endpoint identifier. More...
#include <cstdint>#include <string>#include "sensorring/platform/SensorringExport.hpp"Go to the source code of this file.
Classes | |
| struct | eduart::sensorring::com::ComEndpoint |
| Uniquely identifies a communication endpoint as a (Direction, BoardAddress, DeviceId) tuple. More... | |
| struct | std::hash< eduart::sensorring::com::ComEndpoint > |
| Hash function for ComEndpoint, allowing use in unordered containers. More... | |
Enumerations | |
| enum class | eduart::sensorring::com::Direction : std::uint8_t { Input = 0 , Broadcast = 0 , Output = 1 } |
| Communication direction on the CAN bus, from the board's perspective. More... | |
Functions | |
| bool | eduart::sensorring::com::endpointMatches (const ComEndpoint &subscription, const ComEndpoint &incoming) |
| Check whether a subscription endpoint matches an incoming endpoint. | |
Communication endpoint identifier.
|
strong |
|
inline |
Check whether a subscription endpoint matches an incoming endpoint.
Supports the ANY_BOARD wildcard: if subscription.boardAddress == ANY_BOARD, it matches any incoming board address.