summaryrefslogtreecommitdiff
path: root/TAO/tao/rtcorbafwd.h
blob: 2bd0f609af789830e9fbd910fd3d51912b0e8b03 (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file   rtcorbafwd.h
 *
 *  $Id$
 *
 * 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 */