3 //=============================================================================
5 * @file DiffServPolicy.h
7 * @author Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
8 * Johnny Willemsen <jwillemsen@remedy.nl>
10 //=============================================================================
13 #ifndef TAO_DIFFSERVPOLICY_H
14 #define TAO_DIFFSERVPOLICY_H
16 #include /**/ "ace/pre.h"
18 #include "tao/DiffServPolicy/DiffServPolicy_Export.h"
20 #if !defined (ACE_LACKS_PRAGMA_ONCE)
22 #endif /* ACE_LACKS_PRAGMA_ONCE */
24 #include "tao/PI/PI.h"
25 #include "tao/Versioned_Namespace.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
29 class TAO_DiffServPolicy_Export TAO_DiffServPolicy_Initializer
30 : public ACE_Service_Object
33 /// Used to force the initialization of the ORB code.
34 static int static_init ();
36 /// Initialize the Diffserv loader hooks.
37 virtual int init (int argc
, ACE_TCHAR
* []);
41 TAO_Requires_DiffServPolicy_Initializer
=
42 TAO_DiffServPolicy_Initializer::static_init ();
45 ACE_STATIC_SVC_DECLARE_EXPORT (TAO_DiffServPolicy
, TAO_DiffServPolicy_Initializer
)
46 ACE_FACTORY_DECLARE (TAO_DiffServPolicy
, TAO_DiffServPolicy_Initializer
)
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #include /**/ "ace/post.h"
51 #define TAO_DIFFSERVPOLICY_SAFE_INCLUDE
52 #include "tao/DiffServPolicy/DiffServPolicyC.h"
53 #undef TAO_DIFFSERVPOLICY_SAFE_INCLUDE
55 #endif /* TAO_DIFFSERVPOLICY_H */