pg_utils.h

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

H
56
字号
/* -*- C++ -*- */
//=============================================================================
/**
 *  @file    PG_Utils.h
 *
 *  PG_Utils.h,v 1.3 2004/01/02 20:16:11 elliott_c Exp
 *
 *  Utility methods
 *
 *  @author Balachandran Natarajan <bala@dre.vanderbilt.edu>
 */
//=============================================================================
#ifndef TAO_PORTABLEGROUP_UTILS_H
#define TAO_PORTABLEGROUP_UTILS_H
#include /**/ "ace/pre.h"
#include "orbsvcs/PortableGroupC.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "portablegroup_export.h"

namespace TAO
{
  /**
   * @class PG_Utils
   *
   * @brief Simple utility class
   */
  class TAO_PortableGroup_Export PG_Utils
  {
    public:

    /// Set tagged component for the object group
    static CORBA::Boolean set_tagged_component (
        PortableGroup::ObjectGroup *&ior,
        PortableGroup::TagGroupTaggedComponent &t);

    /// Get tagged component for the object group
    static CORBA::Boolean get_tagged_component (
        PortableGroup::ObjectGroup *&ior,
        PortableGroup::TagGroupTaggedComponent &t);

  private:
    static CORBA::Boolean encode_properties (
        TAO_OutputCDR &cdr,
        PortableGroup::TagGroupTaggedComponent &tg);
  };
}



#include /**/ "ace/post.h"
#endif /*TAO_PORTABLEGROUP_UTILS_H*/

⌨️ 快捷键说明

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