blob: 8d17325a6a283ed6f9d0916e8ed578a553ec6e5b (
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
|
--- orig/TAOC.h Tue Apr 16 17:44:38 2002
+++ TAOC.h Tue Apr 16 17:47:25 2002
@@ -23,16 +23,15 @@
#define _TAO_IDL_ORIG_TAOC_H_
#include "ace/pre.h"
-#include "tao/corba.h"
+
+#include "tao/corbafwd.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
-#include "tao/corbafwd.h"
#include "PolicyC.h"
#include "TimeBaseC.h"
-#include "Messaging_SyncScopeC.h"
#if defined (TAO_EXPORT_MACRO)
#undef TAO_EXPORT_MACRO
@@ -59,6 +58,8 @@
TAO_NAMESPACE TAO
{
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
typedef CORBA::UShort BufferingConstraintMode;
typedef CORBA::UShort_out BufferingConstraintMode_out;
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintMode;
@@ -275,14 +276,17 @@
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_BufferingConstraintPolicy;
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
+
TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_EAGER_BUFFERING;
TAO_NAMESPACE_STORAGE_CLASS const CORBA::Short SYNC_DELAYED_BUFFERING;
-
}
TAO_NAMESPACE_CLOSE // module TAO
+#if (TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1)
+
TAO_Export void operator<<= (CORBA::Any &, const TAO::BufferingConstraint &); // copying version
TAO_Export void operator<<= (CORBA::Any &, TAO::BufferingConstraint*); // noncopying version
TAO_Export CORBA::Boolean operator>>= (const CORBA::Any &, TAO::BufferingConstraint *&); // deprecated
@@ -303,6 +307,8 @@
#if defined (__ACE_INLINE__)
#include "TAOC.i"
#endif /* defined INLINE */
+
+#endif /* TAO_HAS_BUFFERING_CONSTRAINT_POLICY == 1 */
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma warning(pop)
|