TAO_RTPortableServer  2.1.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
RTPortableServer_include.pidl File Reference

Include file for use in applications that need RTPortableServer.pidl. More...

#include "tao/RTPortableServer/RTPortableServer.pidl"

Detailed Description

Include file for use in applications that need RTPortableServer.pidl.

Id:
RTPortableServer_include.pidl 84229 2009-01-23 21:32:40Z mitza

This file just includes RTPortableServer.pidl. The *C.h file generated from this is hand-crafted to itself include RTPortableServer.h instead of RTPortableServerC.h (which will produce a compiler error message if included directly). The RTPortableServer_includeC.h file can then be included directly and automatically by the IDL compiler when building the application.

  1. Run the tao_idl compiler on the pidl file. The command used for this is:

    tao_idl -o orig -St -Sp -Sci -SS -Wb,export_macro=TAO_RTPortableServer_Export \ -Wb,export_include="rtportableserver_export.h" \ -Wb,pre_include="ace/pre.h" -Wb,post_include="ace/post.h" RTPortableServer_include.pidl

  1. Then change this line in RTPortableServer_includeC.h:

    #include "RTPortableServerC.h"
    

    to

    #include "RTPortableServer.h"