engine-mk1
Classes | Typedefs | Enumerations
rz::eventstream Namespace Reference

Event streams are used to queue up events to be consumed at a later time. More...

Classes

struct  Event
 Contains the data required to receive and process an Event. More...
 
class  EventStream
 Handles receiving and sending Events to and from EventStreams. More...
 
struct  EventType
 The EventType is used to determine how to process an Event. More...
 
struct  EventTypeCmp
 

Typedefs

using EventHandler = std::function< void(const Event &event)>
 

Enumerations

enum  StreamType { StreamType::INCOMING, StreamType::OUTGOING }
 Denotes the direction of an EventStream. More...
 

Detailed Description

Event streams are used to queue up events to be consumed at a later time.

Enumeration Type Documentation

Denotes the direction of an EventStream.

Enumerator
INCOMING 

will stay in this EventStream.

OUTGOING 

will leave this EventStream.