Security_PolicyFactory.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 //=============================================================================
00004 /**
00005  * @file Security_PolicyFactory.h
00006  *
00007  * $Id: Security_PolicyFactory.h 77001 2007-02-12 07:54:49Z johnnyw $
00008  *
00009  * @author Ossama Othman <ossama@uci.edu>
00010  */
00011 //=============================================================================
00012 
00013 
00014 #ifndef TAO_SECURITY_POLICY_FACTORY_H
00015 #define TAO_SECURITY_POLICY_FACTORY_H
00016 
00017 #include /**/ "ace/pre.h"
00018 
00019 #include "orbsvcs/Security/security_export.h"
00020 
00021 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00022 # pragma once
00023 #endif /* ACE_LACKS_PRAGMA_ONCE */
00024 
00025 #include "tao/PI/PI.h"
00026 #include "tao/LocalObject.h"
00027 
00028 // This is to remove "inherits via dominance" warnings from MSVC.
00029 // MSVC is being a little too paranoid.
00030 #if defined(_MSC_VER)
00031 #pragma warning(push)
00032 #pragma warning(disable:4250)
00033 #endif /* _MSC_VER */
00034 
00035 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00036 
00037 namespace TAO
00038 {
00039   namespace Security
00040   {
00041 
00042     /**
00043      * @class PolicyFactory
00044      *
00045      * @brief Policy factory for all security related policies.
00046      *
00047      * Policy factory for all security related policies.
00048      */
00049     class PolicyFactory
00050       : public PortableInterceptor::PolicyFactory,
00051         public TAO_Local_RefCounted_Object
00052     {
00053     public:
00054 
00055       virtual CORBA::Policy_ptr create_policy (CORBA::PolicyType type,
00056                                                const CORBA::Any & value);
00057     };
00058 
00059   } // End Security namespace
00060 }  // End TAO namespace
00061 
00062 TAO_END_VERSIONED_NAMESPACE_DECL
00063 
00064 #if defined(_MSC_VER)
00065 #pragma warning(pop)
00066 #endif /* _MSC_VER */
00067 
00068 #include /**/ "ace/post.h"
00069 
00070 #endif /* TAO_SECURITY_POLICY_FACTORY_H */

Generated on Sun Jan 27 16:09:36 2008 for TAO_Security by doxygen 1.3.6