RSB
0.7.0
|
#include <InPullConnector.h>
Public Member Functions | |
InPullConnector () | |
virtual | ~InPullConnector () |
std::string | getClassName () const |
void | setQualityOfServiceSpecs (const QualityOfServiceSpec &specs) |
Requests new QoS settings for publishing events. | |
void | handle (EventPtr event) |
Handle event. | |
EventPtr | raiseEvent (bool block) |
Public Member Functions inherited from rsb::inprocess::InConnector | |
virtual | ~InConnector () |
void | printContents (std::ostream &stream) const |
virtual void | activate () |
Activates the connector. | |
virtual void | deactivate () |
virtual Scope | getScope () const |
virtual void | setScope (const Scope &scope) |
Sets the scope this connector will receive events from. | |
Public Member Functions inherited from rsb::eventprocessing::Handler | |
virtual | ~Handler () |
Static Public Member Functions | |
static rsb::transport::InPullConnector * | create (const rsc::runtime::Properties &args) |
Private Attributes | |
rsc::logging::LoggerPtr | logger |
rsc::threading::SynchronizedQueue < EventPtr > | queue |
Additional Inherited Members | |
Public Types inherited from rsb::transport::InPullConnector | |
typedef boost::shared_ptr < InPullConnector > | Ptr |
Public Types inherited from rsb::transport::InConnector | |
typedef boost::shared_ptr < InConnector > | Ptr |
Protected Member Functions inherited from rsb::inprocess::InConnector | |
InConnector () |
Definition at line 47 of file InPullConnector.h.
rsb::inprocess::InPullConnector::InPullConnector | ( | ) |
Definition at line 41 of file InPullConnector.cpp.
|
virtual |
Reimplemented from rsb::transport::InPullConnector.
Definition at line 51 of file InPullConnector.cpp.
|
static |
string rsb::inprocess::InPullConnector::getClassName | ( | ) | const |
Definition at line 54 of file InPullConnector.cpp.
|
virtual |
Handle event.
event | The event that should be handled. |
TODO(jmoringe, 2011-11-07): This ensures not overwriting earlier receive timestamp added by different connector. However, thread-safety issue remains.
Implements rsb::eventprocessing::Handler.
Definition at line 61 of file InPullConnector.cpp.
References queue.
|
virtual |
Implements rsb::transport::InPullConnector.
Definition at line 73 of file InPullConnector.cpp.
References queue.
|
virtual |
Requests new QoS settings for publishing events.
Does not influence the receiving part.
specs | QoS specification |
UnsupportedQualityOfServiceException | requirements cannot be met |
Implements rsb::transport::Connector.
Definition at line 58 of file InPullConnector.cpp.
|
private |
Definition at line 64 of file InPullConnector.h.
|
private |
Definition at line 66 of file InPullConnector.h.
Referenced by handle(), and raiseEvent().