poa_macros.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 // $Id: poa_macros.h 76995 2007-02-11 12:51:42Z johnnyw $
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 
00012 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00013 # pragma once
00014 #endif /* ACE_LACKS_PRAGMA_ONCE */
00015 
00016 #define TAO_OBJECT_ADAPTER_GUARD \
00017   ACE_GUARD_THROW_EX (ACE_Lock, \
00018                       monitor, \
00019                       this->lock (), \
00020                       CORBA::OBJ_ADAPTER ())
00021 
00022 #define TAO_OBJECT_ADAPTER_GUARD_RETURN(RETURN) \
00023   ACE_GUARD_THROW_EX (ACE_Lock, \
00024                       monitor, \
00025                       this->lock (), \
00026                       CORBA::OBJ_ADAPTER ())
00027 
00028 #define TAO_POA_GUARD \
00029   TAO::Portable_Server::POA_Guard poa_guard (*this); \
00030   ACE_UNUSED_ARG (poa_guard)
00031 
00032 #define TAO_POA_GUARD_RETURN(RETURN) \
00033   TAO::Portable_Server::POA_Guard poa_guard (*this); \
00034   ACE_UNUSED_ARG (poa_guard)
00035 
00036 #include /**/ "ace/post.h"
00037 
00038 #endif /* TAO_POA_MACROS_H */

Generated on Tue Feb 2 17:40:54 2010 for TAO_PortableServer by  doxygen 1.4.7