stopwatch_display.h

来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 55 行

H
55
字号
// Stopwatch_display.h,v 1.5 2003/10/31 05:21:44 bala Exp

// ============================================================================
//
// = LIBRARY
//   TAO/tests/Xt_Stopwatch/Stopwatch_server
//
// = FILENAME
//   Stopwatch.h
//
// = AUTHOR
//   Balachandran  Natarajan <bala@cs.wustl.edu>
//
// ============================================================================

#ifndef STOPWATCH_H
#define STOPWATCH_H
#include /**/ "ace/pre.h"
#include "tao/ORB_Constants.h"

#if defined (ACE_HAS_XT)

#include <Xm/Xm.h>
#include <Xm/Frame.h>
#include <Xm/Label.h>

class Stopwatch_display
{
public:

  Stopwatch_display (Widget &parent);
  // Stopwatch_display constructor

  virtual ~Stopwatch_display (void);
  // Destructor

  virtual void manage (void);
  // Manage the widget

  void set_time (CORBA::Float value);
  // Change the displayed time

private:
  Widget frame_;
  // A frame widget...

  Widget label_;
  // Label Widget that is used to display time..
};

#endif /*ACE_HAS_XT*/

#include /**/ "ace/post.h"
#endif /* STOPWATCH_H */

⌨️ 快捷键说明

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