RSB
0.16.1
|
#include <OutConnector.h>
Public Member Functions | |
OutConnector (BusPtr bus=getDefaultBus()) | |
void | setScope (const Scope &scope) |
Sets the scope this connector will send/receive events to/from. More... | |
virtual const std::string | getTransportURL () const |
Return an URL describing the transport kind and its configuration for this connector. More... | |
void | activate () |
Activates the connector. More... | |
void | deactivate () |
void | setQualityOfServiceSpecs (const QualityOfServiceSpec &specs) |
Requests new QoS settings for publishing events. More... | |
void | handle (rsb::EventPtr e) |
Handle event. More... | |
Public Member Functions inherited from rsb::transport::OutConnector | |
virtual | ~OutConnector () |
Public Member Functions inherited from rsb::transport::Connector | |
virtual | ~Connector () |
Public Member Functions inherited from rsb::eventprocessing::Handler | |
virtual | ~Handler () |
Static Public Member Functions | |
static rsb::transport::OutConnector * | create (const rsc::runtime::Properties &args) |
Private Attributes | |
BusPtr | bus |
Additional Inherited Members | |
Public Types inherited from rsb::transport::OutConnector | |
typedef boost::shared_ptr< OutConnector > | Ptr |
Definition at line 42 of file OutConnector.h.
rsb::transport::inprocess::OutConnector::OutConnector | ( | BusPtr | bus = getDefaultBus() | ) |
Definition at line 45 of file OutConnector.cpp.
References create().
|
virtual |
Activates the connector.
Settings made between construction and activation via this method must be applied on a call to this method.
Implements rsb::transport::Connector.
Definition at line 69 of file OutConnector.cpp.
|
static |
|
virtual |
Implements rsb::transport::Connector.
Definition at line 72 of file OutConnector.cpp.
|
virtual |
Return an URL describing the transport kind and its configuration for this connector.
Implements rsb::transport::Connector.
Definition at line 62 of file OutConnector.cpp.
|
virtual |
Handle event.
event | The event that should be handled. |
Implements rsb::eventprocessing::Handler.
Definition at line 78 of file OutConnector.cpp.
References bus.
|
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 75 of file OutConnector.cpp.
|
virtual |
Sets the scope this connector will send/receive events to/from.
scope | scope of the connector |
Implements rsb::transport::Connector.
Definition at line 58 of file OutConnector.cpp.
|
private |
Definition at line 60 of file OutConnector.h.
Referenced by handle().