EduArt Sensor Ring Library 3.0.0
Loading...
Searching...
No Matches
eduart::device::Message< PayloadT > Struct Template Reference

Generic message container with metadata and payload. More...

#include <Measurement.hpp>

Collaboration diagram for eduart::device::Message< PayloadT >:
[legend]

Public Attributes

DeviceID id
 The device that generated this message.
std::chrono::system_clock::time_point timestamp
 Timestamp when the measurement was taken.
double value
 Associated numeric value (e.g., measurement quality, confidence).
PayloadT payload
 The measurement data payload.

Detailed Description

template<typename PayloadT>
struct eduart::device::Message< PayloadT >

Generic message container with metadata and payload.

Template Parameters
PayloadTThe type of data carried in the message.

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