Loading...
Searching...
No Matches
Event API
L4Re C++ Interface

Event API. More...

Collaboration diagram for Event API:

## Data Structures

class | L4Re::Event
| Event class. More...
struct | L4Re::Default_event_payload
| Default event stream payload. More...
class | L4Re::Event_buffer_t< PAYLOAD >
| Event buffer class. More...

## Detailed Description

Event API.

On top of a shared L4Re::Dataspace (and optionally using L4::Triggerable), the event API implements asynchronous event transmission from an event provider (server) to an event receiver (client). Events are put into an Event_buffer_t residing on the shared L4Re::Dataspace.

This interface is usually not used directly. Instead use L4Re::Util::Event_t for clients. An example server portion is implemented in L4Re::Util::Event_svr.

This interface is usually used with L4Re::Default_event_payload which delivers HID events modeled on the Linux evdev API, and the interface's methods allow further querying of information about the HID event streams.