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

#include <InConnector.h>

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

Public Member Functions

virtual ~InConnector ()
void printContents (std::ostream &stream) const
virtual void activate ()
 Activates the connector.
virtual void deactivate ()
virtual Scope getScope () const
virtual void setScope (const Scope &scope)
 Sets the scope this connector will receive events from.
- Public Member Functions inherited from rsb::eventprocessing::Handler
virtual ~Handler ()
virtual void handle (EventPtr event)=0
 Handle event.

Protected Member Functions

 InConnector ()

Private Attributes

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

Additional Inherited Members

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

Detailed Description

Author
jmoringe

Definition at line 49 of file InConnector.h.

Constructor & Destructor Documentation

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

Reimplemented from rsb::transport::InConnector.

Definition at line 43 of file InConnector.cpp.

References active, and deactivate().

Here is the call graph for this function:

rsb::inprocess::InConnector::InConnector ( )
protected

Definition at line 38 of file InConnector.cpp.

Member Function Documentation

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

References active, and logger.

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

Implements rsb::transport::Connector.

Definition at line 73 of file InConnector.cpp.

References active, and logger.

Referenced by ~InConnector().

Here is the caller graph for this function:

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

Definition at line 53 of file InConnector.cpp.

References scope.

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

Here is the caller graph for this function:

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

Definition at line 49 of file InConnector.cpp.

References scope.

void rsb::inprocess::InConnector::setScope ( const Scope scope)
virtual

Sets the scope this connector will receive events from.

Parameters
scopescope of the connector

Implements rsb::transport::InConnector.

Definition at line 57 of file InConnector.cpp.

References active, and scope.

Member Data Documentation

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

Definition at line 68 of file InConnector.h.

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

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

Definition at line 64 of file InConnector.h.

Referenced by activate(), and deactivate().

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

Definition at line 66 of file InConnector.h.

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


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