3 //=============================================================================
5 * @file DTP_POA_Loader.h
7 * Header file for Loading DynamicTP.
9 * @author Phil Mesnier <mesnier_p@ociweb.com>
11 //=============================================================================
13 #ifndef TAO_DYNAMIC_TP_POA_LOADER_H
14 #define TAO_DYNAMIC_TP_POA_LOADER_H
15 #include /**/ "ace/pre.h"
16 #include "tao/orbconf.h"
17 #include "tao/Dynamic_TP/dynamic_tp_export.h"
18 #include "tao/Dynamic_TP/DTP_Config.h"
19 #include "tao/CSD_Framework/CSD_Strategy_Repository.h"
20 #include "ace/Synch.h"
21 #include "ace/Service_Object.h"
22 #include "ace/Service_Config.h"
23 #include "ace/RB_Tree.h"
25 #if !defined (ACE_LACKS_PRAGMA_ONCE)
27 #endif /* ACE_LACKS_PRAGMA_ONCE */
29 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
31 class TAO_Dynamic_TP_Export TAO_DTP_POA_Loader
: public ACE_Service_Object
35 TAO_DTP_POA_Loader ();
38 virtual ~TAO_DTP_POA_Loader ();
40 /// Initialize the DynamicTP loader hooks.
41 virtual int init (int argc
, ACE_TCHAR
* []);
44 /// Set to true after init is called.
45 int load_poa_map (ACE_TCHAR
*map_str
,
46 TAO_CSD_Strategy_Repository
* reg
);
48 void report_option_value_error (const ACE_TCHAR
* option_name
,
49 const ACE_TCHAR
* option_value
);
52 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_Dynamic_TP
, TAO_DTP_POA_Loader
)
53 ACE_FACTORY_DECLARE (TAO_Dynamic_TP
, TAO_DTP_POA_Loader
)
55 TAO_END_VERSIONED_NAMESPACE_DECL
57 #include /**/ "ace/post.h"
58 #endif /* TAO_DYNAMIC_TP_POA_LOADER_H */