|
conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
|
EventEnvelope — a parcel cell carrying conduit's envelope metadata plus a polymorphic payload cell.
More...
#include <conduit/event.hpp>#include <conduit/exception.hpp>#include <conduit/flags.hpp>#include <conduit/metadata.hpp>#include <ulid/ulid.h>#include <chrono>#include <compare>#include <cstdint>#include <memory>#include <optional>#include <string>#include <string_view>#include <utility>#include <parcel/parcel.h>

Go to the source code of this file.
Classes | |
| struct | conduit::detail::EnvelopeCore |
| Internal core shared between envelope copies — accessors return references into this struct so transport pipelines can mutate timestamps/metadata on a copy and see the change reflected on the original. More... | |
| class | conduit::EventEnvelope |
| Polymorphic envelope cell. More... | |
Namespaces | |
| namespace | conduit |
| namespace | conduit::detail |
Typedefs | |
| using | conduit::EventEnvelopeView = EventEnvelope |
View alias: the envelope is already type-erased over its payload via parcel::cell_t, so the legacy EventEnvelopeView name simply maps onto EventEnvelope itself. | |
Functions | |
| std::int64_t | conduit::detail::to_ms_since_epoch (const std::chrono::system_clock::time_point tp) noexcept |
| std::chrono::system_clock::time_point | conduit::detail::from_ms_since_epoch (const std::int64_t ms) noexcept |
EventEnvelope — a parcel cell carrying conduit's envelope metadata plus a polymorphic payload cell.
Hand-written JSON layout.