Overview
Dispatches application events to registered handlers using fixed-capacity Castle facilities.
Namespace: castle::events
Main API
| API | Purpose |
|---|---|
delegate_dispatcher | Main dispatcher type and its event subscription/dispatch operations. |
| Event subscription | Connect handlers to event identifiers or types. |
| Dispatch/post | Send an event to the matching listeners. |
| Capacity/state | Fixed limits and bounded failure reporting. |
Example
// Configure a dispatcher, register handlers, then dispatch events.
// The exact event type is defined by the header template parameters.Embedded notes
- No heap-backed event queue is required by the fixed-capacity design.