summaryrefslogtreecommitdiff
path: root/trunk/TAO/tao/RTPortableServer/RTPortableServer.pidl
blob: 9f9c13651d1dae43d701ae2f06a7dcf469833551 (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
55
56
57
/**
 * @file RTPortableServer.pidl
 *
 * $Id$
 *
 * @brief Pre-compiled IDL source for the RTPortableServer module.
 *
 * This file was used to generate the code in RTPortableServerC.{h,cpp}
 * The steps to regenerate the code are as follows:
 *
 *   1. Run the tao_idl compiler on the pidl file.  The command used for
 *   this is:
 *
 *     tao_idl
 *          -o orig -GA -Sci
 *          -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.pidl
 *
 *   2. The generated files are ready to use
 */

#ifndef _RT_PORTABLE_SERVER_IDL_
#define _RT_PORTABLE_SERVER_IDL_

#include "tao/PortableServer/PortableServer_include.pidl"
#include "tao/RTCORBA/RTCORBA_include.pidl"

#pragma prefix "omg.org"

module RTPortableServer
{
  local interface POA : PortableServer::POA
  {
    Object create_reference_with_priority (in CORBA::RepositoryId intf,
                                           in RTCORBA::Priority priority)
    raises (WrongPolicy);

    Object create_reference_with_id_and_priority (in PortableServer::ObjectId oid,
                                                  in CORBA::RepositoryId intf,
                                                  in RTCORBA::Priority priority)
    raises (WrongPolicy);

    PortableServer::ObjectId activate_object_with_priority (in PortableServer::Servant p_servant,
                                                            in RTCORBA::Priority priority)
    raises (ServantAlreadyActive, WrongPolicy);

    void activate_object_with_id_and_priority (in PortableServer::ObjectId oid,
                                               in PortableServer::Servant p_servant,
                                               in RTCORBA::Priority priority)
    raises ( ServantAlreadyActive, ObjectAlreadyActive, WrongPolicy );
  };
};

#endif /* _RT_PORTABLE_SERVER_IDL_ */