Regular_POA.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file    Regular_POA.h
00006  *
00007  *  $Id: Regular_POA.h 78630 2007-06-28 10:34:07Z johnnyw $
00008  *
00009  *  Header file for CORBA's ORB type.
00010  *
00011  *  @author  Irfan Pyarali <irfan@cs.wustl.edu>
00012  */
00013 //=============================================================================
00014 
00015 #ifndef TAO_REGULAR_POA_H
00016 #define TAO_REGULAR_POA_H
00017 
00018 #include /**/ "ace/pre.h"
00019 
00020 #include "tao/PortableServer/portableserver_export.h"
00021 
00022 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00023 # pragma once
00024 #endif /* ACE_LACKS_PRAGMA_ONCE */
00025 
00026 #include "tao/PortableServer/Root_POA.h"
00027 
00028 #if !defined (CORBA_E_MICRO)
00029 
00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00031 
00032 /**
00033  * @class TAO_Regular_POA
00034  *
00035  * @brief Implementation of the PortableServer::POA interface.
00036  *
00037  * Implementation of the PortableServer::POA interface.
00038  */
00039 class TAO_PortableServer_Export TAO_Regular_POA
00040   : public TAO_Root_POA
00041 {
00042 public:
00043   TAO_Regular_POA (const String &name,
00044                    PortableServer::POAManager_ptr poa_manager,
00045                    const TAO_POA_Policy_Set &policies,
00046                    TAO_Root_POA *parent,
00047                    ACE_Lock &lock,
00048                    TAO_SYNCH_MUTEX &thread_lock,
00049                    TAO_ORB_Core &orb_core,
00050                    TAO_Object_Adapter *object_adapter
00051                   );
00052 
00053   virtual ~TAO_Regular_POA (void);
00054 
00055   PortableServer::POA_ptr the_parent (void);
00056 
00057 protected:
00058   virtual void remove_from_parent_i (void);
00059 
00060   virtual CORBA::Boolean root (void) const;
00061 
00062   virtual char root_key_type (void);
00063 
00064   /// The parent of this POA, be aware that in case this pointer is nill,
00065   /// we are a parent. This can be achieved by deriving from this Regular_POA
00066   /// and pass a nill pointer as parent with the constructor.
00067   TAO_Root_POA *parent_;
00068 };
00069 
00070 TAO_END_VERSIONED_NAMESPACE_DECL
00071 
00072 #endif
00073 
00074 // ****************************************************************
00075 
00076 #if defined (__ACE_INLINE__)
00077 # include "tao/PortableServer/Regular_POA.inl"
00078 #endif /* __ACE_INLINE__ */
00079 
00080 #include /**/ "ace/post.h"
00081 
00082 #endif /* TAO_REGULAR_POA_H */

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