CORBA_methods.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //=============================================================================
00003 /**
00004  *  @file    CORBA_methods.h
00005  *
00006  *  CORBA_methods.h,v 1.7 2005/11/24 11:05:44 ossama Exp
00007  *
00008  *  Declarations of common methods in the CORBA namespace.
00009  *
00010  *  @author Jeff Parsons
00011  */
00012 //=============================================================================
00013 
00014 #ifndef TAO_CORBA_METHODS_H
00015 #define TAO_CORBA_METHODS_H
00016 
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "tao/TAO_Export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "tao/Basic_Types.h"
00026 #include "tao/orbconf.h"
00027 
00028 #if defined (TAO_EXPORT_MACRO)
00029 #undef TAO_EXPORT_MACRO
00030 #endif
00031 #define TAO_EXPORT_MACRO TAO_Export
00032 
00033 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00034 
00035 namespace CORBA
00036 {
00037   class ORB;
00038   typedef ORB *ORB_ptr;
00039 
00040   class Environment;
00041   typedef Environment *Environment_ptr;
00042 
00043   class Object;
00044   typedef Object *Object_ptr;
00045 
00046   class Principal;
00047   typedef Principal *Principal_ptr;
00048 
00049   class OperationDef;
00050   typedef OperationDef *OperationDef_ptr;
00051 
00052   /**
00053    * @name ORB Initialization
00054    *
00055    * These could be combined into a single version using an environment macro.
00056    *
00057    */
00058   //@{
00059   extern TAO_Export ORB_ptr ORB_init (int & argc,
00060                                       char * argv[],
00061                                       const char * orb_name = 0);
00062 
00063   extern TAO_Export ORB_ptr ORB_init (int & argc,
00064                                       char * argv[],
00065                                       const char * orb_name,
00066                                       Environment & ACE_TRY_ENV);
00067   //@}
00068 
00069   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Environment_ptr);
00070   TAO_NAMESPACE_INLINE_FUNCTION void release (Environment_ptr);
00071 
00072   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (ORB_ptr);
00073   TAO_NAMESPACE_INLINE_FUNCTION void release (ORB_ptr);
00074 
00075   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Object_ptr);
00076   TAO_NAMESPACE_INLINE_FUNCTION void release (Object_ptr);
00077 
00078   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Principal_ptr);
00079   TAO_NAMESPACE_INLINE_FUNCTION void release (Principal_ptr);
00080 }
00081 
00082 TAO_END_VERSIONED_NAMESPACE_DECL
00083 
00084 #include /**/ "ace/post.h"
00085 
00086 #endif  /* TAO_CORBA_METHODS_H */

Generated on Thu Nov 9 11:54:09 2006 for TAO by doxygen 1.3.6