RSB  0.7.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
rsb::inprocess::OutConnector Class Reference

#include <OutConnector.h>

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

Public Member Functions

 OutConnector ()
std::string getClassName () const
void activate ()
 Activates the connector.
void deactivate ()
void setQualityOfServiceSpecs (const QualityOfServiceSpec &specs)
 Requests new QoS settings for publishing events.
void handle (rsb::EventPtr e)
 Handle event.
- 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 41 of file OutConnector.h.

Constructor & Destructor Documentation

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

Definition at line 39 of file OutConnector.cpp.

Member Function Documentation

void rsb::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 59 of file OutConnector.cpp.

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

Implements rsb::transport::Connector.

Definition at line 62 of file OutConnector.cpp.

string rsb::inprocess::OutConnector::getClassName ( ) const

Definition at line 55 of file OutConnector.cpp.

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

Handle event.

Parameters
eventThe event that should be handled.

Implements rsb::eventprocessing::Handler.

Definition at line 68 of file OutConnector.cpp.

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

Here is the call graph for this function:

void rsb::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 65 of file OutConnector.cpp.

Member Data Documentation

Bus& rsb::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: