CommRaT 2.0.0
C++20 Real-Time Messaging Framework
Loading...
Searching...
No Matches
commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata Struct Reference

CommRaT-specific metadata (compile-time constants) More...

#include <commrat/introspection/message_schema.hpp>

Public Attributes

uint32_t message_id = Registry::template get_message_id<PayloadT>()
 
std::string payload_type = rfl::type_name_t<PayloadT>().str()
 
std::string full_type = rfl::type_name_t<TimsMessage<PayloadT>>().str()
 
size_t max_message_size = Registry::max_message_size
 
std::string registry_name = rfl::type_name_t<Registry>().str()
 

Detailed Description

template<typename PayloadT, typename Registry>
struct commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata

CommRaT-specific metadata (compile-time constants)

Contains messaging-layer information computed at compile time:

  • Message ID for routing and filtering
  • Type names for debugging and display
  • Size bounds for buffer allocation
  • Registry identification for multi-application systems

Definition at line 61 of file message_schema.hpp.

Member Data Documentation

◆ full_type

template<typename PayloadT , typename Registry >
std::string commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata::full_type = rfl::type_name_t<TimsMessage<PayloadT>>().str()

Definition at line 64 of file message_schema.hpp.

◆ max_message_size

template<typename PayloadT , typename Registry >
size_t commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata::max_message_size = Registry::max_message_size

Definition at line 65 of file message_schema.hpp.

◆ message_id

template<typename PayloadT , typename Registry >
uint32_t commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata::message_id = Registry::template get_message_id<PayloadT>()

Definition at line 62 of file message_schema.hpp.

◆ payload_type

template<typename PayloadT , typename Registry >
std::string commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata::payload_type = rfl::type_name_t<PayloadT>().str()

Definition at line 63 of file message_schema.hpp.

◆ registry_name

template<typename PayloadT , typename Registry >
std::string commrat::MessageSchema< PayloadT, Registry >::CommRaTMetadata::registry_name = rfl::type_name_t<Registry>().str()

Definition at line 66 of file message_schema.hpp.


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