virtual void do_stop (base::conf_node& conf) { m_on_server_change_slot.disconnect (); if (m_output) m_output.reset (); }
boost::signals::connection AddConnection(const std::string& name, boost::signals::connection connection){ connections.insert(Connections::value_type(name, connection)); //block if signalbroker says so, but do not block global signals if(signalbroker.IsBlocked(signalnamespace) && signalnamespace != ""){ connection.block(); } return connection; }
~TagHandle() { if(tag_instance_.get() != 0) { ID id = tag_instance_->getID(); connection_.disconnect(); tag_instance_.reset(); tree_->flushTag(id); } }
void EventSignalBase::disconnect(boost::signals::connection& conn) { conn.disconnect(); if (flags_.test(BIT_EXPOSED)) if (!isConnected()) { WApplication *app = WApplication::instance(); app->removeExposedSignal(this); flags_.reset(BIT_EXPOSED); setNotExposed(); } senderRepaint(); }
void PollManager::removePollThreadListener(boost::signals::connection c) { boost::recursive_mutex::scoped_lock lock(signal_mutex_); c.disconnect(); }
void Disconnect(boost::signals::connection& slot) { clib::recursive_mutex::scoped_lock proc(m_mutex); slot.disconnect(); }
void Disconnect(boost::signals::connection& sc) { sc.disconnect(); }
void on_stop() { connection_.disconnect(); }