diff options
author | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-10-19 00:27:51 +0000 |
---|---|---|
committer | dai_y <dai_y@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2005-10-19 00:27:51 +0000 |
commit | b29e5800752ecefbe4e9317ac908e40d9c6eded0 (patch) | |
tree | 3bdec835860a692ca76bdcd5baa5f069645bf248 /TAO/tao/CSD_Framework/CSD_Framework.pidl | |
parent | 189f1baf20ea719b1724adef186b8699706eb065 (diff) | |
download | ATCD-b29e5800752ecefbe4e9317ac908e40d9c6eded0.tar.gz |
Tue Oct 18 17:24:26 MST 2005 Yan Dai <dai_y@ociweb.com>
Diffstat (limited to 'TAO/tao/CSD_Framework/CSD_Framework.pidl')
-rw-r--r-- | TAO/tao/CSD_Framework/CSD_Framework.pidl | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/TAO/tao/CSD_Framework/CSD_Framework.pidl b/TAO/tao/CSD_Framework/CSD_Framework.pidl new file mode 100644 index 00000000000..ba1940df02e --- /dev/null +++ b/TAO/tao/CSD_Framework/CSD_Framework.pidl @@ -0,0 +1,75 @@ +// -*- IDL -*- +/** + * @file CSD_Framework.pidl + * + * $Id$ + * + * @brief Pre-compiled IDL source for the CSD_Framework module. + * + * This file was used to generate the code in + * CSD_FrameworkC.{h,inl,cpp}, using the following command: + * + $ACE_ROOT/bin/tao_idl \ + -o orig -Gp -Gd -Ge 1 -Gt -Sc -GA -I$TAO_ROOT \ + -Wb,export_macro=TAO_CSD_FW_Export \ + -Wb,export_include="CSD_FW_Export.h" \ + -Wb,pre_include="ace/pre.h" \ + -Wb,post_include="ace/post.h" \ + CSD_Framework.pidl + * + * After the file is generated a patch from the diffs directory must + * be applied. The patch: + * + * - Disables parts of the code under certain configurations. + * + * - Eliminates cycles in the include dependencies. + * + * - Adds non-idl components of CSD_Framework to the namespace. + * This includes (a) Servant (b) ServantBase (c) RefCountServantBase + * (d) Cookie (e) ObjectId_to_string (f) string_to_ObjectId (g) + * ObjectId_to_wstring (h) wstring_to_ObjectId (i) ServantBase_var + * (j) DynamicImplementation (k) LocalServantBase + * + * Apply patches using the following command: + * + * patch < diffs/CSD_Framework.diff + * + * Note: The diffs were generated using: + * + * rm diffs/CSD_Framework.diff + * for i in CSD_FrameworkC.{h,i,cpp}; do + * diff -wub orig/$i $i >> diffs/CSD_Framework.diff + * done + */ + +#ifndef _CSD_FRAMEWORK_IDL_ +#define _CSD_FRAMEWORK_IDL_ + +#include <tao/PortableServer/PortableServer.pidl> + +module CSD_Framework { + + //# pragma version CSD_Framework 2.3 + + // This is a common base interface for all CSD strategy + // implementations + local interface Strategy { + + //# pragma version Strategy 2.3 + + // This is support for a legacy method of supplying a strategy to a + // POA. + boolean apply_to(in PortableServer::POA p); + }; + + // Specialized POA providing a method to supply a strategy object to + // the POA. + local interface POA : PortableServer::POA { + + //# pragma version POA 2.3 + + void set_csd_strategy (in Strategy s); + }; +}; + +#endif //_CSD_FRAMEWORK_IDL_ |