poa_macros.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // poa_macros.h,v 1.8 2005/11/04 09:26:56 ossama Exp
00004 
00005 #ifndef TAO_POA_MACROS_H
00006 #define TAO_POA_MACROS_H
00007 
00008 #include /**/ "ace/pre.h"
00009 
00010 #include "tao/orbconf.h"
00011 #include "ace/CORBA_macros.h"
00012 
00013 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00014 # pragma once
00015 #endif /* ACE_LACKS_PRAGMA_ONCE */
00016 
00017 #define TAO_OBJECT_ADAPTER_GUARD \
00018   ACE_GUARD_THROW_EX (ACE_Lock, \
00019                       monitor, \
00020                       this->lock (), \
00021                       CORBA::OBJ_ADAPTER ()); \
00022   ACE_CHECK
00023 
00024 #define TAO_OBJECT_ADAPTER_GUARD_RETURN(RETURN) \
00025   ACE_GUARD_THROW_EX (ACE_Lock, \
00026                       monitor, \
00027                       this->lock (), \
00028                       CORBA::OBJ_ADAPTER ()); \
00029   ACE_CHECK_RETURN (RETURN)
00030 
00031 #define TAO_POA_GUARD \
00032   TAO::Portable_Server::POA_Guard poa_guard (*this ACE_ENV_ARG_PARAMETER); \
00033   ACE_UNUSED_ARG (poa_guard); \
00034   ACE_CHECK
00035 
00036 #define TAO_POA_GUARD_RETURN(RETURN) \
00037   TAO::Portable_Server::POA_Guard poa_guard (*this ACE_ENV_ARG_PARAMETER); \
00038   ACE_UNUSED_ARG (poa_guard); \
00039   ACE_CHECK_RETURN (RETURN)
00040 
00041 #include /**/ "ace/post.h"
00042 
00043 #endif /* TAO_POA_MACROS_H */

Generated on Thu Nov 9 12:40:40 2006 for TAO_PortableServer by doxygen 1.3.6