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
76
77
78
|
//
// $Id$
//
// ================================================================
//
// = LIBRARY
// TAO
//
// = FILENAME
// RTPortableServer.pidl
//
// = DESCRIPTION
//
// This file was used to generate the code in RTPortableServerC.{h,i,cpp}
//
// The command used to generate code from this file is:
//
// tao_idl.exe \
// -Ge 1 \
// -Wb,export_macro=TAO_PortableServer_Export \
// -Wb,pre_include="ace/pre.h" \
// -Wb,post_include="ace/post.h" \
// RTPortableServer.pidl
//
// After the file is generated a patch from the diffs directory must
// be applied. The patch fixes include file dependencies and adds
// TAO_HAS_RT_CORBA directives. It also makes the inheritance of
// RTPortableServer::POA from PortableServer::POA non-virtual. This
// was to make sure that classes casting from PortableServer::POA to
// TAO_POA can still do so.
//
// Apply patches using the following commands:
//
// patch < diffs\RTPortableServerC.h.diff
// patch < diffs\RTPortableServerC.cpp.diff
//
// Note: The diffs were generated with these commands:
//
// diff -wub RTPortableServerC.h RTPortableServerC.h.mod > diffs\RTPortableServerC.h.diff
// diff -wub RTPortableServerC.cpp RTPortableServerC.cpp.mod > diffs\RTPortableServerC.cpp.diff
//
// ================================================================
#ifndef _RT_PORTABLE_SERVER_IDL_
#define _RT_PORTABLE_SERVER_IDL_
#include <PortableServer.pidl>
#include <RTCORBA.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 );
};
};
#pragma prefix ""
#endif /* _RT_PORTABLE_SERVER_IDL_ */
|