wxnamingobject.h

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

H
38
字号
// wxNamingObject.h,v 1.1 2000/08/26 23:13:05 schmidt Exp
// wxNamingObject.h

#ifndef i_wxNamingObject_h
#define i_wxNamingObject_h

#include "orbsvcs/CosNamingC.h"
#include "wx/treectrl.h"

class WxNamingObject:
  public wxTreeItemData
{
public:
  WxNamingObject(
      CosNaming::Name& Name,
      CORBA::Object_ptr pObject,
      bool Context);
  WxNamingObject( CORBA::Object_ptr pObject);
  ~WxNamingObject();

  CosNaming::NamingContext_ptr NamingContext();
  // Returns a duplicated naming context ptr if this is a context or nil if its not
  CORBA::Object_ptr Object();
  // returns a non duplicated object reference
  CosNaming::Name& Name();
  // returns the name of the object
  bool IsContext() {return m_Context;};
  // Returns true if this is a context

private:
  CORBA::Object_var     m_Object;
  CosNaming::Name       m_Name;
  bool                  m_Context;
};

#endif

⌨️ 快捷键说明

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