MappingEntry#
Fully qualified name: carb::events::MappingEntry
Defined in carb/events/IEventsAdapter.h
-
struct MappingEntry#
Structure defining a mapping entry for use with AdapterDesc.
Subclassed by carb::events::MappingEntry2
Public Functions
- inline constexpr MappingEntry( ) noexcept#
Constructor.
- Parameters:
type – The EventType to map.
dispatchName – The RString to map
typeto.pushName – For AdapterType::eFull adapters, indicates the RString to map
typeto on the push side.
Public Members
-
EventType type#
An event type. Must be unique across all mappings provided to an AdapterDesc.
0is a valid EventType and often used for event streams that only push one event type.
-
RString dispatchName#
Name of
typefor the pop/dispatch side. Required and must be unique across all mappings. Must be unique with respect to pushName if pushName is provided.
-
RString pushName#
Optional name of
typefor the push side. If empty, no event is dispatched for an event stream’spush()call. An emptyRString()is used provide an unspecified push name. Ignored except for AdapterType::eFull.