RSB  0.9.6
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ()
 
void setScope (const Scope &scope)
 Sets the scope this connector will send/receive events to/from. 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

Busbus
 

Additional Inherited Members

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

Detailed Description

Author
jmoringe

Definition at line 42 of file OutConnector.h.

Constructor & Destructor Documentation

rsb::transport::inprocess::OutConnector::OutConnector ( )

Definition at line 40 of file OutConnector.cpp.

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 56 of file OutConnector.cpp.

static rsb::transport::OutConnector* rsb::transport::inprocess::OutConnector::create ( const rsc::runtime::Properties &  args)
static
void rsb::transport::inprocess::OutConnector::deactivate ( )
virtual

Implements rsb::transport::Connector.

Definition at line 59 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 65 of file OutConnector.cpp.

References bus, and rsb::transport::inprocess::Bus::handle().

Here is the call graph for this function:

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 62 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 53 of file OutConnector.cpp.

Member Data Documentation

Bus& rsb::transport::inprocess::OutConnector::bus
private

Definition at line 57 of file OutConnector.h.

Referenced by handle().


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