CORBA_methods.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //=============================================================================
00003 /**
00004  *  @file    CORBA_methods.h
00005  *
00006  *  $Id: CORBA_methods.h 76872 2007-02-02 13:41:21Z johnnyw $
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    * ORB Initialization
00054    */
00055   extern TAO_Export ORB_ptr ORB_init (int & argc,
00056                                       char * argv[],
00057                                       const char * orb_name = 0);
00058 
00059   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Environment_ptr);
00060   TAO_NAMESPACE_INLINE_FUNCTION void release (Environment_ptr);
00061 
00062   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (ORB_ptr);
00063   TAO_NAMESPACE_INLINE_FUNCTION void release (ORB_ptr);
00064 
00065   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Object_ptr);
00066   TAO_NAMESPACE_INLINE_FUNCTION void release (Object_ptr);
00067 
00068   TAO_NAMESPACE_INLINE_FUNCTION Boolean is_nil (Principal_ptr);
00069   TAO_NAMESPACE_INLINE_FUNCTION void release (Principal_ptr);
00070 }
00071 
00072 TAO_END_VERSIONED_NAMESPACE_DECL
00073 
00074 #include /**/ "ace/post.h"
00075 
00076 #endif  /* TAO_CORBA_METHODS_H */

Generated on Tue Feb 2 17:37:51 2010 for TAO by  doxygen 1.4.7