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

#include <InConnector.h>

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

Public Member Functions

virtual ~InConnector ()
 
void printContents (std::ostream &stream) const
 
virtual void activate ()
 Activates the connector. More...
 
virtual void deactivate ()
 
virtual Scope getScope () const
 
virtual void setScope (const Scope &scope)
 Sets the scope this connector will send/receive events to/from. More...
 
const std::string getTransportURL () const
 Return an URL describing the transport kind and its configuration for this connector. More...
 
- Public Member Functions inherited from rsb::transport::Connector
virtual ~Connector ()
 
virtual void setQualityOfServiceSpecs (const QualityOfServiceSpec &specs)=0
 Requests new QoS settings for publishing events. More...
 
- Public Member Functions inherited from rsb::filter::FilterObserver
 FilterObserver ()
 
virtual ~FilterObserver ()
 
virtual void notify (Filter *filter, const FilterAction::Types &at)
 
virtual void notify (ScopeFilter *filter, const FilterAction::Types &at)
 
- Public Member Functions inherited from rsb::eventprocessing::Handler
virtual ~Handler ()
 
virtual void handle (EventPtr event)=0
 Handle event. More...
 

Protected Member Functions

 InConnector (BusPtr bus=getDefaultBus())
 

Private Attributes

rsc::logging::LoggerPtr logger
 
BusPtr bus
 
Scope scope
 
bool active
 

Additional Inherited Members

- Public Types inherited from rsb::transport::InConnector
typedef boost::shared_ptr< InConnectorPtr
 

Detailed Description

Author
jmoringe

Definition at line 52 of file InConnector.h.

Constructor & Destructor Documentation

rsb::transport::inprocess::InConnector::~InConnector ( )
virtual

Reimplemented from rsb::transport::InConnector.

Definition at line 48 of file InConnector.cpp.

References active, and deactivate().

Here is the call graph for this function:

rsb::transport::inprocess::InConnector::InConnector ( BusPtr  bus = getDefaultBus())
protected

Definition at line 42 of file InConnector.cpp.

Member Function Documentation

void rsb::transport::inprocess::InConnector::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 78 of file InConnector.cpp.

References active, bus, and logger.

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

Implements rsb::transport::Connector.

Definition at line 86 of file InConnector.cpp.

References active, bus, and logger.

Referenced by ~InConnector().

Here is the caller graph for this function:

Scope rsb::transport::inprocess::InConnector::getScope ( ) const
virtual

Definition at line 58 of file InConnector.cpp.

References scope.

Referenced by rsb::transport::inprocess::Bus::removeSink().

Here is the caller graph for this function:

const std::string rsb::transport::inprocess::InConnector::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 71 of file InConnector.cpp.

void rsb::transport::inprocess::InConnector::printContents ( std::ostream &  stream) const

Definition at line 54 of file InConnector.cpp.

References scope.

void rsb::transport::inprocess::InConnector::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 62 of file InConnector.cpp.

References active, and scope.

Member Data Documentation

bool rsb::transport::inprocess::InConnector::active
private

Definition at line 75 of file InConnector.h.

Referenced by activate(), deactivate(), setScope(), and ~InConnector().

BusPtr rsb::transport::inprocess::InConnector::bus
private

Definition at line 71 of file InConnector.h.

Referenced by activate(), and deactivate().

rsc::logging::LoggerPtr rsb::transport::inprocess::InConnector::logger
private

Definition at line 69 of file InConnector.h.

Referenced by activate(), and deactivate().

Scope rsb::transport::inprocess::InConnector::scope
private

Definition at line 73 of file InConnector.h.

Referenced by getScope(), printContents(), and setScope().


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