amh_sh.h

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

H
46
字号
//=============================================================================
/**
 *  @file   amh_sh.h
 *
 *  amh_sh.h,v 1.7 2003/11/21 21:01:29 parsons Exp
 *
 *  Specialized interface visitor for AMH
 *
 *  @author Darrell Brunsch <brunsch@cs.wustl.edu>
 */
//=============================================================================

#ifndef AMH_SH_H_
#define AMH_SH_H_

class be_visitor_amh_interface_sh : public be_visitor_interface_sh
{
public:
  be_visitor_amh_interface_sh (be_visitor_context *ctx);
  ~be_visitor_amh_interface_sh (void);

  int visit_interface (be_interface *node);
  int visit_operation (be_operation *node);
  int visit_attribute (be_attribute *node);

protected:
  virtual void this_method (be_interface *node);

private:
  /// Create an AMH node 'on the fly' from the
  /// original interface node
  be_interface* create_amh_class (ACE_CString name);

  /// Add attributes and operations from original-interface
  /// into the newly created AMH-node
  int add_original_members (be_interface *node,
                            be_interface *amh_node);

  /// For every operation in the original-interface, create
  /// an AMH-operation and add it to the newly created AMH-node
  int add_amh_operation (be_operation *orig_operation,
                         be_interface *amh_node);
};

#endif /* AMH_SH_H_ */

⌨️ 快捷键说明

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