carb::events
-
namespace events
Namespace for the carb.events plugin.
Classes
carb::events::IEvent: Event object which is sent and received.
carb::events::IEventListener: Interface to implement for event listener.
carb::events::IEventStream: Event stream is fundamental primitive used to send, receive and listen for events.
carb::events::ISubscription: Subscription holder is created by all event listening subscription functions.
carb::events::LambdaEventListener: A helper to use a
std::function
as an carb::events::IEventListener .
Functions
carb::events::createSubscriptionToPop: A helper for IEvents::createSubscriptionToPop() that creates a LambdaEventListener .
carb::events::createSubscriptionToPopByType: A helper for IEvents::createSubscriptionToPop() that creates a LambdaEventListener .
carb::events::createSubscriptionToPush: A helper for IEvents::createSubscriptionToPush() that creates a LambdaEventListener .
carb::events::createSubscriptionToPushByType: A helper for IEvents::createSubscriptionToPush() that creates a LambdaEventListener .
carb::events::getCachedEventsInterface: Helper for carb::getCachedInterface<IEvents>() .
carb::events::typeFromString: Run-time conversion of string to carb::events::EventType .
Structs
carb::events::IEvents: Interface definition for carb.events .
Typedefs
carb::events::EventType: Event type is 64-bit number.
carb::events::IEventListenerPtr: Helper definition for IEventListener smart pointer.
carb::events::IEventPtr: Helper definition for IEvent smart pointer.
carb::events::IEventStreamPtr: Helper definition for IEventStream smart pointer.
carb::events::ISubscriptionPtr: Helper definition for ISubscription smart pointer.
carb::events::Order: Event notification order.
carb::events::SenderId: Event sender identifier.
Variables
carb::events::kDefaultOrder: Default order.
carb::events::kGlobalSenderId: Default sender id to use if you don't want it to be unique.