// notify the observer void MT::notifier::notify() { if (!m_sig.empty()) m_sig(); for (size_t i = 0; i < m_sendmsg.size(); ++i) ::SendMessage(m_sendmsg[i], WM_COMMAND, (WPARAM)ID_MONITOR_CHANGED, 0); for (size_t i = 0; i < m_postmsg.size(); ++i) ::PostMessage(m_sendmsg[i], WM_COMMAND, (WPARAM)ID_MONITOR_CHANGED, 0); }
void UndoRedoManager::clear() { m_currentManager->clear(); m_sig("CLEAR_EVENT"); }
void UndoRedoManager::forward() { m_currentManager->forward(); m_sig("FORWARD_EVENT"); }
void UndoRedoManager::backward() { m_currentManager->backward(); m_sig("BACKWARD_EVENT"); }
void UndoRedoManager::queue( ICommand::sptr pCmd, const bool execute ) { m_currentManager->queue(pCmd,execute); m_sig("QUEUE_EVENT"); }
void UpdateSignal::update() { m_sig(); #ifdef BB_FLOOD std::cout << "update()" << std::endl; #endif }
void append(const char* s) { m_text += s; m_sig(); }
void RealmConnection::_signal() { m_sig(shared_from_this()); }
void CFunction::NotifyUpdate()const { m_sig(); }