31 using namespace rsc::logging;
37 InConnector::InConnector(
BusPtr bus) :
38 logger(Logger::getLogger(
"rsb.transport.inprocess.InConnector")),
50 stream <<
"scope = " <<
scope;
59 throw std::runtime_error(
"Cannot set scope while active");
66 RSCDEBUG(
logger,
"Activating");
68 bus->addSink(boost::dynamic_pointer_cast<InConnector>(shared_from_this()));
74 RSCDEBUG(
logger,
"Deactivating");
78 bus->removeSink(
this);
rsc::logging::LoggerPtr logger
virtual void deactivate()
void printContents(std::ostream &stream) const
virtual void activate()
Activates the connector.
virtual Scope getScope() const
boost::shared_ptr< Bus > BusPtr
Scope is a descriptor for a hierarchical channel of the unified bus.
virtual void setScope(const Scope &scope)
Sets the scope this connector will send/receive events to/from.