summaryrefslogtreecommitdiff
path: root/TAO/tao/rtcorbafwd.h
blob: 46bb4e808ea10bcef993fa98fc4c8e687aea9c78 (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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// -*- C++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//   TAO
//
// = FILENAME
//   rtcorbafwd.h
//
// = DESCRIPTION
//   Forward declare the basic types used in the RT-CORBA namespace.
//   As with the CORBA namespace they are too many to just lump them
//   in the same file, and having a place where they are only forward
//   declared breaks cyclic dependencies.
//
// = AUTHOR
//   Carlos O'Ryan
//
// ============================================================================

#ifndef TAO_RTCORBAFWD_H
#define TAO_RTCORBAFWD_H
#include "ace/pre.h"

#include "tao/corbafwd.h"

#if (TAO_HAS_RT_CORBA == 1)

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

class TAO_Priority_Mapping;

class TAO_RT_Current;
class TAO_RT_Current_var;
class TAO_RT_Current_out;

TAO_NAMESPACE RTCORBA
{
  // = TITLE
  //   Provides the RTCORBA namespace.
  //
  // = DESCRIPTION
  //   The contents of the RTCORBA module are defined in
  //   orbos/99-02-12, the complete listing is in section 4.16
  //   Notice that the name of the namespace was changed from RT_CORBA 
  //   to RTCORBA by the corrigendum in:
  //   orbos/99-03-29

  typedef CORBA::Short NativePriority;

  typedef CORBA::Short Priority;
  TAO_NAMESPACE_STORAGE_CLASS const Priority minPriority;
  TAO_NAMESPACE_STORAGE_CLASS const Priority maxPriority;

  typedef TAO_Priority_Mapping PriorityMapping;

  typedef TAO_RT_Current *Current_ptr;
  typedef TAO_RT_Current Current;
  typedef TAO_RT_Current_var Current_var;
  typedef TAO_RT_Current_out Current_out;

}
TAO_NAMESPACE_CLOSE  // end of class (namespace) RTCORBA

#if defined (__ACE_INLINE__)
# include "tao/rtcorbafwd.i"
#endif /* ! __ACE_INLINE__ */

#endif /* TAO_HAS_RT_CORBA == 1 */

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