![]() |
CommRaT 2.0.0
C++20 Real-Time Messaging Framework
|
Input metadata structure returned by accessor methods. More...
#include <commrat/module/metadata/input_metadata.hpp>
Static Public Member Functions | |
| static constexpr const char * | type_name () |
Public Attributes | |
| uint64_t | timestamp |
| Message timestamp (from TimsHeader) | |
| uint32_t | sequence_number |
| Message sequence number. | |
| uint32_t | message_id |
| Message type ID. | |
| bool | is_new_data |
| True if freshly received, false if stale/reused. | |
| bool | is_valid |
| True if getData succeeded, false if failed. | |
Input metadata structure returned by accessor methods.
Contains timestamp, sequence number, and freshness information about a received input message. Available for modules with continuous inputs.
| T | The payload type of the input |
Definition at line 36 of file input_metadata.hpp.
|
inlinestaticconstexpr |
Definition at line 44 of file input_metadata.hpp.
| bool commrat::InputMetadata< T >::is_new_data |
True if freshly received, false if stale/reused.
Definition at line 40 of file input_metadata.hpp.
| bool commrat::InputMetadata< T >::is_valid |
True if getData succeeded, false if failed.
Definition at line 41 of file input_metadata.hpp.
| uint32_t commrat::InputMetadata< T >::message_id |
Message type ID.
Definition at line 39 of file input_metadata.hpp.
| uint32_t commrat::InputMetadata< T >::sequence_number |
Message sequence number.
Definition at line 38 of file input_metadata.hpp.
| uint64_t commrat::InputMetadata< T >::timestamp |
Message timestamp (from TimsHeader)
Definition at line 37 of file input_metadata.hpp.