|
conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
|
Identity + shape for one registered event type. More...
#include <event_type_registry.hpp>

Public Member Functions | |
| parcel::DisplayInfo | display_info () const |
| Cell-level display info, lifted straight from the descriptor. | |
| parcel::json_t | schema () const |
Per-type JSON schema: {kind, display_info, category, fields:[…]}. | |
Public Attributes | |
| std::string_view | name |
Bare event name, e.g. "order.created". | |
| std::string_view | kind_id |
Full wire kind, e.g. "conduit:event:order.created". | |
| parcel::cell_type_descriptor_t | descriptor |
Identity + shape for one registered event type.
The string views and the descriptor handle all have program lifetime (the descriptor is cached in a function-local static; the views point into T::kind_id storage), so an EventTypeInfo is safe to copy and outlive the call that produced it.
|
inline |
Cell-level display info, lifted straight from the descriptor.
|
inline |
Per-type JSON schema: {kind, display_info, category, fields:[…]}.
| parcel::cell_type_descriptor_t conduit::EventTypeInfo::descriptor |
| std::string_view conduit::EventTypeInfo::kind_id |
Full wire kind, e.g. "conduit:event:order.created".
| std::string_view conduit::EventTypeInfo::name |
Bare event name, e.g. "order.created".