ast_home.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 69 行
H
69 行
// This may look like C, but it's really -*- C++ -*-
// ast_home.h,v 1.3 2003/08/05 19:04:16 parsons Exp
#ifndef _AST_HOME_AST_HOME_HH
#define _AST_HOME_AST_HOME_HH
#include "ast_interface.h"
#include "ace/Unbounded_Queue.h"
class AST_Home;
class AST_Component;
class AST_ValueType;
class TAO_IDL_FE_Export AST_Home : public virtual AST_Interface
{
public:
AST_Home (void);
AST_Home (UTL_ScopedName *n,
AST_Home *base_home,
AST_Component *managed_component,
AST_ValueType *primary_key,
AST_Interface **supports,
long n_supports,
AST_Interface **supports_flat,
long n_supports_flat);
virtual ~AST_Home (void);
// Accessors.
AST_Home *base_home (void) const;
AST_Interface **supports (void) const;
long n_supports (void) const;
AST_Component *managed_component (void) const;
AST_ValueType *primary_key (void) const;
ACE_Unbounded_Queue<AST_Operation *> &factories (void);
ACE_Unbounded_Queue<AST_Operation *> &finders (void);
// Cleanup function.
virtual void destroy (void);
// Narrowing.
DEF_NARROW_METHODS1(AST_Home, AST_Interface);
DEF_NARROW_FROM_DECL(AST_Home);
DEF_NARROW_FROM_SCOPE(AST_Home);
// AST Dumping.
virtual void dump (ACE_OSTREAM_TYPE &o);
// Visiting.
virtual int ast_accept (ast_visitor *visitor);
private:
AST_Home *pd_base_home;
AST_Component *pd_managed_component;
AST_ValueType *pd_primary_key;
ACE_Unbounded_Queue<AST_Operation *> pd_factories;
ACE_Unbounded_Queue<AST_Operation *> pd_finders;
};
#endif // _AST_HOME_AST_HOME_HH
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?