Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Policy.pidl File Reference

Pre-compiled IDL source for the CORBA::Policy related classes. More...

#include <Current.pidl>
#include <Policy_Forward.pidl>

Include dependency graph for Policy.pidl:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  CORBA

Compounds

exception  CORBA::InvalidPolicies
interface  CORBA::Policy


Detailed Description

Pre-compiled IDL source for the CORBA::Policy related classes.

Id:
Policy.pidl,v 1.1.1.3 2003/02/21 18:36:45 chad Exp

This file is used to generate the code in PolicyC.{h,i,cpp}. Also, skeleton code for the only non local Policy interface is generated from this pidl file and then the declaration code is moved to tao/PortableServer/PolicyS.{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.exe -o orig -Gp -Gd -Ge 1 -Gv -DCORBA3 -Wb,export_macro=TAO_Export -Wb,export_include="tao/corbafwd.h" -Wb,pre_include="ace/pre.h" -Wb,post_include="ace/post.h" Policy.pidl

2. Then patch the generated code. This patch (a) eliminates cycles in the include dependencies; (b) adds the TAO_Encodable methods to the Policy class; (c) fixes the includes in the PolicyS.h file.

Apply patches using the following commands:

cp orig/PolicyC.{h,i,cpp} . cp orig/PolicyS.{h,i,cpp} PortableServer cp orig/PolicyS_T.{h,i,cpp} PortableServer patch < diffs/Policy.diff

Note: The diffs were generated with these commands:

for i in PolicyC.{h,i,cpp}; do diff -wBbu orig/$i $i; done > diffs/Policy.diff for i in Policy{S,S_T}.{h,i,cpp}; do diff -wBbu orig/$i PortableServer/$i; done >> diffs/Policy.diff

Definition in file Policy.pidl.


Generated on Mon Jun 16 14:33:02 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002