RSB
0.7.0
|
Instances of this class retrieve Event s from transport::Connector s when explicitly asked by a client (which usually is a Participant ). More...
#include <PullEventReceivingStrategy.h>
Classes | |
class | Impl |
Public Member Functions | |
PullEventReceivingStrategy (const std::set< transport::InPullConnectorPtr > &connectors) | |
virtual | ~PullEventReceivingStrategy () |
virtual void | addFilter (filter::FilterPtr filter) |
virtual void | removeFilter (filter::FilterPtr filter) |
EventPtr | raiseEvent (bool block) |
Retrieve an Event from the connectors and return it. | |
Public Member Functions inherited from rsb::eventprocessing::EventReceivingStrategy | |
virtual | ~EventReceivingStrategy () |
virtual void | handle (EventPtr event)=0 |
Dispatches the event to the listener. | |
Public Member Functions inherited from rsb::eventprocessing::Handler | |
virtual | ~Handler () |
Private Member Functions | |
std::string | getClassName () const |
void | printContents (std::ostream &stream) const |
void | handle (EventPtr event) |
Private Attributes | |
boost::scoped_ptr< Impl > | d |
Instances of this class retrieve Event s from transport::Connector s when explicitly asked by a client (which usually is a Participant ).
The Retrieval works (roughly) as follows:
PullEventReceivingStrategy
instanceDefinition at line 67 of file PullEventReceivingStrategy.h.
rsb::eventprocessing::PullEventReceivingStrategy::PullEventReceivingStrategy | ( | const std::set< transport::InPullConnectorPtr > & | connectors | ) |
Definition at line 53 of file PullEventReceivingStrategy.cpp.
References d.
|
virtual |
Definition at line 58 of file PullEventReceivingStrategy.cpp.
|
virtual |
Implements rsb::eventprocessing::EventReceivingStrategy.
Definition at line 61 of file PullEventReceivingStrategy.cpp.
References d.
|
private |
Definition at line 86 of file PullEventReceivingStrategy.cpp.
|
private |
Definition at line 84 of file PullEventReceivingStrategy.cpp.
|
private |
Definition at line 90 of file PullEventReceivingStrategy.cpp.
References d.
EventPtr rsb::eventprocessing::PullEventReceivingStrategy::raiseEvent | ( | bool | block | ) |
Retrieve an Event from the connectors and return it.
block | Controls whether the call should block until an event becomes available if that is not the case immediately. |
Definition at line 69 of file PullEventReceivingStrategy.cpp.
References d.
|
virtual |
Implements rsb::eventprocessing::EventReceivingStrategy.
Definition at line 65 of file PullEventReceivingStrategy.cpp.
References d.
|
private |
Definition at line 85 of file PullEventReceivingStrategy.h.
Referenced by addFilter(), printContents(), PullEventReceivingStrategy(), raiseEvent(), and removeFilter().