interceptors_cs.h

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

H
62
字号
//
// interceptors_cs.h,v 1.3 2001/04/03 03:20:17 coryan Exp
//

// ============================================================================
//
// = LIBRARY
//    TAO IDL
//
// = FILENAME
//    interceptors_cs.h
//
// = DESCRIPTION
//    Visitor for generating code for IDL operations. This is a generic visitor
//    that calls visitors for the operation class.
//
// = AUTHOR
//    Kirthika Parameswaran  <kirthika@cs.wustl.edu>
//
// ============================================================================

#ifndef _BE_VISITOR_OPERATION_INTERCEPTORS_CS_H_
#define _BE_VISITOR_OPERATION_INTERCEPTORS_CS_H_

// ************************************************************
// generic operation visitor for docall, upcall, pre/post
// ************************************************************

class TAO_OutStream;

class be_visitor_operation_interceptors_cs : public be_visitor_operation
{
  //
  // = TITLE
  //   be_visitor_operation_interceptors_cs
  //
  // = DESCRIPTION
  //   This is a visitor to generate a variable declaration ofr an operation
  //   return type
  //
public:
  be_visitor_operation_interceptors_cs (be_visitor_context *ctx);
  // constructor

  ~be_visitor_operation_interceptors_cs (void);
  // destructor

  virtual int visit_operation (be_operation *node);
  // visit the operation

private:
  int generate_class_declaration (TAO_OutStream *os,
                                  be_operation *node);
  // Generate the declaration for the helper RequestInfo class

  int generate_class_definition (TAO_OutStream *os,
                                 be_operation *node);
  // Generate the definition for the helper RequestInfo class
};

#endif /* _BE_VISITOR_OPERATION_INTERCEPTORS_H_ */

⌨️ 快捷键说明

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