RSB  0.19.0
rsb::eventprocessing Namespace Reference

Classes

class  DirectEventReceivingStrategy
 This push-style event receiving strategy filters and dispatches rsb::Event s in the context of the thread calling handle. More...
 
class  DirectEventSendingStrategy
 This event sending strategy just passes incoming events to its associated rsb::transport::OutConnector s without modification, queueing or anything else. More...
 
class  EventReceivingStrategy
 Implementations of this interface organize the receiving of events via rsb::transport::InConnector s. More...
 
class  EventSendingStrategy
 Implementations of this interface organize the sending of events via rsb::transport::OutConnector s. More...
 
class  Handler
 Implementations of this class can be used in contexts where an "event sink" is required. More...
 
class  InRouteConfigurator
 A class responsible of configuring the route that processes incoming events from one or more InConnector instances in one Listener. More...
 
class  OutRouteConfigurator
 
class  ParallelEventReceivingStrategy
 This push-style event receiving strategy uses one or more threads to filter rsb::Event s and dispatch matching events to rsb::Handler s. More...
 
class  PullEventReceivingStrategy
 Instances of this class retrieve Event s from transport::Connector s when explicitly asked by a client (which usually is a Participant ). More...
 
class  PullInRouteConfigurator
 Objects of this InRouteConfigurator class setup and maintain the required components for a pull-style event receiving configuration. More...
 
class  PushEventReceivingStrategy
 This class serves as a base class for event receiving strategy classes that deliver rsb::Event s to rsb::Handler s without triggering by the receiving object. More...
 
class  PushInRouteConfigurator
 This specialization of InRouteConfigurator creates and maintains an event receiving setup in which rsb::Event s are delivered using a push-style data flow by invoking registered rsb::Handler s. More...
 
class  ScopeDispatcher
 Maps scopes to sets of sinks of type T. More...
 
class  WeakScopeDispatcher
 A variant of ScopeDispatcher that references sinks weakly. More...
 

Typedefs

typedef boost::shared_ptr< EventReceivingStrategyEventReceivingStrategyPtr
 
typedef rsc::patterns::SingletonFactory< std::string, EventReceivingStrategyEventReceivingStrategyFactory
 
typedef boost::shared_ptr< EventSendingStrategyEventSendingStrategyPtr
 
typedef rsc::patterns::SingletonFactory< std::string, EventSendingStrategyEventSendingStrategyFactory
 
typedef boost::shared_ptr< HandlerHandlerPtr
 
typedef boost::shared_ptr< InRouteConfiguratorInRouteConfiguratorPtr
 
typedef std::list< transport::OutConnectorPtrConnectorList
 
typedef boost::shared_ptr< OutRouteConfiguratorOutRouteConfiguratorPtr
 
typedef std::set< transport::InPullConnectorPtrConnectorSet
 
typedef std::set< filter::FilterPtrFilterSet
 
typedef boost::shared_ptr< PullEventReceivingStrategyPullEventReceivingStrategyPtr
 
typedef boost::shared_ptr< PushEventReceivingStrategyPushEventReceivingStrategyPtr
 
typedef boost::shared_ptr< PushInRouteConfiguratorPushInRouteConfiguratorPtr
 

Functions

EventReceivingStrategyFactorygetEventReceivingStrategyFactory ()
 
EventSendingStrategyFactorygetEventSendingStrategyFactory ()
 
void registerDefaultEventProcessingStrategies ()
 

Variables

bool registered = false
 
boost::mutex registrationMutex
 

Typedef Documentation

typedef rsc::patterns::SingletonFactory<std::string, EventReceivingStrategy> rsb::eventprocessing::EventReceivingStrategyFactory
Note
Do not use the Singleton::getInstance function. Instead use getEventReceivingStrategyFactory.

Definition at line 43 of file EventReceivingStrategyFactory.h.

typedef rsc::patterns::SingletonFactory<std::string, EventSendingStrategy> rsb::eventprocessing::EventSendingStrategyFactory
Note
Do not use the Singleton::getInstance function. Instead use getEventSendingStrategyFactory.

Definition at line 43 of file EventSendingStrategyFactory.h.

Definition at line 86 of file EventSendingStrategy.h.

typedef boost::shared_ptr<Handler> rsb::eventprocessing::HandlerPtr

Definition at line 60 of file Handler.h.

Definition at line 118 of file InRouteConfigurator.h.

Definition at line 99 of file OutRouteConfigurator.h.

Function Documentation

RSB_EXPORT EventReceivingStrategyFactory & rsb::eventprocessing::getEventReceivingStrategyFactory ( )
RSB_EXPORT EventSendingStrategyFactory & rsb::eventprocessing::getEventSendingStrategyFactory ( )

Definition at line 32 of file EventSendingStrategyFactory.cpp.

Referenced by registerDefaultEventProcessingStrategies().

Here is the caller graph for this function:

void rsb::eventprocessing::registerDefaultEventProcessingStrategies ( )

Variable Documentation

bool rsb::eventprocessing::registered = false

Definition at line 41 of file strategies.cpp.

boost::mutex rsb::eventprocessing::registrationMutex

Definition at line 42 of file strategies.cpp.