RequestProcessingPolicy.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  *  @file RequestProcessingPolicy.h
00006  *
00007  *  $Id: RequestProcessingPolicy.h 81429 2008-04-24 18:49:54Z johnnyw $
00008  *
00009  *  @author  Johnny Willemsen  <jwillemsen@remedy.nl>
00010  */
00011 //=============================================================================
00012 
00013 #ifndef TAO_PORTABLESERVER_REQUESTPROCESSINGPOLICY_H
00014 #define TAO_PORTABLESERVER_REQUESTPROCESSINGPOLICY_H
00015 #include /**/ "ace/pre.h"
00016 
00017 #include "tao/PortableServer/portableserver_export.h"
00018 
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif /* ACE_LACKS_PRAGMA_ONCE */
00022 
00023 #include "tao/PortableServer/RequestProcessingPolicyC.h"
00024 #include "tao/LocalObject.h"
00025 
00026 // This is to remove "inherits via dominance" warnings from MSVC.
00027 // MSVC is being a little too paranoid.
00028 #if defined(_MSC_VER)
00029 #pragma warning(push)
00030 #pragma warning(disable:4250)
00031 #endif /* _MSC_VER */
00032 
00033 #if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
00034 
00035 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00036 
00037 namespace TAO
00038 {
00039   namespace Portable_Server
00040   {
00041     class TAO_PortableServer_Export RequestProcessingPolicy :
00042       public virtual ::PortableServer::RequestProcessingPolicy,
00043       public virtual ::CORBA::LocalObject
00044     {
00045     public:
00046       RequestProcessingPolicy (::PortableServer::RequestProcessingPolicyValue value);
00047 
00048       CORBA::Policy_ptr copy (void);
00049 
00050       void destroy (void);
00051 
00052       ::PortableServer::RequestProcessingPolicyValue value (void);
00053 
00054       CORBA::PolicyType policy_type (void);
00055 
00056       /// Return the cached policy type for this policy.
00057       virtual TAO_Cached_Policy_Type _tao_cached_type (void) const;
00058 
00059       /// Returns the scope at which this policy can be applied. See orbconf.h.
00060       virtual TAO_Policy_Scope _tao_scope (void) const;
00061 
00062     private:
00063       ::PortableServer::RequestProcessingPolicyValue value_;
00064     };
00065   }
00066 }
00067 
00068 TAO_END_VERSIONED_NAMESPACE_DECL
00069 
00070 #endif /* TAO_HAS_MINIMUM_POA == 0 */
00071 
00072 #if defined(_MSC_VER)
00073 #pragma warning(pop)
00074 #endif /* _MSC_VER */
00075 
00076 #include /**/ "ace/post.h"
00077 #endif /* TAO_PORTABLESERVER_REQUESTPROCESSINGPOLICY_H */

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