⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 messengershutdowntimer.h

📁 在使用ACE的多线程编程过程中用于测试的一段实例代码。
💻 H
字号:
/* -*- C++ -*- $Id: MessengerShutdownTimer.h,v 1.1.4.1 2005/01/10 13:15:48 chad Exp $ */

#ifndef MESSENGERSHUTDOWNTIMER_H_
#define MESSENGERSHUTDOWNTIMER_H_

#include <ace/Event_Handler.h>
#include <tao/corba.h>

class MessengerShutdownTimer : public ACE_Event_Handler
{
public:
  // Constructor 
  MessengerShutdownTimer (CORBA::ORB_ptr orb);
  
  virtual int handle_timeout (
    const ACE_Time_Value & current_time,
    const void * act);

private:
  CORBA::ORB_var orb_;
};


#endif /* MESSENGERSHUTDOWNTIMER_H_  */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -