33 using namespace rsc::logging;
39 InConnector::InConnector() :
40 logger(Logger::getLogger(
"rsb.transport.inprocess.InConnector")),
51 stream <<
"scope = " <<
scope;
60 throw std::runtime_error(
"Cannot set scope while active");
67 RSCDEBUG(
logger,
"Activating");
69 Bus::getInstance().addSink(boost::dynamic_pointer_cast<InConnector>(shared_from_this()));
75 RSCDEBUG(
logger,
"Deactivating");
79 Bus::getInstance().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
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.