CommRaT 2.0.0
C++20 Real-Time Messaging Framework
Loading...
Searching...
No Matches
introspection.hpp File Reference

Main introspection header - include this for schema export. More...

Go to the source code of this file.

Namespaces

namespace  commrat
 CommRaT - Modern C++ Real-Time Communication Framework.
 

Detailed Description

Main introspection header - include this for schema export.

Provides complete introspection capabilities for CommRaT applications:

  • MessageSchema: Combines CommRaT metadata with SeRTial layout
  • IntrospectionHelper: Registry-wide export to any rfl format

Quick Start:

using MyApp = CommRaT<Message::Data<TempData>, Message::Data<StatusData>>;
// Export single message to JSON
auto json = MyApp::Introspection::export_as<TempData, rfl::json>();
// Export all messages to file
MyApp::Introspection::write_to_file<rfl::json>("schemas.json");
Main introspection header - include this for schema export.
Author
CommRaT Development Team
Date
February 12, 2026

Definition in file introspection.hpp.