conduit 0.6.0
Modern C++23 header-only event-dispatching / event-transport library
Loading...
Searching...
No Matches
Classes | Namespaces | Concepts | Functions | Variables
event.hpp File Reference

Event<Self, Name> library base built on parcel::SelfStructCell. More...

#include <conduit/flags.hpp>
#include <string_view>
#include <parcel/parcel.h>
Include dependency graph for event.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  conduit::Event< Self, Name >
 CRTP library base for conduit events. More...
 
struct  conduit::DefaultFlags< Fs >
 Mixin marker. More...
 
struct  conduit::event_traits< T >
 Non-intrusive trait. More...
 

Namespaces

namespace  conduit
 
namespace  conduit::detail
 

Concepts

concept  conduit::detail::HasDefaultFlagsMixin
 

Functions

template<typename T >
flags::FlagSet conduit::detail::collect_default_flags ()
 

Variables

constexpr std::string_view conduit::event_kind_prefix = "conduit:event:"
 Wire-kind prefix shared by every conduit event type.
 

Detailed Description

Event<Self, Name> library base built on parcel::SelfStructCell.

User events derive from conduit::Event<Self, "name"> and declare their fields via a static event_field_descriptors(parcel::FieldsBuilder<Self>&) hook. Serialization and deserialization are auto-derived by cpp-parcel.