summaryrefslogtreecommitdiff
path: root/TAO/tao/DiffServPolicy/DiffServPolicy.h
blob: 1f88da59fef5e2c5a7adf857ab4b53c514a54bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// -*- C++ -*-

//=============================================================================
/**
 *  @file   DiffServPolicy.h
 *
 *  @author  Jaiganesh Balasubramanian <jai@dre.vanderbilt.edu>
 *           Johnny Willemsen <jwillemsen@remedy.nl>
 */
//=============================================================================


#ifndef TAO_DIFFSERVPOLICY_H
#define TAO_DIFFSERVPOLICY_H

#include /**/ "ace/pre.h"

#include "tao/DiffServPolicy/DiffServPolicy_Export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/PI/PI.h"
#include "tao/Versioned_Namespace.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

class TAO_DiffServPolicy_Export TAO_DiffServPolicy_Initializer
  : public ACE_Service_Object
{
public:
  /// Used to force the initialization of the ORB code.
  static int static_init (void);

  /// Initialize the Diffserv loader hooks.
  virtual int init (int argc, ACE_TCHAR* []);
};

static int
TAO_Requires_DiffServPolicy_Initializer =
  TAO_DiffServPolicy_Initializer::static_init ();



ACE_STATIC_SVC_DECLARE_EXPORT (TAO_DiffServPolicy, TAO_DiffServPolicy_Initializer)
ACE_FACTORY_DECLARE (TAO_DiffServPolicy, TAO_DiffServPolicy_Initializer)
TAO_END_VERSIONED_NAMESPACE_DECL

#include /**/ "ace/post.h"

#define TAO_DIFFSERVPOLICY_SAFE_INCLUDE
#include "tao/DiffServPolicy/DiffServPolicyC.h"
#undef TAO_DIFFSERVPOLICY_SAFE_INCLUDE

#endif /* TAO_DIFFSERVPOLICY_H */