3 //=============================================================================
7 //=============================================================================
9 #ifndef TAO_POA_GUARD_H
10 #define TAO_POA_GUARD_H
12 #include /**/ "ace/pre.h"
14 #include "tao/PortableServer/portableserver_export.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 #include "tao/orbconf.h"
21 #include "ace/Guard_T.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 namespace Portable_Server
38 class TAO_PortableServer_Export POA_Guard
41 POA_Guard (::TAO_Root_POA
&poa
, bool check_for_destruction
= true);
44 // FUZZ: disable check_for_ACE_Guard
45 ACE_Guard
<ACE_Lock
> guard_
;
46 // FUZZ: enable check_for_ACE_Guard
48 } /* namespace Portable_Server */
51 TAO_END_VERSIONED_NAMESPACE_DECL
53 #include /**/ "ace/post.h"
55 #endif /* TAO_POA_GUARD_H */