helper.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 52 行
H
52 行
// helper.h,v 1.15 2001/12/21 19:32:18 coryan Exp
// ============================================================================
//
// = LIBRARY
// TAO/tests/Param_Test
//
// = FILENAME
// helper.h
//
// = DESCRIPTION
// Defines a helper class that can generate values for the parameters used
// for the Param_Test example
//
// = AUTHORS
// Aniruddha Gokhale
//
// ============================================================================
#ifndef HELPER_H
#define HELPER_H
#include "param_testC.h"
#include "tao/DynamicInterface/Request.h"
#include "ace/Singleton.h"
class Generator
{
public:
Generator (void);
// constructor
~Generator (void);
// destructor
CORBA::Short gen_short (void);
CORBA::Long gen_long (void);
char* gen_string (void);
char* gen_string (int maxlength);
CORBA::WChar* gen_wstring (void);
CORBA::WChar* gen_wstring (int maxlength);
const Param_Test::Fixed_Struct gen_fixed_struct (void);
const Param_Test::Step gen_step (void);
private:
Param_Test::Fixed_Struct fixed_struct_;
Param_Test::Step step_;
};
typedef ACE_Singleton<Generator, TAO_SYNCH_RECURSIVE_MUTEX> GENERATOR;
#endif /* HELPER_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?