summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging_PolicyValue.pidl
blob: 1d7991e4664bf6a6ff7254e2564a3bd189d08e8d (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
// -*- IDL -*-
/**
 *  @file Messaging_PolicyValue.pidl
 *
 *  $Id$
 *
 * This file was used to generate the code in Messaging_PolicyValueC.{h,i,cpp}
 *
 * The command used to generate code from this file is:
 *
 *   tao_idl.exe
 *        -o orig -Gp -Gd -Ge 1 -GT
 *        -Wb,export_macro=TAO_Export
 *        -Wb,export_include=tao/TAO_Export.h
 *        -Wb,pre_include="ace/pre.h"
 *        -Wb,post_include="ace/post.h"
 *        Messaging_PolicyValue.pidl
 *
 * after the file is generated a patch must be applied:
 *
 *   cp orig/Messaging_PolicyValueC.{h,i,cpp} .
 *   patch < diffs/Messaging_PolicyValue.diff
 *
 * The patch eliminates cycles in the include dependencies.
 *
 * Note: to update the patch file after re-generating the code use:
 *
 *   for i in Messaging_PolicyValueC.{h,i,cpp}; do
 *     diff -uBbw orig/$i $i;
 *   done > diffs/Messaging_PolicyValue.diff
 *
 */
#ifndef TAO_MESSAGING_POLICYVALUE_PIDL
#define TAO_MESSAGING_POLICYVALUE_PIDL

#include <IOP.pidl>

#pragma prefix "omg.org"

module Messaging
{
  struct PolicyValue
  {
    CORBA::PolicyType ptype;
    sequence<octet>   pvalue;
  };

  typedef sequence<PolicyValue> PolicyValueSeq;

  const IOP::ComponentId TAG_POLICIES      = 2;
  const IOP::ServiceId INVOCATION_POLICIES = 2;
};

#endif /* TAO_MESSAGING_POLICYVALUE_PIDL */