Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / CSD_Framework / CSD_Default_Servant_Dispatcher.h
blobc3bd63fb687674d2723461e4877e053ba8e545be
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file CSD_Default_Servant_Dispatcher.h
7 * @author Yan Dai (dai_y@ociweb.com)
8 */
9 //=============================================================================
11 #ifndef TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H
12 #define TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H
13 #include /**/ "ace/pre.h"
15 #include "tao/CSD_Framework/CSD_FW_Export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "tao/PortableServer/Default_Servant_Dispatcher.h"
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 /**
26 * @class TAO_CSD_Default_Servant_Dispatcher
28 * @brief Interface for CSD_POA servant dispatching strategies.
30 class TAO_CSD_FW_Export TAO_CSD_Default_Servant_Dispatcher
31 : public virtual TAO_Default_Servant_Dispatcher
33 public:
34 virtual ~TAO_CSD_Default_Servant_Dispatcher ();
36 /// Factory method for creating new CSD Root POA.
37 virtual TAO_Root_POA *create_Root_POA (const ACE_CString &name,
38 PortableServer::POAManager_ptr poa_manager,
39 const TAO_POA_Policy_Set &policies,
40 ACE_Lock &lock,
41 TAO_SYNCH_MUTEX &thread_lock,
42 TAO_ORB_Core &orb_core,
43 TAO_Object_Adapter *object_adapter);
46 TAO_END_VERSIONED_NAMESPACE_DECL
48 #include /**/ "ace/post.h"
49 #endif /* TAO_CSD_DEFAULT_SERVANT_DISPATCHER_H */