RSB  0.19.0
rsb::transport::inprocess::OutConnector Class Reference

#include <OutConnector.h>

Inheritance diagram for rsb::transport::inprocess::OutConnector:
Inheritance graph
Collaboration diagram for rsb::transport::inprocess::OutConnector:
Collaboration graph

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::OutConnectorcreate (const rsc::runtime::Properties &args)
 

Private Attributes

BusPtr bus
 

Additional Inherited Members

- Public Types inherited from rsb::transport::OutConnector
typedef boost::shared_ptr< OutConnectorPtr
 

Detailed Description

Author
jmoringe

Definition at line 42 of file OutConnector.h.

Constructor & Destructor Documentation

rsb::transport::inprocess::OutConnector::OutConnector ( BusPtr  bus = getDefaultBus())

Definition at line 45 of file OutConnector.cpp.

References create().

Here is the call graph for this function:

Member Function Documentation

void rsb::transport::inprocess::OutConnector::activate ( )
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 rsb::transport::OutConnector* rsb::transport::inprocess::OutConnector::create ( const rsc::runtime::Properties &  args)
static

Referenced by OutConnector().

Here is the caller graph for this function:

void rsb::transport::inprocess::OutConnector::deactivate ( )
virtual

Implements rsb::transport::Connector.

Definition at line 72 of file OutConnector.cpp.

const std::string rsb::transport::inprocess::OutConnector::getTransportURL ( ) const
virtual

Return an URL describing the transport kind and its configuration for this connector.

Returns
A string representation of the transport URL.

Implements rsb::transport::Connector.

Definition at line 62 of file OutConnector.cpp.

void rsb::transport::inprocess::OutConnector::handle ( rsb::EventPtr  event)
virtual

Handle event.

Parameters
eventThe event that should be handled.

Implements rsb::eventprocessing::Handler.

Definition at line 78 of file OutConnector.cpp.

References bus.

void rsb::transport::inprocess::OutConnector::setQualityOfServiceSpecs ( const QualityOfServiceSpec specs)
virtual

Requests new QoS settings for publishing events.

Does not influence the receiving part.

Parameters
specsQoS specification
Exceptions
UnsupportedQualityOfServiceExceptionrequirements cannot be met

Implements rsb::transport::Connector.

Definition at line 75 of file OutConnector.cpp.

void rsb::transport::inprocess::OutConnector::setScope ( const Scope scope)
virtual

Sets the scope this connector will send/receive events to/from.

Parameters
scopescope of the connector

Implements rsb::transport::Connector.

Definition at line 58 of file OutConnector.cpp.

Member Data Documentation

BusPtr rsb::transport::inprocess::OutConnector::bus
private

Definition at line 60 of file OutConnector.h.

Referenced by handle().


The documentation for this class was generated from the following files: