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
|
/**
* @file Domain.pidl
*
* $Id$
*
* @brief Pre-compiled IDL source for the CORBA::Domain related
* classes.
*
* This file was used to generate the code in DomainC.{h,i,cpp}.
*
* The steps to regenerate the code are as follows:
*
* 1. Run the tao_idl compiler on the patched pidl file. The
* command used for this is:
*
* tao_idl
* -o orig -Gp -Gd -Ge 1 -GT -GA
* -Wb,export_macro=TAO_Export
* -Wb,pre_include="ace/pre.h"
* -Wb,post_include="ace/post.h"
* Domain.pidl
*
* 2. Then patch the generated code. This patch (a) eliminates
* cycles in the include dependencies.
*
* Apply patches using the following commands:
*
* cp orig/DomainC.{h,i,cpp} .
* cp orig/Domain{S,S_T}.{h,i,cpp} Domain
* patch < diffs/Domain.diff
*
* 3. You'll have to move the Domain skeleton files from TAO/tao
* to the TAO_Domain library by hand.
*
* Note: The diffs were generated with these commands:
*
* for i in DomainC.{h,i,cpp}; do
* diff -wBbu orig/$i $i;
* done > diffs/Domain.diff
* for i in Domain{S,S_T}.{h,i,cpp}; do
* diff -wBbu orig/$i Domain/$i;
* done >> diffs/Domain.diff
*/
#ifndef TAO_CORBA_DOMAIN_PIDL
#define TAO_CORBA_DOMAIN_PIDL
#include <Policy.pidl>
#include <InterfaceDef.pidl>
#pragma prefix "omg.org"
module CORBA
{
interface DomainManager
{
Policy get_domain_policy (
in PolicyType policy_type
);
};
const PolicyType SecConstruction = 11;
interface ConstructionPolicy : Policy
{
void make_domain_manager (
in InterfaceDef object_type,
in boolean constr_policy
);
};
typedef sequence <DomainManager> DomainManagerList;
};
#endif /* TAO_CORBA_DOMAIN_IDL */
|