![]() |
CommRaT 2.0.0
C++20 Real-Time Messaging Framework
|
Input metadata structure returned by accessor methods. More...
#include <commrat/module/metadata/input_metadata_accessors.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 45 of file input_metadata_accessors.hpp.
|
inlinestaticconstexpr |
Definition at line 53 of file input_metadata_accessors.hpp.
| bool commrat::InputMetadataAccessors< ModuleType >::InputMetadata< T >::is_new_data |
True if freshly received, false if stale/reused.
Definition at line 49 of file input_metadata_accessors.hpp.
| bool commrat::InputMetadataAccessors< ModuleType >::InputMetadata< T >::is_valid |
True if getData succeeded, false if failed.
Definition at line 50 of file input_metadata_accessors.hpp.
| uint32_t commrat::InputMetadataAccessors< ModuleType >::InputMetadata< T >::message_id |
Message type ID.
Definition at line 48 of file input_metadata_accessors.hpp.
| uint32_t commrat::InputMetadataAccessors< ModuleType >::InputMetadata< T >::sequence_number |
Message sequence number.
Definition at line 47 of file input_metadata_accessors.hpp.
| uint64_t commrat::InputMetadataAccessors< ModuleType >::InputMetadata< T >::timestamp |
Message timestamp (from TimsHeader)
Definition at line 46 of file input_metadata_accessors.hpp.
Referenced by commrat::InputMetadataAccessors< ModuleType >::get_input_metadata().