ACE_Reactor 机制下的其他事件触发器
ACE_Reactor 机制下的其他事件触发器
检查控制台的输入动作 控制台事件handle :ACE_STDIN 检查注册表项是否发生了变化 注册表项改变事件HANDLE: (::RegNotifyChangeKeyValue (this->context_.key (),// handle of key to watch FALSE,// flag for subkey notification REG_NOTIFY_CHANGE_NAME,// changes to be reported this->event_.handle (),// handle of signaled event TRUE // flag for asynchronous reporting ) 涉及了下面这个主要类: ACE_Registry::Naming_Context context_; 其提供有 bind_new_context (temp_context_name,temp_context); 新建一个注册表项 unbind_context (temp_context_name);删除一个注册表项 方法 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |