├── .gitignore
├── LICENSE
├── MANIFEST.in
├── README.rst
├── ansys_corba
├── AAS_CORBA
│ ├── MAPDL
│ │ ├── Exceptions
│ │ │ └── __init__.py
│ │ ├── Solvers
│ │ │ └── __init__.py
│ │ ├── Types
│ │ │ └── __init__.py
│ │ └── __init__.py
│ └── __init__.py
├── AAS_CORBA__POA
│ ├── MAPDL
│ │ ├── Exceptions
│ │ │ └── __init__.py
│ │ ├── Solvers
│ │ │ └── __init__.py
│ │ ├── Types
│ │ │ └── __init__.py
│ │ └── __init__.py
│ └── __init__.py
├── CORBA.py
├── CosNaming
│ └── __init__.py
├── CosNaming__POA
│ └── __init__.py
├── CosNaming_idl.py
├── ICoMapdlUnit_idl.py
├── PortableServer.py
├── PortableServer__POA.py
├── __init__.py
├── __init__.py~
├── omniORB.pth
├── omniORB
│ ├── BiDirPolicy.py
│ ├── CORBA.py
│ ├── COS
│ │ ├── CosCollection
│ │ │ └── __init__.py
│ │ ├── CosCollection__POA
│ │ │ └── __init__.py
│ │ ├── CosCollection_idl.py
│ │ ├── CosCompoundLifeCycle
│ │ │ └── __init__.py
│ │ ├── CosCompoundLifeCycle__POA
│ │ │ └── __init__.py
│ │ ├── CosCompoundLifeCycle_idl.py
│ │ ├── CosContainment
│ │ │ └── __init__.py
│ │ ├── CosContainment__POA
│ │ │ └── __init__.py
│ │ ├── CosContainment_idl.py
│ │ ├── CosEventChannelAdmin
│ │ │ └── __init__.py
│ │ ├── CosEventChannelAdmin__POA
│ │ │ └── __init__.py
│ │ ├── CosEventChannelAdmin_idl.py
│ │ ├── CosEventComm
│ │ │ └── __init__.py
│ │ ├── CosEventComm__POA
│ │ │ └── __init__.py
│ │ ├── CosEventComm_idl.py
│ │ ├── CosExternalization
│ │ │ └── __init__.py
│ │ ├── CosExternalizationContainment
│ │ │ └── __init__.py
│ │ ├── CosExternalizationContainment__POA
│ │ │ └── __init__.py
│ │ ├── CosExternalizationContainment_idl.py
│ │ ├── CosExternalizationReference
│ │ │ └── __init__.py
│ │ ├── CosExternalizationReference__POA
│ │ │ └── __init__.py
│ │ ├── CosExternalizationReference_idl.py
│ │ ├── CosExternalization__POA
│ │ │ └── __init__.py
│ │ ├── CosExternalization_idl.py
│ │ ├── CosGraphs
│ │ │ └── __init__.py
│ │ ├── CosGraphs__POA
│ │ │ └── __init__.py
│ │ ├── CosGraphs_idl.py
│ │ ├── CosLifeCycle
│ │ │ └── __init__.py
│ │ ├── CosLifeCycleContainment
│ │ │ └── __init__.py
│ │ ├── CosLifeCycleContainment__POA
│ │ │ └── __init__.py
│ │ ├── CosLifeCycleContainment_idl.py
│ │ ├── CosLifeCycleReference
│ │ │ └── __init__.py
│ │ ├── CosLifeCycleReference__POA
│ │ │ └── __init__.py
│ │ ├── CosLifeCycleReference_idl.py
│ │ ├── CosLifeCycle__POA
│ │ │ └── __init__.py
│ │ ├── CosLifeCycle_idl.py
│ │ ├── CosNaming
│ │ │ └── __init__.py
│ │ ├── CosNaming__POA
│ │ │ └── __init__.py
│ │ ├── CosNaming_idl.py
│ │ ├── CosNotification
│ │ │ └── __init__.py
│ │ ├── CosNotification__POA
│ │ │ └── __init__.py
│ │ ├── CosNotification_idl.py
│ │ ├── CosNotifyChannelAdmin
│ │ │ └── __init__.py
│ │ ├── CosNotifyChannelAdmin__POA
│ │ │ └── __init__.py
│ │ ├── CosNotifyChannelAdmin_idl.py
│ │ ├── CosNotifyComm
│ │ │ └── __init__.py
│ │ ├── CosNotifyComm__POA
│ │ │ └── __init__.py
│ │ ├── CosNotifyComm_idl.py
│ │ ├── CosNotifyFilter
│ │ │ └── __init__.py
│ │ ├── CosNotifyFilter__POA
│ │ │ └── __init__.py
│ │ ├── CosNotifyFilter_idl.py
│ │ ├── CosObjectIdentity
│ │ │ └── __init__.py
│ │ ├── CosObjectIdentity__POA
│ │ │ └── __init__.py
│ │ ├── CosObjectIdentity_idl.py
│ │ ├── CosPersistenceDDO
│ │ │ └── __init__.py
│ │ ├── CosPersistenceDDO__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistenceDDO_idl.py
│ │ ├── CosPersistenceDS_CLI
│ │ │ └── __init__.py
│ │ ├── CosPersistenceDS_CLI__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistenceDS_CLI_idl.py
│ │ ├── CosPersistencePDS
│ │ │ └── __init__.py
│ │ ├── CosPersistencePDS_DA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePDS_DA__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePDS_DA_idl.py
│ │ ├── CosPersistencePDS__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePDS_idl.py
│ │ ├── CosPersistencePID
│ │ │ └── __init__.py
│ │ ├── CosPersistencePID__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePID_idl.py
│ │ ├── CosPersistencePO
│ │ │ └── __init__.py
│ │ ├── CosPersistencePOM
│ │ │ └── __init__.py
│ │ ├── CosPersistencePOM__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePOM_idl.py
│ │ ├── CosPersistencePO__POA
│ │ │ └── __init__.py
│ │ ├── CosPersistencePO_idl.py
│ │ ├── CosPropertyService
│ │ │ └── __init__.py
│ │ ├── CosPropertyService__POA
│ │ │ └── __init__.py
│ │ ├── CosPropertyService_idl.py
│ │ ├── CosQuery
│ │ │ └── __init__.py
│ │ ├── CosQueryCollection
│ │ │ └── __init__.py
│ │ ├── CosQueryCollection__POA
│ │ │ └── __init__.py
│ │ ├── CosQueryCollection_idl.py
│ │ ├── CosQuery__POA
│ │ │ └── __init__.py
│ │ ├── CosQuery_idl.py
│ │ ├── CosReference
│ │ │ └── __init__.py
│ │ ├── CosReference__POA
│ │ │ └── __init__.py
│ │ ├── CosReference_idl.py
│ │ ├── CosRelationships
│ │ │ └── __init__.py
│ │ ├── CosRelationships__POA
│ │ │ └── __init__.py
│ │ ├── CosRelationships_idl.py
│ │ ├── CosStream
│ │ │ └── __init__.py
│ │ ├── CosStream__POA
│ │ │ └── __init__.py
│ │ ├── CosStream_idl.py
│ │ ├── CosTime
│ │ │ └── __init__.py
│ │ ├── CosTime__POA
│ │ │ └── __init__.py
│ │ ├── CosTime_idl.py
│ │ ├── CosTimerEvent
│ │ │ └── __init__.py
│ │ ├── CosTimerEvent__POA
│ │ │ └── __init__.py
│ │ ├── CosTimerEvent_idl.py
│ │ ├── CosTrading
│ │ │ └── __init__.py
│ │ ├── CosTradingDynamic
│ │ │ └── __init__.py
│ │ ├── CosTradingDynamic__POA
│ │ │ └── __init__.py
│ │ ├── CosTradingDynamic_idl.py
│ │ ├── CosTradingRepos
│ │ │ └── __init__.py
│ │ ├── CosTradingRepos__POA
│ │ │ └── __init__.py
│ │ ├── CosTradingRepos_idl.py
│ │ ├── CosTrading__POA
│ │ │ └── __init__.py
│ │ ├── CosTrading_idl.py
│ │ ├── CosTypedEventChannelAdmin
│ │ │ └── __init__.py
│ │ ├── CosTypedEventChannelAdmin__POA
│ │ │ └── __init__.py
│ │ ├── CosTypedEventChannelAdmin_idl.py
│ │ ├── CosTypedEventComm
│ │ │ └── __init__.py
│ │ ├── CosTypedEventComm__POA
│ │ │ └── __init__.py
│ │ ├── CosTypedEventComm_idl.py
│ │ ├── CosTypedNotifyChannelAdmin
│ │ │ └── __init__.py
│ │ ├── CosTypedNotifyChannelAdmin__POA
│ │ │ └── __init__.py
│ │ ├── CosTypedNotifyChannelAdmin_idl.py
│ │ ├── CosTypedNotifyComm
│ │ │ └── __init__.py
│ │ ├── CosTypedNotifyComm__POA
│ │ │ └── __init__.py
│ │ ├── CosTypedNotifyComm_idl.py
│ │ ├── LifeCycleService
│ │ │ └── __init__.py
│ │ ├── LifeCycleService__POA
│ │ │ └── __init__.py
│ │ ├── LifeCycleService_idl.py
│ │ ├── RDITestTypes
│ │ │ └── __init__.py
│ │ ├── RDITestTypes__POA
│ │ │ └── __init__.py
│ │ ├── RDITestTypes_idl.py
│ │ ├── TimeBase
│ │ │ └── __init__.py
│ │ ├── TimeBase__POA
│ │ │ └── __init__.py
│ │ ├── TimeBase_idl.py
│ │ ├── __init__.py
│ │ └── omniORB.pth
│ ├── Compression.py
│ ├── PortableServer.py
│ ├── PortableServer__POA.py
│ ├── URI.py
│ ├── ZIOP.py
│ ├── __init__.py
│ ├── ami.py
│ ├── any.py
│ ├── base.tar
│ ├── boxes_idl.py
│ ├── codesets.py
│ ├── compression_idl.py
│ ├── corbaidl_idl.py
│ ├── interceptors.py
│ ├── ir_idl.py
│ ├── messaging_idl.py
│ ├── minorCodes.py
│ ├── omniConnectionMgmt.py
│ ├── omniPolicy.py
│ ├── omniZIOP.py
│ ├── pollable_idl.py
│ ├── tcInternal.py
│ └── ziop_idl.py
└── omniidl_be
│ ├── __init__.py
│ └── python.py
├── docker.sh
├── docker_buildlinux.sh
└── setup.py
/.gitignore:
--------------------------------------------------------------------------------
1 | # Compiled source #
2 | ###################
3 | *.pyc
4 | *.pyd
5 | *.c
6 | *.cpp
7 | *.so
8 | *.o
9 | *.cache
10 |
11 | # OS generated files #
12 | ######################
13 | .fuse_hidden*
14 | *~
15 | *swp
16 |
17 | # Pip generated folders #
18 | #########################
19 | pyansys.egg-info/
20 | build/
21 | dist/
22 |
23 | # MISC
24 | pyansys/Interface.py
25 | *.bat
26 |
27 | # Testing
28 | factory/
29 | Testing/
30 | UnitTesting/
31 | TODO
32 | test.sh
33 | .pytest_cache/
34 | tests/.coverage
35 | tests/htmlcov
36 | *egg*
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright (c) 2016 Alex Kaszynski
3 |
4 | "Software" refers to python module pyansys and all python and cython source code within.
5 |
6 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7 |
8 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9 |
10 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
11 |
--------------------------------------------------------------------------------
/MANIFEST.in:
--------------------------------------------------------------------------------
1 | recursive-include ansys_corba *
2 |
--------------------------------------------------------------------------------
/README.rst:
--------------------------------------------------------------------------------
1 | **This repository is deprecated**
2 |
3 | This respository has been depricated in favor of the new `gRPC `_ interface developed by Ansys and installed automatically by installing with:
4 |
5 | .. code::
6 |
7 | pip install ansys-mapdl-core
8 |
9 | This repository will remain here for informational purposes, but will remain archived. You can still use it, but consider it unmaintained.
10 |
11 |
12 | ansys_corba
13 | ===========
14 | This python module provides minimum support for connecting to an ANSYS APDL server using Python. While it is designed to be used as a support module to support ``pymapdl``, it can be used individually to send text commands to an APDL instance, but with none of the syntax checking or error handling ``pymapdl`` uses. In short, if you find yourself here, install `pymapdl `_ unless you really want a quick and dirty solution to driving ANSYS APDL from Python.
15 |
16 | This module relies on documentation provided by ANSYS APDL and uses compiled libraries using both source file from `omniORB `_. See the shell files on the GitHub `repository `_ for Linux build instructions. Building for Windows was a nightmare.
17 |
18 |
19 | Installation
20 | ------------
21 | Pre-compiled binary files are available for Python 2.7 and 3.5-3.8 for Linux and Windows. As this repository is no longer maintained in favor of the gRPC interface, these will be the only supported versions of Python.
22 |
23 | Installation is simply:
24 |
25 | .. code::
26 |
27 | pip install ansys_corba
28 |
29 |
30 | Usage
31 | -----
32 | Once again, you really should be using ``pymapdl``. It handles figuring out where the ``mapdl_broadcasts.txt`` file is and when to open a connection with the server. If you'd rather live on the wild side, here's how you'd open MAPDL, connect to a CORBA server, and send over a few commands:
33 |
34 | .. code:: python
35 |
36 | import sys
37 | import time
38 | import os
39 | from ansys_corba import CORBA
40 | import subprocess
41 |
42 | # edit this to match your ansys exe
43 | ansys_loc = 'C:\\Program Files\\ANSYS Inc\\v170\\ansys\\bin\winx64\\ANSYS170.exe'
44 |
45 | # ansys apdl logging here:
46 | logfile = 'mapdl_broadcasts.txt'
47 | if os.path.isfile(logfile):
48 | os.remove(logfile)
49 |
50 | # make temporary input file to stop ansys from prompting the user
51 | with open('tmp.inp', 'w') as f:
52 | f.write('FINISH')
53 |
54 | # start ANSYS
55 | command = '"%s" -aas -i tmp.inp -o out.txt -b' % ansys_loc
56 | subprocess.Popen(command, stdout=subprocess.PIPE)
57 |
58 | # monitor log file and wait for connection
59 | print('Starting ANSYS...')
60 | while True:
61 | try:
62 | if os.path.isfile(logfile):
63 | with open(logfile, 'r') as f:
64 | text = f.read()
65 | if 'visited:collaborativecosolverunitior' in text:
66 | print('ANSYS started')
67 | break
68 | time.sleep(0.1)
69 | except KeyboardInterrupt:
70 | sys.exit()
71 |
72 | with open('./aaS_MapdlId.txt') as f:
73 | key = f.read()
74 |
75 | # create server
76 | orb = CORBA.ORB_init()
77 | mapdl = orb.string_to_object(key)
78 |
79 | # run simple commands to demonstrate this works
80 | mapdl.executeCommand('/prep7')
81 | out = mapdl.executeCommandToString('cylind, 2, , , 2, 0, 90')
82 | print(out.replace('\\n', '\n'))
83 | mapdl.executeCommand('FINISH')
84 | mapdl.terminate() # could use exit, but it returns an error
85 |
86 |
87 | There's several things that could break here, for example, your path to MAPDL, or finding the mapdl_broadcasts.txt file. If this python script isn't running in the same directory as ANSYS, it will hang until you kill the process or exit it with a keyboard interrupt.
88 |
89 | Further Documentation
90 | ---------------------
91 | Once you've opened a connection to MAPDL, there's really only three commands that you need to use. This documentation was shamelessly taken from the official MAPDL AAS documentation:
92 |
93 | - ``executeCommand``:
94 |
95 | Issues a command to the connected Mechanical APDL session. Output from the command is not returned.
96 |
97 | - ``executeCommandToString``
98 |
99 | Issues a command to the connected Mechanical APDL session and returns the output as a string.
100 |
101 | - ``terminate``
102 |
103 | Terminates the connected Mechanical APDL as a Server session.
104 |
105 | See the MAPDL AAS documentation for more details.
106 |
107 |
108 | Notes
109 | -----
110 | Installing from source is not possible using PyPi as the shared libraries need to be compiled outside of Python. I've included ``docker_buildlinux.sh`` and ``docker.sh`` which can be used to build the source code for Linux. Building for Windows is more complicated and requires following the readme within the omniorb source along with some trial and error.
111 |
112 |
113 | License and Acknowledgments
114 | ---------------------------
115 | This code is licensed under the MIT license.
116 |
117 | This module, ``ansys_corba`` makes no commercial claim over MAPDL whatsoever. This tool extends the functionality of MAPDL by adding a python interface in both file interface as well as interactive scripting without changing the core behavior or license of the original software. The use of the interactive APDL control of ``ansys_corba`` requires a legally licensed local copy of MAPDL.
118 |
119 | Also, this module wouldn't be possible without `omniORB`_ as most of the source code is directly take from omniORBpy with only minor modifications to the file structure and the addition of documentation specific to MAPDL.
120 |
121 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA/MAPDL/Exceptions/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA.MAPDL.Exceptions generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA.MAPDL.Exceptions")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA/MAPDL/Solvers/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA.MAPDL.Solvers generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA.MAPDL.Solvers")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA/MAPDL/Types/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA.MAPDL.Types generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA.MAPDL.Types")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA/MAPDL/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA.MAPDL generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA.MAPDL")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 | from . import Exceptions
13 | from . import Solvers
14 | from . import Types
15 |
16 | # ** 3. End
17 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 | from . import MAPDL
13 |
14 | # ** 3. End
15 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA__POA/MAPDL/Exceptions/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA__POA.MAPDL.Exceptions generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA__POA.MAPDL.Exceptions")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA__POA/MAPDL/Solvers/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA__POA.MAPDL.Solvers generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA__POA.MAPDL.Solvers")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA__POA/MAPDL/Types/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA__POA.MAPDL.Types generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA__POA.MAPDL.Types")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA__POA/MAPDL/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA__POA.MAPDL generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA__POA.MAPDL")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 | from . import Exceptions
13 | from . import Solvers
14 | from . import Types
15 |
16 | # ** 3. End
17 |
--------------------------------------------------------------------------------
/ansys_corba/AAS_CORBA__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module AAS_CORBA__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("AAS_CORBA__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import ICoMapdlUnit_idl
10 |
11 | # ** 2. Sub-modules
12 | from . import MAPDL
13 |
14 | # ** 3. End
15 |
--------------------------------------------------------------------------------
/ansys_corba/CORBA.py:
--------------------------------------------------------------------------------
1 | # Small hack to make omniORB.CORBA appear as CORBA
2 |
3 | import sys, omniORB.CORBA
4 | sys.modules["CORBA"] = omniORB.CORBA
5 |
--------------------------------------------------------------------------------
/ansys_corba/CosNaming/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNaming generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNaming")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNaming_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/CosNaming__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNaming__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNaming__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNaming_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/PortableServer.py:
--------------------------------------------------------------------------------
1 | # Small hack to make omniORB.PortableServer appear as PortableServer
2 |
3 | import sys, omniORB.PortableServer
4 | sys.modules["PortableServer"] = omniORB.PortableServer
5 |
--------------------------------------------------------------------------------
/ansys_corba/PortableServer__POA.py:
--------------------------------------------------------------------------------
1 | # Small hack to make omniORB.PortableServer__POA appear as PortableServer__POA
2 |
3 | import sys, omniORB.PortableServer__POA
4 | sys.modules["PortableServer__POA"] = omniORB.PortableServer__POA
5 |
--------------------------------------------------------------------------------
/ansys_corba/__init__.py:
--------------------------------------------------------------------------------
1 | import sys
2 | import ctypes
3 | import os
4 | import glob
5 |
6 | path = os.path.dirname(os.path.realpath(__file__))
7 |
8 | # add this directory to the system path
9 | sys.path.insert(0, path)
10 |
11 | # add shared libaries to the path
12 | libs = ['libomnithread.so.4', 'libomniORB4.so.2',]
13 | for lib in libs:
14 | libfile = os.path.join(path, lib)
15 | if os.path.isfile(libfile):
16 | ctypes.cdll.LoadLibrary(libfile)
17 |
18 | from omniORB import CORBA
19 | import AAS_CORBA
20 |
--------------------------------------------------------------------------------
/ansys_corba/__init__.py~:
--------------------------------------------------------------------------------
1 | import sys
2 | import ctypes
3 | import os
4 |
5 | # add this directory to the system path
6 | path = os.path.dirname(os.path.realpath(__file__))
7 | sys.path.insert(0, path)
8 |
9 | # add shared libaries to the path
10 | libpath = os.path.join(path, 'omniORB')
11 | libs = ['libomnithread.so.4', 'libomniORB4.so.2',]
12 | for lib in libs:
13 | libfile = os.path.join(libpath, lib)
14 | if os.path.isfile(libfile):
15 | ctypes.cdll.LoadLibrary(libfile)
16 |
17 | from omniORB import CORBA
18 | import AAS_CORBA
19 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB.pth:
--------------------------------------------------------------------------------
1 | omniORB/COS
2 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/BiDirPolicy.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # BiDirPolicy.py Created on: 2003/04/25
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2003-2013 Apasphere Ltd.
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # Definitions for BiDirPolicy module
27 |
28 | import omniORB
29 | from omniORB import CORBA
30 |
31 | try:
32 | property
33 | except NameError:
34 | def property(*args):
35 | return None
36 |
37 |
38 | NORMAL = 0
39 | BOTH = 1
40 |
41 | BIDIRECTIONAL_POLICY_TYPE = 37
42 |
43 |
44 | class BidirectionalPolicy (CORBA.Policy):
45 | _NP_RepositoryId = "IDL:omg.org/BiDirPolicy/BidirectionalPolicy:1.0"
46 |
47 | def __init__(self, value):
48 | if value not in (NORMAL, BOTH):
49 | raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
50 | self._value = value
51 | self._policy_type = BIDIRECTIONAL_POLICY_TYPE
52 |
53 | def _get_value(self):
54 | return self._value
55 |
56 | value = property(_get_value)
57 |
58 |
59 | def _create_policy(ptype, val):
60 | if ptype == BIDIRECTIONAL_POLICY_TYPE:
61 | return BidirectionalPolicy(val)
62 | return None
63 |
64 | omniORB.policyMakers.append(_create_policy)
65 |
66 |
67 | # typedef unsigned short BidirectionalPolicyValue
68 |
69 | class BidrectionalPolicyValue:
70 | _NP_RepositoryId = "IDL:omg.org/BiDirPolicy/BidrectionalPolicyValue:1.0"
71 | def __init__(self, *args, **kw):
72 | raise RuntimeError("Cannot construct objects of this type.")
73 | _d_BidrectionalPolicyValue = omniORB.tcInternal.tv_ushort
74 | _ad_BidrectionalPolicyValue = (omniORB.tcInternal.tv_alias, BidrectionalPolicyValue._NP_RepositoryId, "BidrectionalPolicyValue", omniORB.tcInternal.tv_ushort)
75 | _tc_BidrectionalPolicyValue = omniORB.tcInternal.createTypeCode(_ad_BidrectionalPolicyValue)
76 | omniORB.registerType(BidrectionalPolicyValue._NP_RepositoryId, _ad_BidrectionalPolicyValue, _tc_BidrectionalPolicyValue)
77 |
78 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosCollection/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosCollection generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosCollection")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosCollection_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosCollection__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosCollection__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosCollection__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosCollection_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosCompoundLifeCycle/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosCompoundLifeCycle generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosCompoundLifeCycle")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosCompoundLifeCycle_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosCompoundLifeCycle__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosCompoundLifeCycle__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosCompoundLifeCycle__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosCompoundLifeCycle_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosContainment/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosContainment generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosContainment")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosContainment__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosContainment__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosContainment__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosContainment_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosContainment.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "ir.idl"
29 | import ir_idl
30 | _0_CORBA = omniORB.openModule("CORBA")
31 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
32 |
33 | # #include "CosObjectIdentity.idl"
34 | import CosObjectIdentity_idl
35 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
36 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")
37 |
38 | # #include "CosRelationships.idl"
39 | import CosRelationships_idl
40 | _0_CosRelationships = omniORB.openModule("CosRelationships")
41 | _0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")
42 |
43 | # #include "CosGraphs.idl"
44 | import CosGraphs_idl
45 | _0_CosGraphs = omniORB.openModule("CosGraphs")
46 | _0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")
47 |
48 | #
49 | # Start of module "CosContainment"
50 | #
51 | __name__ = "CosContainment"
52 | _0_CosContainment = omniORB.openModule("CosContainment", r"/tmp/corba/omni/share/idl/omniORB/COS/CosContainment.idl")
53 | _0_CosContainment__POA = omniORB.openModule("CosContainment__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosContainment.idl")
54 |
55 |
56 | # interface Relationship
57 | _0_CosContainment._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosContainment/Relationship:1.0", "Relationship")
58 | omniORB.typeMapping["IDL:omg.org/CosContainment/Relationship:1.0"] = _0_CosContainment._d_Relationship
59 | _0_CosContainment.Relationship = omniORB.newEmptyClass()
60 | class Relationship (_0_CosRelationships.Relationship):
61 | _NP_RepositoryId = _0_CosContainment._d_Relationship[1]
62 |
63 | def __init__(self, *args, **kw):
64 | raise RuntimeError("Cannot construct objects of this type.")
65 |
66 | _nil = CORBA.Object._nil
67 |
68 |
69 | _0_CosContainment.Relationship = Relationship
70 | _0_CosContainment._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosContainment._d_Relationship)
71 | omniORB.registerType(Relationship._NP_RepositoryId, _0_CosContainment._d_Relationship, _0_CosContainment._tc_Relationship)
72 |
73 | # Relationship object reference
74 | class _objref_Relationship (_0_CosRelationships._objref_Relationship):
75 | _NP_RepositoryId = Relationship._NP_RepositoryId
76 |
77 | def __init__(self, obj):
78 | _0_CosRelationships._objref_Relationship.__init__(self, obj)
79 |
80 | omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
81 | _0_CosContainment._objref_Relationship = _objref_Relationship
82 | del Relationship, _objref_Relationship
83 |
84 | # Relationship skeleton
85 | __name__ = "CosContainment__POA"
86 | class Relationship (_0_CosRelationships__POA.Relationship):
87 | _NP_RepositoryId = _0_CosContainment.Relationship._NP_RepositoryId
88 |
89 |
90 | _omni_op_d = {}
91 | _omni_op_d.update(_0_CosRelationships__POA.Relationship._omni_op_d)
92 |
93 | Relationship._omni_skeleton = Relationship
94 | _0_CosContainment__POA.Relationship = Relationship
95 | omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
96 | del Relationship
97 | __name__ = "CosContainment"
98 |
99 | # interface ContainsRole
100 | _0_CosContainment._d_ContainsRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosContainment/ContainsRole:1.0", "ContainsRole")
101 | omniORB.typeMapping["IDL:omg.org/CosContainment/ContainsRole:1.0"] = _0_CosContainment._d_ContainsRole
102 | _0_CosContainment.ContainsRole = omniORB.newEmptyClass()
103 | class ContainsRole (_0_CosGraphs.Role):
104 | _NP_RepositoryId = _0_CosContainment._d_ContainsRole[1]
105 |
106 | def __init__(self, *args, **kw):
107 | raise RuntimeError("Cannot construct objects of this type.")
108 |
109 | _nil = CORBA.Object._nil
110 |
111 |
112 | _0_CosContainment.ContainsRole = ContainsRole
113 | _0_CosContainment._tc_ContainsRole = omniORB.tcInternal.createTypeCode(_0_CosContainment._d_ContainsRole)
114 | omniORB.registerType(ContainsRole._NP_RepositoryId, _0_CosContainment._d_ContainsRole, _0_CosContainment._tc_ContainsRole)
115 |
116 | # ContainsRole object reference
117 | class _objref_ContainsRole (_0_CosGraphs._objref_Role):
118 | _NP_RepositoryId = ContainsRole._NP_RepositoryId
119 |
120 | def __init__(self, obj):
121 | _0_CosGraphs._objref_Role.__init__(self, obj)
122 |
123 | omniORB.registerObjref(ContainsRole._NP_RepositoryId, _objref_ContainsRole)
124 | _0_CosContainment._objref_ContainsRole = _objref_ContainsRole
125 | del ContainsRole, _objref_ContainsRole
126 |
127 | # ContainsRole skeleton
128 | __name__ = "CosContainment__POA"
129 | class ContainsRole (_0_CosGraphs__POA.Role):
130 | _NP_RepositoryId = _0_CosContainment.ContainsRole._NP_RepositoryId
131 |
132 |
133 | _omni_op_d = {}
134 | _omni_op_d.update(_0_CosGraphs__POA.Role._omni_op_d)
135 |
136 | ContainsRole._omni_skeleton = ContainsRole
137 | _0_CosContainment__POA.ContainsRole = ContainsRole
138 | omniORB.registerSkeleton(ContainsRole._NP_RepositoryId, ContainsRole)
139 | del ContainsRole
140 | __name__ = "CosContainment"
141 |
142 | # interface ContainedInRole
143 | _0_CosContainment._d_ContainedInRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosContainment/ContainedInRole:1.0", "ContainedInRole")
144 | omniORB.typeMapping["IDL:omg.org/CosContainment/ContainedInRole:1.0"] = _0_CosContainment._d_ContainedInRole
145 | _0_CosContainment.ContainedInRole = omniORB.newEmptyClass()
146 | class ContainedInRole (_0_CosGraphs.Role):
147 | _NP_RepositoryId = _0_CosContainment._d_ContainedInRole[1]
148 |
149 | def __init__(self, *args, **kw):
150 | raise RuntimeError("Cannot construct objects of this type.")
151 |
152 | _nil = CORBA.Object._nil
153 |
154 |
155 | _0_CosContainment.ContainedInRole = ContainedInRole
156 | _0_CosContainment._tc_ContainedInRole = omniORB.tcInternal.createTypeCode(_0_CosContainment._d_ContainedInRole)
157 | omniORB.registerType(ContainedInRole._NP_RepositoryId, _0_CosContainment._d_ContainedInRole, _0_CosContainment._tc_ContainedInRole)
158 |
159 | # ContainedInRole object reference
160 | class _objref_ContainedInRole (_0_CosGraphs._objref_Role):
161 | _NP_RepositoryId = ContainedInRole._NP_RepositoryId
162 |
163 | def __init__(self, obj):
164 | _0_CosGraphs._objref_Role.__init__(self, obj)
165 |
166 | omniORB.registerObjref(ContainedInRole._NP_RepositoryId, _objref_ContainedInRole)
167 | _0_CosContainment._objref_ContainedInRole = _objref_ContainedInRole
168 | del ContainedInRole, _objref_ContainedInRole
169 |
170 | # ContainedInRole skeleton
171 | __name__ = "CosContainment__POA"
172 | class ContainedInRole (_0_CosGraphs__POA.Role):
173 | _NP_RepositoryId = _0_CosContainment.ContainedInRole._NP_RepositoryId
174 |
175 |
176 | _omni_op_d = {}
177 | _omni_op_d.update(_0_CosGraphs__POA.Role._omni_op_d)
178 |
179 | ContainedInRole._omni_skeleton = ContainedInRole
180 | _0_CosContainment__POA.ContainedInRole = ContainedInRole
181 | omniORB.registerSkeleton(ContainedInRole._NP_RepositoryId, ContainedInRole)
182 | del ContainedInRole
183 | __name__ = "CosContainment"
184 |
185 | #
186 | # End of module "CosContainment"
187 | #
188 | __name__ = "CosContainment_idl"
189 |
190 | _exported_modules = ( "CosContainment", )
191 |
192 | # The end.
193 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosEventChannelAdmin/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosEventChannelAdmin generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosEventChannelAdmin")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosEventChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosEventChannelAdmin__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosEventChannelAdmin__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosEventChannelAdmin__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosEventChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosEventComm/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosEventComm generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosEventComm")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosEventComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosEventComm__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosEventComm__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosEventComm__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosEventComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalization/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalization generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalization")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalization_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalizationContainment/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalizationContainment generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalizationContainment")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalizationContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalizationContainment__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalizationContainment__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalizationContainment__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalizationContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalizationReference/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalizationReference generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalizationReference")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalizationReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalizationReference__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalizationReference__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalizationReference__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalizationReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalizationReference_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationReference.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "ir.idl"
29 | import ir_idl
30 | _0_CORBA = omniORB.openModule("CORBA")
31 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
32 |
33 | # #include "CosObjectIdentity.idl"
34 | import CosObjectIdentity_idl
35 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
36 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")
37 |
38 | # #include "CosRelationships.idl"
39 | import CosRelationships_idl
40 | _0_CosRelationships = omniORB.openModule("CosRelationships")
41 | _0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")
42 |
43 | # #include "CosGraphs.idl"
44 | import CosGraphs_idl
45 | _0_CosGraphs = omniORB.openModule("CosGraphs")
46 | _0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")
47 |
48 | # #include "CosReference.idl"
49 | import CosReference_idl
50 | _0_CosReference = omniORB.openModule("CosReference")
51 | _0_CosReference__POA = omniORB.openModule("CosReference__POA")
52 |
53 | # #include "CosNaming.idl"
54 | import CosNaming_idl
55 | _0_CosNaming = omniORB.openModule("CosNaming")
56 | _0_CosNaming__POA = omniORB.openModule("CosNaming__POA")
57 |
58 | # #include "CosLifeCycle.idl"
59 | import CosLifeCycle_idl
60 | _0_CosLifeCycle = omniORB.openModule("CosLifeCycle")
61 | _0_CosLifeCycle__POA = omniORB.openModule("CosLifeCycle__POA")
62 |
63 | # #include "CosStream.idl"
64 | import CosStream_idl
65 | _0_CosStream = omniORB.openModule("CosStream")
66 | _0_CosStream__POA = omniORB.openModule("CosStream__POA")
67 |
68 | #
69 | # Start of module "CosExternalizationReference"
70 | #
71 | __name__ = "CosExternalizationReference"
72 | _0_CosExternalizationReference = omniORB.openModule("CosExternalizationReference", r"/tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationReference.idl")
73 | _0_CosExternalizationReference__POA = omniORB.openModule("CosExternalizationReference__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosExternalizationReference.idl")
74 |
75 |
76 | # interface Relationship
77 | _0_CosExternalizationReference._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/Relationship:1.0", "Relationship")
78 | omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/Relationship:1.0"] = _0_CosExternalizationReference._d_Relationship
79 | _0_CosExternalizationReference.Relationship = omniORB.newEmptyClass()
80 | class Relationship (_0_CosStream.Relationship, _0_CosReference.Relationship):
81 | _NP_RepositoryId = _0_CosExternalizationReference._d_Relationship[1]
82 |
83 | def __init__(self, *args, **kw):
84 | raise RuntimeError("Cannot construct objects of this type.")
85 |
86 | _nil = CORBA.Object._nil
87 |
88 |
89 | _0_CosExternalizationReference.Relationship = Relationship
90 | _0_CosExternalizationReference._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_Relationship)
91 | omniORB.registerType(Relationship._NP_RepositoryId, _0_CosExternalizationReference._d_Relationship, _0_CosExternalizationReference._tc_Relationship)
92 |
93 | # Relationship object reference
94 | class _objref_Relationship (_0_CosStream._objref_Relationship, _0_CosReference._objref_Relationship):
95 | _NP_RepositoryId = Relationship._NP_RepositoryId
96 |
97 | def __init__(self, obj):
98 | _0_CosStream._objref_Relationship.__init__(self, obj)
99 | _0_CosReference._objref_Relationship.__init__(self, obj)
100 |
101 | omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
102 | _0_CosExternalizationReference._objref_Relationship = _objref_Relationship
103 | del Relationship, _objref_Relationship
104 |
105 | # Relationship skeleton
106 | __name__ = "CosExternalizationReference__POA"
107 | class Relationship (_0_CosStream__POA.Relationship, _0_CosReference__POA.Relationship):
108 | _NP_RepositoryId = _0_CosExternalizationReference.Relationship._NP_RepositoryId
109 |
110 |
111 | _omni_op_d = {}
112 | _omni_op_d.update(_0_CosStream__POA.Relationship._omni_op_d)
113 | _omni_op_d.update(_0_CosReference__POA.Relationship._omni_op_d)
114 |
115 | Relationship._omni_skeleton = Relationship
116 | _0_CosExternalizationReference__POA.Relationship = Relationship
117 | omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
118 | del Relationship
119 | __name__ = "CosExternalizationReference"
120 |
121 | # interface ReferencesRole
122 | _0_CosExternalizationReference._d_ReferencesRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/ReferencesRole:1.0", "ReferencesRole")
123 | omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/ReferencesRole:1.0"] = _0_CosExternalizationReference._d_ReferencesRole
124 | _0_CosExternalizationReference.ReferencesRole = omniORB.newEmptyClass()
125 | class ReferencesRole (_0_CosStream.Role, _0_CosReference.ReferencesRole):
126 | _NP_RepositoryId = _0_CosExternalizationReference._d_ReferencesRole[1]
127 |
128 | def __init__(self, *args, **kw):
129 | raise RuntimeError("Cannot construct objects of this type.")
130 |
131 | _nil = CORBA.Object._nil
132 |
133 |
134 | _0_CosExternalizationReference.ReferencesRole = ReferencesRole
135 | _0_CosExternalizationReference._tc_ReferencesRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_ReferencesRole)
136 | omniORB.registerType(ReferencesRole._NP_RepositoryId, _0_CosExternalizationReference._d_ReferencesRole, _0_CosExternalizationReference._tc_ReferencesRole)
137 |
138 | # ReferencesRole object reference
139 | class _objref_ReferencesRole (_0_CosStream._objref_Role, _0_CosReference._objref_ReferencesRole):
140 | _NP_RepositoryId = ReferencesRole._NP_RepositoryId
141 |
142 | def __init__(self, obj):
143 | _0_CosStream._objref_Role.__init__(self, obj)
144 | _0_CosReference._objref_ReferencesRole.__init__(self, obj)
145 |
146 | omniORB.registerObjref(ReferencesRole._NP_RepositoryId, _objref_ReferencesRole)
147 | _0_CosExternalizationReference._objref_ReferencesRole = _objref_ReferencesRole
148 | del ReferencesRole, _objref_ReferencesRole
149 |
150 | # ReferencesRole skeleton
151 | __name__ = "CosExternalizationReference__POA"
152 | class ReferencesRole (_0_CosStream__POA.Role, _0_CosReference__POA.ReferencesRole):
153 | _NP_RepositoryId = _0_CosExternalizationReference.ReferencesRole._NP_RepositoryId
154 |
155 |
156 | _omni_op_d = {}
157 | _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
158 | _omni_op_d.update(_0_CosReference__POA.ReferencesRole._omni_op_d)
159 |
160 | ReferencesRole._omni_skeleton = ReferencesRole
161 | _0_CosExternalizationReference__POA.ReferencesRole = ReferencesRole
162 | omniORB.registerSkeleton(ReferencesRole._NP_RepositoryId, ReferencesRole)
163 | del ReferencesRole
164 | __name__ = "CosExternalizationReference"
165 |
166 | # interface ReferencedByRole
167 | _0_CosExternalizationReference._d_ReferencedByRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosExternalizationReference/ReferencedByRole:1.0", "ReferencedByRole")
168 | omniORB.typeMapping["IDL:omg.org/CosExternalizationReference/ReferencedByRole:1.0"] = _0_CosExternalizationReference._d_ReferencedByRole
169 | _0_CosExternalizationReference.ReferencedByRole = omniORB.newEmptyClass()
170 | class ReferencedByRole (_0_CosStream.Role, _0_CosReference.ReferencedByRole):
171 | _NP_RepositoryId = _0_CosExternalizationReference._d_ReferencedByRole[1]
172 |
173 | def __init__(self, *args, **kw):
174 | raise RuntimeError("Cannot construct objects of this type.")
175 |
176 | _nil = CORBA.Object._nil
177 |
178 |
179 | _0_CosExternalizationReference.ReferencedByRole = ReferencedByRole
180 | _0_CosExternalizationReference._tc_ReferencedByRole = omniORB.tcInternal.createTypeCode(_0_CosExternalizationReference._d_ReferencedByRole)
181 | omniORB.registerType(ReferencedByRole._NP_RepositoryId, _0_CosExternalizationReference._d_ReferencedByRole, _0_CosExternalizationReference._tc_ReferencedByRole)
182 |
183 | # ReferencedByRole object reference
184 | class _objref_ReferencedByRole (_0_CosStream._objref_Role, _0_CosReference._objref_ReferencedByRole):
185 | _NP_RepositoryId = ReferencedByRole._NP_RepositoryId
186 |
187 | def __init__(self, obj):
188 | _0_CosStream._objref_Role.__init__(self, obj)
189 | _0_CosReference._objref_ReferencedByRole.__init__(self, obj)
190 |
191 | omniORB.registerObjref(ReferencedByRole._NP_RepositoryId, _objref_ReferencedByRole)
192 | _0_CosExternalizationReference._objref_ReferencedByRole = _objref_ReferencedByRole
193 | del ReferencedByRole, _objref_ReferencedByRole
194 |
195 | # ReferencedByRole skeleton
196 | __name__ = "CosExternalizationReference__POA"
197 | class ReferencedByRole (_0_CosStream__POA.Role, _0_CosReference__POA.ReferencedByRole):
198 | _NP_RepositoryId = _0_CosExternalizationReference.ReferencedByRole._NP_RepositoryId
199 |
200 |
201 | _omni_op_d = {}
202 | _omni_op_d.update(_0_CosStream__POA.Role._omni_op_d)
203 | _omni_op_d.update(_0_CosReference__POA.ReferencedByRole._omni_op_d)
204 |
205 | ReferencedByRole._omni_skeleton = ReferencedByRole
206 | _0_CosExternalizationReference__POA.ReferencedByRole = ReferencedByRole
207 | omniORB.registerSkeleton(ReferencedByRole._NP_RepositoryId, ReferencedByRole)
208 | del ReferencedByRole
209 | __name__ = "CosExternalizationReference"
210 |
211 | #
212 | # End of module "CosExternalizationReference"
213 | #
214 | __name__ = "CosExternalizationReference_idl"
215 |
216 | _exported_modules = ( "CosExternalizationReference", )
217 |
218 | # The end.
219 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosExternalization__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosExternalization__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosExternalization__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosExternalization_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosGraphs/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosGraphs generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosGraphs")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosGraphs_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosGraphs__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosGraphs__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosGraphs__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosGraphs_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycle/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycle generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycle")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycle_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleContainment/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycleContainment generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycleContainment")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycleContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleContainment__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycleContainment__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycleContainment__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycleContainment_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleContainment_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleContainment.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "ir.idl"
29 | import ir_idl
30 | _0_CORBA = omniORB.openModule("CORBA")
31 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
32 |
33 | # #include "CosObjectIdentity.idl"
34 | import CosObjectIdentity_idl
35 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
36 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")
37 |
38 | # #include "CosRelationships.idl"
39 | import CosRelationships_idl
40 | _0_CosRelationships = omniORB.openModule("CosRelationships")
41 | _0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")
42 |
43 | # #include "CosGraphs.idl"
44 | import CosGraphs_idl
45 | _0_CosGraphs = omniORB.openModule("CosGraphs")
46 | _0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")
47 |
48 | # #include "CosContainment.idl"
49 | import CosContainment_idl
50 | _0_CosContainment = omniORB.openModule("CosContainment")
51 | _0_CosContainment__POA = omniORB.openModule("CosContainment__POA")
52 |
53 | # #include "CosNaming.idl"
54 | import CosNaming_idl
55 | _0_CosNaming = omniORB.openModule("CosNaming")
56 | _0_CosNaming__POA = omniORB.openModule("CosNaming__POA")
57 |
58 | # #include "CosLifeCycle.idl"
59 | import CosLifeCycle_idl
60 | _0_CosLifeCycle = omniORB.openModule("CosLifeCycle")
61 | _0_CosLifeCycle__POA = omniORB.openModule("CosLifeCycle__POA")
62 |
63 | # #include "CosCompoundLifeCycle.idl"
64 | import CosCompoundLifeCycle_idl
65 | _0_CosCompoundLifeCycle = omniORB.openModule("CosCompoundLifeCycle")
66 | _0_CosCompoundLifeCycle__POA = omniORB.openModule("CosCompoundLifeCycle__POA")
67 |
68 | #
69 | # Start of module "CosLifeCycleContainment"
70 | #
71 | __name__ = "CosLifeCycleContainment"
72 | _0_CosLifeCycleContainment = omniORB.openModule("CosLifeCycleContainment", r"/tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleContainment.idl")
73 | _0_CosLifeCycleContainment__POA = omniORB.openModule("CosLifeCycleContainment__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleContainment.idl")
74 |
75 |
76 | # interface Relationship
77 | _0_CosLifeCycleContainment._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleContainment/Relationship:1.0", "Relationship")
78 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleContainment/Relationship:1.0"] = _0_CosLifeCycleContainment._d_Relationship
79 | _0_CosLifeCycleContainment.Relationship = omniORB.newEmptyClass()
80 | class Relationship (_0_CosCompoundLifeCycle.Relationship, _0_CosContainment.Relationship):
81 | _NP_RepositoryId = _0_CosLifeCycleContainment._d_Relationship[1]
82 |
83 | def __init__(self, *args, **kw):
84 | raise RuntimeError("Cannot construct objects of this type.")
85 |
86 | _nil = CORBA.Object._nil
87 |
88 |
89 | _0_CosLifeCycleContainment.Relationship = Relationship
90 | _0_CosLifeCycleContainment._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleContainment._d_Relationship)
91 | omniORB.registerType(Relationship._NP_RepositoryId, _0_CosLifeCycleContainment._d_Relationship, _0_CosLifeCycleContainment._tc_Relationship)
92 |
93 | # Relationship object reference
94 | class _objref_Relationship (_0_CosCompoundLifeCycle._objref_Relationship, _0_CosContainment._objref_Relationship):
95 | _NP_RepositoryId = Relationship._NP_RepositoryId
96 |
97 | def __init__(self, obj):
98 | _0_CosCompoundLifeCycle._objref_Relationship.__init__(self, obj)
99 | _0_CosContainment._objref_Relationship.__init__(self, obj)
100 |
101 | omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
102 | _0_CosLifeCycleContainment._objref_Relationship = _objref_Relationship
103 | del Relationship, _objref_Relationship
104 |
105 | # Relationship skeleton
106 | __name__ = "CosLifeCycleContainment__POA"
107 | class Relationship (_0_CosCompoundLifeCycle__POA.Relationship, _0_CosContainment__POA.Relationship):
108 | _NP_RepositoryId = _0_CosLifeCycleContainment.Relationship._NP_RepositoryId
109 |
110 |
111 | _omni_op_d = {}
112 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Relationship._omni_op_d)
113 | _omni_op_d.update(_0_CosContainment__POA.Relationship._omni_op_d)
114 |
115 | Relationship._omni_skeleton = Relationship
116 | _0_CosLifeCycleContainment__POA.Relationship = Relationship
117 | omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
118 | del Relationship
119 | __name__ = "CosLifeCycleContainment"
120 |
121 | # interface ContainsRole
122 | _0_CosLifeCycleContainment._d_ContainsRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleContainment/ContainsRole:1.0", "ContainsRole")
123 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleContainment/ContainsRole:1.0"] = _0_CosLifeCycleContainment._d_ContainsRole
124 | _0_CosLifeCycleContainment.ContainsRole = omniORB.newEmptyClass()
125 | class ContainsRole (_0_CosCompoundLifeCycle.Role, _0_CosContainment.ContainsRole):
126 | _NP_RepositoryId = _0_CosLifeCycleContainment._d_ContainsRole[1]
127 |
128 | def __init__(self, *args, **kw):
129 | raise RuntimeError("Cannot construct objects of this type.")
130 |
131 | _nil = CORBA.Object._nil
132 |
133 |
134 | _0_CosLifeCycleContainment.ContainsRole = ContainsRole
135 | _0_CosLifeCycleContainment._tc_ContainsRole = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleContainment._d_ContainsRole)
136 | omniORB.registerType(ContainsRole._NP_RepositoryId, _0_CosLifeCycleContainment._d_ContainsRole, _0_CosLifeCycleContainment._tc_ContainsRole)
137 |
138 | # ContainsRole object reference
139 | class _objref_ContainsRole (_0_CosCompoundLifeCycle._objref_Role, _0_CosContainment._objref_ContainsRole):
140 | _NP_RepositoryId = ContainsRole._NP_RepositoryId
141 |
142 | def __init__(self, obj):
143 | _0_CosCompoundLifeCycle._objref_Role.__init__(self, obj)
144 | _0_CosContainment._objref_ContainsRole.__init__(self, obj)
145 |
146 | omniORB.registerObjref(ContainsRole._NP_RepositoryId, _objref_ContainsRole)
147 | _0_CosLifeCycleContainment._objref_ContainsRole = _objref_ContainsRole
148 | del ContainsRole, _objref_ContainsRole
149 |
150 | # ContainsRole skeleton
151 | __name__ = "CosLifeCycleContainment__POA"
152 | class ContainsRole (_0_CosCompoundLifeCycle__POA.Role, _0_CosContainment__POA.ContainsRole):
153 | _NP_RepositoryId = _0_CosLifeCycleContainment.ContainsRole._NP_RepositoryId
154 |
155 |
156 | _omni_op_d = {}
157 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Role._omni_op_d)
158 | _omni_op_d.update(_0_CosContainment__POA.ContainsRole._omni_op_d)
159 |
160 | ContainsRole._omni_skeleton = ContainsRole
161 | _0_CosLifeCycleContainment__POA.ContainsRole = ContainsRole
162 | omniORB.registerSkeleton(ContainsRole._NP_RepositoryId, ContainsRole)
163 | del ContainsRole
164 | __name__ = "CosLifeCycleContainment"
165 |
166 | # interface ContainedInRole
167 | _0_CosLifeCycleContainment._d_ContainedInRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleContainment/ContainedInRole:1.0", "ContainedInRole")
168 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleContainment/ContainedInRole:1.0"] = _0_CosLifeCycleContainment._d_ContainedInRole
169 | _0_CosLifeCycleContainment.ContainedInRole = omniORB.newEmptyClass()
170 | class ContainedInRole (_0_CosCompoundLifeCycle.Role, _0_CosContainment.ContainedInRole):
171 | _NP_RepositoryId = _0_CosLifeCycleContainment._d_ContainedInRole[1]
172 |
173 | def __init__(self, *args, **kw):
174 | raise RuntimeError("Cannot construct objects of this type.")
175 |
176 | _nil = CORBA.Object._nil
177 |
178 |
179 | _0_CosLifeCycleContainment.ContainedInRole = ContainedInRole
180 | _0_CosLifeCycleContainment._tc_ContainedInRole = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleContainment._d_ContainedInRole)
181 | omniORB.registerType(ContainedInRole._NP_RepositoryId, _0_CosLifeCycleContainment._d_ContainedInRole, _0_CosLifeCycleContainment._tc_ContainedInRole)
182 |
183 | # ContainedInRole object reference
184 | class _objref_ContainedInRole (_0_CosCompoundLifeCycle._objref_Role, _0_CosContainment._objref_ContainedInRole):
185 | _NP_RepositoryId = ContainedInRole._NP_RepositoryId
186 |
187 | def __init__(self, obj):
188 | _0_CosCompoundLifeCycle._objref_Role.__init__(self, obj)
189 | _0_CosContainment._objref_ContainedInRole.__init__(self, obj)
190 |
191 | omniORB.registerObjref(ContainedInRole._NP_RepositoryId, _objref_ContainedInRole)
192 | _0_CosLifeCycleContainment._objref_ContainedInRole = _objref_ContainedInRole
193 | del ContainedInRole, _objref_ContainedInRole
194 |
195 | # ContainedInRole skeleton
196 | __name__ = "CosLifeCycleContainment__POA"
197 | class ContainedInRole (_0_CosCompoundLifeCycle__POA.Role, _0_CosContainment__POA.ContainedInRole):
198 | _NP_RepositoryId = _0_CosLifeCycleContainment.ContainedInRole._NP_RepositoryId
199 |
200 |
201 | _omni_op_d = {}
202 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Role._omni_op_d)
203 | _omni_op_d.update(_0_CosContainment__POA.ContainedInRole._omni_op_d)
204 |
205 | ContainedInRole._omni_skeleton = ContainedInRole
206 | _0_CosLifeCycleContainment__POA.ContainedInRole = ContainedInRole
207 | omniORB.registerSkeleton(ContainedInRole._NP_RepositoryId, ContainedInRole)
208 | del ContainedInRole
209 | __name__ = "CosLifeCycleContainment"
210 |
211 | #
212 | # End of module "CosLifeCycleContainment"
213 | #
214 | __name__ = "CosLifeCycleContainment_idl"
215 |
216 | _exported_modules = ( "CosLifeCycleContainment", )
217 |
218 | # The end.
219 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleReference/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycleReference generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycleReference")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycleReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleReference__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycleReference__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycleReference__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycleReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycleReference_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleReference.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "ir.idl"
29 | import ir_idl
30 | _0_CORBA = omniORB.openModule("CORBA")
31 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
32 |
33 | # #include "CosObjectIdentity.idl"
34 | import CosObjectIdentity_idl
35 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
36 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")
37 |
38 | # #include "CosRelationships.idl"
39 | import CosRelationships_idl
40 | _0_CosRelationships = omniORB.openModule("CosRelationships")
41 | _0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")
42 |
43 | # #include "CosGraphs.idl"
44 | import CosGraphs_idl
45 | _0_CosGraphs = omniORB.openModule("CosGraphs")
46 | _0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")
47 |
48 | # #include "CosReference.idl"
49 | import CosReference_idl
50 | _0_CosReference = omniORB.openModule("CosReference")
51 | _0_CosReference__POA = omniORB.openModule("CosReference__POA")
52 |
53 | # #include "CosNaming.idl"
54 | import CosNaming_idl
55 | _0_CosNaming = omniORB.openModule("CosNaming")
56 | _0_CosNaming__POA = omniORB.openModule("CosNaming__POA")
57 |
58 | # #include "CosLifeCycle.idl"
59 | import CosLifeCycle_idl
60 | _0_CosLifeCycle = omniORB.openModule("CosLifeCycle")
61 | _0_CosLifeCycle__POA = omniORB.openModule("CosLifeCycle__POA")
62 |
63 | # #include "CosCompoundLifeCycle.idl"
64 | import CosCompoundLifeCycle_idl
65 | _0_CosCompoundLifeCycle = omniORB.openModule("CosCompoundLifeCycle")
66 | _0_CosCompoundLifeCycle__POA = omniORB.openModule("CosCompoundLifeCycle__POA")
67 |
68 | #
69 | # Start of module "CosLifeCycleReference"
70 | #
71 | __name__ = "CosLifeCycleReference"
72 | _0_CosLifeCycleReference = omniORB.openModule("CosLifeCycleReference", r"/tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleReference.idl")
73 | _0_CosLifeCycleReference__POA = omniORB.openModule("CosLifeCycleReference__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosLifeCycleReference.idl")
74 |
75 |
76 | # interface Relationship
77 | _0_CosLifeCycleReference._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleReference/Relationship:1.0", "Relationship")
78 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleReference/Relationship:1.0"] = _0_CosLifeCycleReference._d_Relationship
79 | _0_CosLifeCycleReference.Relationship = omniORB.newEmptyClass()
80 | class Relationship (_0_CosCompoundLifeCycle.Relationship, _0_CosReference.Relationship):
81 | _NP_RepositoryId = _0_CosLifeCycleReference._d_Relationship[1]
82 |
83 | def __init__(self, *args, **kw):
84 | raise RuntimeError("Cannot construct objects of this type.")
85 |
86 | _nil = CORBA.Object._nil
87 |
88 |
89 | _0_CosLifeCycleReference.Relationship = Relationship
90 | _0_CosLifeCycleReference._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleReference._d_Relationship)
91 | omniORB.registerType(Relationship._NP_RepositoryId, _0_CosLifeCycleReference._d_Relationship, _0_CosLifeCycleReference._tc_Relationship)
92 |
93 | # Relationship object reference
94 | class _objref_Relationship (_0_CosCompoundLifeCycle._objref_Relationship, _0_CosReference._objref_Relationship):
95 | _NP_RepositoryId = Relationship._NP_RepositoryId
96 |
97 | def __init__(self, obj):
98 | _0_CosCompoundLifeCycle._objref_Relationship.__init__(self, obj)
99 | _0_CosReference._objref_Relationship.__init__(self, obj)
100 |
101 | omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
102 | _0_CosLifeCycleReference._objref_Relationship = _objref_Relationship
103 | del Relationship, _objref_Relationship
104 |
105 | # Relationship skeleton
106 | __name__ = "CosLifeCycleReference__POA"
107 | class Relationship (_0_CosCompoundLifeCycle__POA.Relationship, _0_CosReference__POA.Relationship):
108 | _NP_RepositoryId = _0_CosLifeCycleReference.Relationship._NP_RepositoryId
109 |
110 |
111 | _omni_op_d = {}
112 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Relationship._omni_op_d)
113 | _omni_op_d.update(_0_CosReference__POA.Relationship._omni_op_d)
114 |
115 | Relationship._omni_skeleton = Relationship
116 | _0_CosLifeCycleReference__POA.Relationship = Relationship
117 | omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
118 | del Relationship
119 | __name__ = "CosLifeCycleReference"
120 |
121 | # interface ReferencesRole
122 | _0_CosLifeCycleReference._d_ReferencesRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleReference/ReferencesRole:1.0", "ReferencesRole")
123 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleReference/ReferencesRole:1.0"] = _0_CosLifeCycleReference._d_ReferencesRole
124 | _0_CosLifeCycleReference.ReferencesRole = omniORB.newEmptyClass()
125 | class ReferencesRole (_0_CosCompoundLifeCycle.Role, _0_CosReference.ReferencesRole):
126 | _NP_RepositoryId = _0_CosLifeCycleReference._d_ReferencesRole[1]
127 |
128 | def __init__(self, *args, **kw):
129 | raise RuntimeError("Cannot construct objects of this type.")
130 |
131 | _nil = CORBA.Object._nil
132 |
133 |
134 | _0_CosLifeCycleReference.ReferencesRole = ReferencesRole
135 | _0_CosLifeCycleReference._tc_ReferencesRole = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleReference._d_ReferencesRole)
136 | omniORB.registerType(ReferencesRole._NP_RepositoryId, _0_CosLifeCycleReference._d_ReferencesRole, _0_CosLifeCycleReference._tc_ReferencesRole)
137 |
138 | # ReferencesRole object reference
139 | class _objref_ReferencesRole (_0_CosCompoundLifeCycle._objref_Role, _0_CosReference._objref_ReferencesRole):
140 | _NP_RepositoryId = ReferencesRole._NP_RepositoryId
141 |
142 | def __init__(self, obj):
143 | _0_CosCompoundLifeCycle._objref_Role.__init__(self, obj)
144 | _0_CosReference._objref_ReferencesRole.__init__(self, obj)
145 |
146 | omniORB.registerObjref(ReferencesRole._NP_RepositoryId, _objref_ReferencesRole)
147 | _0_CosLifeCycleReference._objref_ReferencesRole = _objref_ReferencesRole
148 | del ReferencesRole, _objref_ReferencesRole
149 |
150 | # ReferencesRole skeleton
151 | __name__ = "CosLifeCycleReference__POA"
152 | class ReferencesRole (_0_CosCompoundLifeCycle__POA.Role, _0_CosReference__POA.ReferencesRole):
153 | _NP_RepositoryId = _0_CosLifeCycleReference.ReferencesRole._NP_RepositoryId
154 |
155 |
156 | _omni_op_d = {}
157 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Role._omni_op_d)
158 | _omni_op_d.update(_0_CosReference__POA.ReferencesRole._omni_op_d)
159 |
160 | ReferencesRole._omni_skeleton = ReferencesRole
161 | _0_CosLifeCycleReference__POA.ReferencesRole = ReferencesRole
162 | omniORB.registerSkeleton(ReferencesRole._NP_RepositoryId, ReferencesRole)
163 | del ReferencesRole
164 | __name__ = "CosLifeCycleReference"
165 |
166 | # interface ReferencedByRole
167 | _0_CosLifeCycleReference._d_ReferencedByRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosLifeCycleReference/ReferencedByRole:1.0", "ReferencedByRole")
168 | omniORB.typeMapping["IDL:omg.org/CosLifeCycleReference/ReferencedByRole:1.0"] = _0_CosLifeCycleReference._d_ReferencedByRole
169 | _0_CosLifeCycleReference.ReferencedByRole = omniORB.newEmptyClass()
170 | class ReferencedByRole (_0_CosCompoundLifeCycle.Role, _0_CosReference.ReferencedByRole):
171 | _NP_RepositoryId = _0_CosLifeCycleReference._d_ReferencedByRole[1]
172 |
173 | def __init__(self, *args, **kw):
174 | raise RuntimeError("Cannot construct objects of this type.")
175 |
176 | _nil = CORBA.Object._nil
177 |
178 |
179 | _0_CosLifeCycleReference.ReferencedByRole = ReferencedByRole
180 | _0_CosLifeCycleReference._tc_ReferencedByRole = omniORB.tcInternal.createTypeCode(_0_CosLifeCycleReference._d_ReferencedByRole)
181 | omniORB.registerType(ReferencedByRole._NP_RepositoryId, _0_CosLifeCycleReference._d_ReferencedByRole, _0_CosLifeCycleReference._tc_ReferencedByRole)
182 |
183 | # ReferencedByRole object reference
184 | class _objref_ReferencedByRole (_0_CosCompoundLifeCycle._objref_Role, _0_CosReference._objref_ReferencedByRole):
185 | _NP_RepositoryId = ReferencedByRole._NP_RepositoryId
186 |
187 | def __init__(self, obj):
188 | _0_CosCompoundLifeCycle._objref_Role.__init__(self, obj)
189 | _0_CosReference._objref_ReferencedByRole.__init__(self, obj)
190 |
191 | omniORB.registerObjref(ReferencedByRole._NP_RepositoryId, _objref_ReferencedByRole)
192 | _0_CosLifeCycleReference._objref_ReferencedByRole = _objref_ReferencedByRole
193 | del ReferencedByRole, _objref_ReferencedByRole
194 |
195 | # ReferencedByRole skeleton
196 | __name__ = "CosLifeCycleReference__POA"
197 | class ReferencedByRole (_0_CosCompoundLifeCycle__POA.Role, _0_CosReference__POA.ReferencedByRole):
198 | _NP_RepositoryId = _0_CosLifeCycleReference.ReferencedByRole._NP_RepositoryId
199 |
200 |
201 | _omni_op_d = {}
202 | _omni_op_d.update(_0_CosCompoundLifeCycle__POA.Role._omni_op_d)
203 | _omni_op_d.update(_0_CosReference__POA.ReferencedByRole._omni_op_d)
204 |
205 | ReferencedByRole._omni_skeleton = ReferencedByRole
206 | _0_CosLifeCycleReference__POA.ReferencedByRole = ReferencedByRole
207 | omniORB.registerSkeleton(ReferencedByRole._NP_RepositoryId, ReferencedByRole)
208 | del ReferencedByRole
209 | __name__ = "CosLifeCycleReference"
210 |
211 | #
212 | # End of module "CosLifeCycleReference"
213 | #
214 | __name__ = "CosLifeCycleReference_idl"
215 |
216 | _exported_modules = ( "CosLifeCycleReference", )
217 |
218 | # The end.
219 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosLifeCycle__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosLifeCycle__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosLifeCycle__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosLifeCycle_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNaming/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNaming generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNaming")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNaming_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNaming__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNaming__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNaming__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNaming_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotification/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotification generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotification")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotification_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotification__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotification__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotification__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotification_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyChannelAdmin/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyChannelAdmin generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyChannelAdmin")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyChannelAdmin__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyChannelAdmin__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyChannelAdmin__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyComm/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyComm generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyComm")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyComm__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyComm__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyComm__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyFilter/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyFilter generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyFilter")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyFilter_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosNotifyFilter__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosNotifyFilter__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosNotifyFilter__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosNotifyFilter_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosObjectIdentity/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosObjectIdentity generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosObjectIdentity")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosObjectIdentity_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosObjectIdentity__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosObjectIdentity__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosObjectIdentity__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosObjectIdentity_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosObjectIdentity_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosObjectIdentity.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | #
19 | # Start of module "CosObjectIdentity"
20 | #
21 | __name__ = "CosObjectIdentity"
22 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity", r"/tmp/corba/omni/share/idl/omniORB/COS/CosObjectIdentity.idl")
23 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosObjectIdentity.idl")
24 |
25 |
26 | # typedef ... ObjectIdentifier
27 | class ObjectIdentifier:
28 | _NP_RepositoryId = "IDL:omg.org/CosObjectIdentity/ObjectIdentifier:1.0"
29 | def __init__(self, *args, **kw):
30 | raise RuntimeError("Cannot construct objects of this type.")
31 | _0_CosObjectIdentity.ObjectIdentifier = ObjectIdentifier
32 | _0_CosObjectIdentity._d_ObjectIdentifier = omniORB.tcInternal.tv_ulong
33 | _0_CosObjectIdentity._ad_ObjectIdentifier = (omniORB.tcInternal.tv_alias, ObjectIdentifier._NP_RepositoryId, "ObjectIdentifier", omniORB.tcInternal.tv_ulong)
34 | _0_CosObjectIdentity._tc_ObjectIdentifier = omniORB.tcInternal.createTypeCode(_0_CosObjectIdentity._ad_ObjectIdentifier)
35 | omniORB.registerType(ObjectIdentifier._NP_RepositoryId, _0_CosObjectIdentity._ad_ObjectIdentifier, _0_CosObjectIdentity._tc_ObjectIdentifier)
36 | del ObjectIdentifier
37 |
38 | # interface IdentifiableObject
39 | _0_CosObjectIdentity._d_IdentifiableObject = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosObjectIdentity/IdentifiableObject:1.0", "IdentifiableObject")
40 | omniORB.typeMapping["IDL:omg.org/CosObjectIdentity/IdentifiableObject:1.0"] = _0_CosObjectIdentity._d_IdentifiableObject
41 | _0_CosObjectIdentity.IdentifiableObject = omniORB.newEmptyClass()
42 | class IdentifiableObject :
43 | _NP_RepositoryId = _0_CosObjectIdentity._d_IdentifiableObject[1]
44 |
45 | def __init__(self, *args, **kw):
46 | raise RuntimeError("Cannot construct objects of this type.")
47 |
48 | _nil = CORBA.Object._nil
49 |
50 |
51 | _0_CosObjectIdentity.IdentifiableObject = IdentifiableObject
52 | _0_CosObjectIdentity._tc_IdentifiableObject = omniORB.tcInternal.createTypeCode(_0_CosObjectIdentity._d_IdentifiableObject)
53 | omniORB.registerType(IdentifiableObject._NP_RepositoryId, _0_CosObjectIdentity._d_IdentifiableObject, _0_CosObjectIdentity._tc_IdentifiableObject)
54 |
55 | # IdentifiableObject operations and attributes
56 | IdentifiableObject._d__get_constant_random_id = ((),(omniORB.typeMapping["IDL:omg.org/CosObjectIdentity/ObjectIdentifier:1.0"],),None)
57 | IdentifiableObject._d_is_identical = ((omniORB.typeMapping["IDL:omg.org/CosObjectIdentity/IdentifiableObject:1.0"], ), (omniORB.tcInternal.tv_boolean, ), None)
58 |
59 | # IdentifiableObject object reference
60 | class _objref_IdentifiableObject (CORBA.Object):
61 | _NP_RepositoryId = IdentifiableObject._NP_RepositoryId
62 |
63 | def __init__(self, obj):
64 | CORBA.Object.__init__(self, obj)
65 |
66 | def _get_constant_random_id(self, *args):
67 | return self._obj.invoke("_get_constant_random_id", _0_CosObjectIdentity.IdentifiableObject._d__get_constant_random_id, args)
68 |
69 | constant_random_id = property(_get_constant_random_id)
70 |
71 |
72 | def is_identical(self, *args):
73 | return self._obj.invoke("is_identical", _0_CosObjectIdentity.IdentifiableObject._d_is_identical, args)
74 |
75 | omniORB.registerObjref(IdentifiableObject._NP_RepositoryId, _objref_IdentifiableObject)
76 | _0_CosObjectIdentity._objref_IdentifiableObject = _objref_IdentifiableObject
77 | del IdentifiableObject, _objref_IdentifiableObject
78 |
79 | # IdentifiableObject skeleton
80 | __name__ = "CosObjectIdentity__POA"
81 | class IdentifiableObject (PortableServer.Servant):
82 | _NP_RepositoryId = _0_CosObjectIdentity.IdentifiableObject._NP_RepositoryId
83 |
84 |
85 | _omni_op_d = {"_get_constant_random_id": _0_CosObjectIdentity.IdentifiableObject._d__get_constant_random_id, "is_identical": _0_CosObjectIdentity.IdentifiableObject._d_is_identical}
86 |
87 | IdentifiableObject._omni_skeleton = IdentifiableObject
88 | _0_CosObjectIdentity__POA.IdentifiableObject = IdentifiableObject
89 | omniORB.registerSkeleton(IdentifiableObject._NP_RepositoryId, IdentifiableObject)
90 | del IdentifiableObject
91 | __name__ = "CosObjectIdentity"
92 |
93 | #
94 | # End of module "CosObjectIdentity"
95 | #
96 | __name__ = "CosObjectIdentity_idl"
97 |
98 | _exported_modules = ( "CosObjectIdentity", )
99 |
100 | # The end.
101 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistenceDDO/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistenceDDO generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistenceDDO")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistenceDDO_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistenceDDO__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistenceDDO__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistenceDDO__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistenceDDO_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistenceDDO_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosPersistenceDDO.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosPersistencePID.idl"
19 | import CosPersistencePID_idl
20 | _0_CosPersistencePID = omniORB.openModule("CosPersistencePID")
21 | _0_CosPersistencePID__POA = omniORB.openModule("CosPersistencePID__POA")
22 |
23 | #
24 | # Start of module "CosPersistenceDDO"
25 | #
26 | __name__ = "CosPersistenceDDO"
27 | _0_CosPersistenceDDO = omniORB.openModule("CosPersistenceDDO", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistenceDDO.idl")
28 | _0_CosPersistenceDDO__POA = omniORB.openModule("CosPersistenceDDO__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistenceDDO.idl")
29 |
30 |
31 | # interface DDO
32 | _0_CosPersistenceDDO._d_DDO = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistenceDDO/DDO:1.0", "DDO")
33 | omniORB.typeMapping["IDL:omg.org/CosPersistenceDDO/DDO:1.0"] = _0_CosPersistenceDDO._d_DDO
34 | _0_CosPersistenceDDO.DDO = omniORB.newEmptyClass()
35 | class DDO :
36 | _NP_RepositoryId = _0_CosPersistenceDDO._d_DDO[1]
37 |
38 | def __init__(self, *args, **kw):
39 | raise RuntimeError("Cannot construct objects of this type.")
40 |
41 | _nil = CORBA.Object._nil
42 |
43 |
44 | _0_CosPersistenceDDO.DDO = DDO
45 | _0_CosPersistenceDDO._tc_DDO = omniORB.tcInternal.createTypeCode(_0_CosPersistenceDDO._d_DDO)
46 | omniORB.registerType(DDO._NP_RepositoryId, _0_CosPersistenceDDO._d_DDO, _0_CosPersistenceDDO._tc_DDO)
47 |
48 | # DDO operations and attributes
49 | DDO._d__get_object_type = ((),((omniORB.tcInternal.tv_string,0),),None)
50 | DDO._d__set_object_type = (((omniORB.tcInternal.tv_string,0),),(),None)
51 | DDO._d__get_p = ((),(omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"],),None)
52 | DDO._d__set_p = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"],),(),None)
53 | DDO._d_add_data = ((), (omniORB.tcInternal.tv_short, ), None)
54 | DDO._d_add_data_property = ((omniORB.tcInternal.tv_short, ), (omniORB.tcInternal.tv_short, ), None)
55 | DDO._d_get_data_count = ((), (omniORB.tcInternal.tv_short, ), None)
56 | DDO._d_get_data_property_count = ((omniORB.tcInternal.tv_short, ), (omniORB.tcInternal.tv_short, ), None)
57 | DDO._d_get_data_property = ((omniORB.tcInternal.tv_short, omniORB.tcInternal.tv_short), ((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_any), None)
58 | DDO._d_set_data_property = ((omniORB.tcInternal.tv_short, omniORB.tcInternal.tv_short, (omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_any), (), None)
59 | DDO._d_get_data = ((omniORB.tcInternal.tv_short, ), ((omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_any), None)
60 | DDO._d_set_data = ((omniORB.tcInternal.tv_short, (omniORB.tcInternal.tv_string,0), omniORB.tcInternal.tv_any), (), None)
61 |
62 | # DDO object reference
63 | class _objref_DDO (CORBA.Object):
64 | _NP_RepositoryId = DDO._NP_RepositoryId
65 |
66 | def __init__(self, obj):
67 | CORBA.Object.__init__(self, obj)
68 |
69 | def _get_object_type(self, *args):
70 | return self._obj.invoke("_get_object_type", _0_CosPersistenceDDO.DDO._d__get_object_type, args)
71 |
72 | def _set_object_type(self, *args):
73 | return self._obj.invoke("_set_object_type", _0_CosPersistenceDDO.DDO._d__set_object_type, args)
74 |
75 | object_type = property(_get_object_type, _set_object_type)
76 |
77 |
78 | def _get_p(self, *args):
79 | return self._obj.invoke("_get_p", _0_CosPersistenceDDO.DDO._d__get_p, args)
80 |
81 | def _set_p(self, *args):
82 | return self._obj.invoke("_set_p", _0_CosPersistenceDDO.DDO._d__set_p, args)
83 |
84 | p = property(_get_p, _set_p)
85 |
86 |
87 | def add_data(self, *args):
88 | return self._obj.invoke("add_data", _0_CosPersistenceDDO.DDO._d_add_data, args)
89 |
90 | def add_data_property(self, *args):
91 | return self._obj.invoke("add_data_property", _0_CosPersistenceDDO.DDO._d_add_data_property, args)
92 |
93 | def get_data_count(self, *args):
94 | return self._obj.invoke("get_data_count", _0_CosPersistenceDDO.DDO._d_get_data_count, args)
95 |
96 | def get_data_property_count(self, *args):
97 | return self._obj.invoke("get_data_property_count", _0_CosPersistenceDDO.DDO._d_get_data_property_count, args)
98 |
99 | def get_data_property(self, *args):
100 | return self._obj.invoke("get_data_property", _0_CosPersistenceDDO.DDO._d_get_data_property, args)
101 |
102 | def set_data_property(self, *args):
103 | return self._obj.invoke("set_data_property", _0_CosPersistenceDDO.DDO._d_set_data_property, args)
104 |
105 | def get_data(self, *args):
106 | return self._obj.invoke("get_data", _0_CosPersistenceDDO.DDO._d_get_data, args)
107 |
108 | def set_data(self, *args):
109 | return self._obj.invoke("set_data", _0_CosPersistenceDDO.DDO._d_set_data, args)
110 |
111 | omniORB.registerObjref(DDO._NP_RepositoryId, _objref_DDO)
112 | _0_CosPersistenceDDO._objref_DDO = _objref_DDO
113 | del DDO, _objref_DDO
114 |
115 | # DDO skeleton
116 | __name__ = "CosPersistenceDDO__POA"
117 | class DDO (PortableServer.Servant):
118 | _NP_RepositoryId = _0_CosPersistenceDDO.DDO._NP_RepositoryId
119 |
120 |
121 | _omni_op_d = {"_get_object_type": _0_CosPersistenceDDO.DDO._d__get_object_type, "_set_object_type": _0_CosPersistenceDDO.DDO._d__set_object_type, "_get_p": _0_CosPersistenceDDO.DDO._d__get_p, "_set_p": _0_CosPersistenceDDO.DDO._d__set_p, "add_data": _0_CosPersistenceDDO.DDO._d_add_data, "add_data_property": _0_CosPersistenceDDO.DDO._d_add_data_property, "get_data_count": _0_CosPersistenceDDO.DDO._d_get_data_count, "get_data_property_count": _0_CosPersistenceDDO.DDO._d_get_data_property_count, "get_data_property": _0_CosPersistenceDDO.DDO._d_get_data_property, "set_data_property": _0_CosPersistenceDDO.DDO._d_set_data_property, "get_data": _0_CosPersistenceDDO.DDO._d_get_data, "set_data": _0_CosPersistenceDDO.DDO._d_set_data}
122 |
123 | DDO._omni_skeleton = DDO
124 | _0_CosPersistenceDDO__POA.DDO = DDO
125 | omniORB.registerSkeleton(DDO._NP_RepositoryId, DDO)
126 | del DDO
127 | __name__ = "CosPersistenceDDO"
128 |
129 | #
130 | # End of module "CosPersistenceDDO"
131 | #
132 | __name__ = "CosPersistenceDDO_idl"
133 |
134 | _exported_modules = ( "CosPersistenceDDO", )
135 |
136 | # The end.
137 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistenceDS_CLI/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistenceDS_CLI generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistenceDS_CLI")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistenceDS_CLI_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistenceDS_CLI__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistenceDS_CLI__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistenceDS_CLI__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistenceDS_CLI_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePDS/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePDS generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePDS")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePDS_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePDS_DA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePDS_DA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePDS_DA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePDS_DA_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePDS_DA__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePDS_DA__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePDS_DA__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePDS_DA_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePDS__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePDS__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePDS__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePDS_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePDS_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePDS.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosPersistencePID.idl"
19 | import CosPersistencePID_idl
20 | _0_CosPersistencePID = omniORB.openModule("CosPersistencePID")
21 | _0_CosPersistencePID__POA = omniORB.openModule("CosPersistencePID__POA")
22 |
23 | #
24 | # Start of module "CosPersistencePDS"
25 | #
26 | __name__ = "CosPersistencePDS"
27 | _0_CosPersistencePDS = omniORB.openModule("CosPersistencePDS", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePDS.idl")
28 | _0_CosPersistencePDS__POA = omniORB.openModule("CosPersistencePDS__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePDS.idl")
29 |
30 |
31 | # interface PDS
32 | _0_CosPersistencePDS._d_PDS = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistencePDS/PDS:1.0", "PDS")
33 | omniORB.typeMapping["IDL:omg.org/CosPersistencePDS/PDS:1.0"] = _0_CosPersistencePDS._d_PDS
34 | _0_CosPersistencePDS.PDS = omniORB.newEmptyClass()
35 | class PDS :
36 | _NP_RepositoryId = _0_CosPersistencePDS._d_PDS[1]
37 |
38 | def __init__(self, *args, **kw):
39 | raise RuntimeError("Cannot construct objects of this type.")
40 |
41 | _nil = CORBA.Object._nil
42 |
43 |
44 | _0_CosPersistencePDS.PDS = PDS
45 | _0_CosPersistencePDS._tc_PDS = omniORB.tcInternal.createTypeCode(_0_CosPersistencePDS._d_PDS)
46 | omniORB.registerType(PDS._NP_RepositoryId, _0_CosPersistencePDS._d_PDS, _0_CosPersistencePDS._tc_PDS)
47 |
48 | # PDS operations and attributes
49 | PDS._d_connect = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (omniORB.typeMapping["IDL:omg.org/CosPersistencePDS/PDS:1.0"], ), None)
50 | PDS._d_disconnect = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
51 | PDS._d_store = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
52 | PDS._d_restore = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
53 | PDS._d_delete = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
54 |
55 | # PDS object reference
56 | class _objref_PDS (CORBA.Object):
57 | _NP_RepositoryId = PDS._NP_RepositoryId
58 |
59 | def __init__(self, obj):
60 | CORBA.Object.__init__(self, obj)
61 |
62 | def connect(self, *args):
63 | return self._obj.invoke("connect", _0_CosPersistencePDS.PDS._d_connect, args)
64 |
65 | def disconnect(self, *args):
66 | return self._obj.invoke("disconnect", _0_CosPersistencePDS.PDS._d_disconnect, args)
67 |
68 | def store(self, *args):
69 | return self._obj.invoke("store", _0_CosPersistencePDS.PDS._d_store, args)
70 |
71 | def restore(self, *args):
72 | return self._obj.invoke("restore", _0_CosPersistencePDS.PDS._d_restore, args)
73 |
74 | def delete(self, *args):
75 | return self._obj.invoke("delete", _0_CosPersistencePDS.PDS._d_delete, args)
76 |
77 | omniORB.registerObjref(PDS._NP_RepositoryId, _objref_PDS)
78 | _0_CosPersistencePDS._objref_PDS = _objref_PDS
79 | del PDS, _objref_PDS
80 |
81 | # PDS skeleton
82 | __name__ = "CosPersistencePDS__POA"
83 | class PDS (PortableServer.Servant):
84 | _NP_RepositoryId = _0_CosPersistencePDS.PDS._NP_RepositoryId
85 |
86 |
87 | _omni_op_d = {"connect": _0_CosPersistencePDS.PDS._d_connect, "disconnect": _0_CosPersistencePDS.PDS._d_disconnect, "store": _0_CosPersistencePDS.PDS._d_store, "restore": _0_CosPersistencePDS.PDS._d_restore, "delete": _0_CosPersistencePDS.PDS._d_delete}
88 |
89 | PDS._omni_skeleton = PDS
90 | _0_CosPersistencePDS__POA.PDS = PDS
91 | omniORB.registerSkeleton(PDS._NP_RepositoryId, PDS)
92 | del PDS
93 | __name__ = "CosPersistencePDS"
94 |
95 | #
96 | # End of module "CosPersistencePDS"
97 | #
98 | __name__ = "CosPersistencePDS_idl"
99 |
100 | _exported_modules = ( "CosPersistencePDS", )
101 |
102 | # The end.
103 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePID/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePID generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePID")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePID_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePID__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePID__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePID__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePID_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePID_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePID.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | #
19 | # Start of module "CosPersistencePID"
20 | #
21 | __name__ = "CosPersistencePID"
22 | _0_CosPersistencePID = omniORB.openModule("CosPersistencePID", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePID.idl")
23 | _0_CosPersistencePID__POA = omniORB.openModule("CosPersistencePID__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePID.idl")
24 |
25 |
26 | # interface PID
27 | _0_CosPersistencePID._d_PID = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistencePID/PID:1.0", "PID")
28 | omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"] = _0_CosPersistencePID._d_PID
29 | _0_CosPersistencePID.PID = omniORB.newEmptyClass()
30 | class PID :
31 | _NP_RepositoryId = _0_CosPersistencePID._d_PID[1]
32 |
33 | def __init__(self, *args, **kw):
34 | raise RuntimeError("Cannot construct objects of this type.")
35 |
36 | _nil = CORBA.Object._nil
37 |
38 |
39 | _0_CosPersistencePID.PID = PID
40 | _0_CosPersistencePID._tc_PID = omniORB.tcInternal.createTypeCode(_0_CosPersistencePID._d_PID)
41 | omniORB.registerType(PID._NP_RepositoryId, _0_CosPersistencePID._d_PID, _0_CosPersistencePID._tc_PID)
42 |
43 | # PID operations and attributes
44 | PID._d__get_datastore_type = ((),((omniORB.tcInternal.tv_string,0),),None)
45 | PID._d__set_datastore_type = (((omniORB.tcInternal.tv_string,0),),(),None)
46 | PID._d_get_PIDString = ((), ((omniORB.tcInternal.tv_string,0), ), None)
47 |
48 | # PID object reference
49 | class _objref_PID (CORBA.Object):
50 | _NP_RepositoryId = PID._NP_RepositoryId
51 |
52 | def __init__(self, obj):
53 | CORBA.Object.__init__(self, obj)
54 |
55 | def _get_datastore_type(self, *args):
56 | return self._obj.invoke("_get_datastore_type", _0_CosPersistencePID.PID._d__get_datastore_type, args)
57 |
58 | def _set_datastore_type(self, *args):
59 | return self._obj.invoke("_set_datastore_type", _0_CosPersistencePID.PID._d__set_datastore_type, args)
60 |
61 | datastore_type = property(_get_datastore_type, _set_datastore_type)
62 |
63 |
64 | def get_PIDString(self, *args):
65 | return self._obj.invoke("get_PIDString", _0_CosPersistencePID.PID._d_get_PIDString, args)
66 |
67 | omniORB.registerObjref(PID._NP_RepositoryId, _objref_PID)
68 | _0_CosPersistencePID._objref_PID = _objref_PID
69 | del PID, _objref_PID
70 |
71 | # PID skeleton
72 | __name__ = "CosPersistencePID__POA"
73 | class PID (PortableServer.Servant):
74 | _NP_RepositoryId = _0_CosPersistencePID.PID._NP_RepositoryId
75 |
76 |
77 | _omni_op_d = {"_get_datastore_type": _0_CosPersistencePID.PID._d__get_datastore_type, "_set_datastore_type": _0_CosPersistencePID.PID._d__set_datastore_type, "get_PIDString": _0_CosPersistencePID.PID._d_get_PIDString}
78 |
79 | PID._omni_skeleton = PID
80 | _0_CosPersistencePID__POA.PID = PID
81 | omniORB.registerSkeleton(PID._NP_RepositoryId, PID)
82 | del PID
83 | __name__ = "CosPersistencePID"
84 |
85 | #
86 | # End of module "CosPersistencePID"
87 | #
88 | __name__ = "CosPersistencePID_idl"
89 |
90 | _exported_modules = ( "CosPersistencePID", )
91 |
92 | # The end.
93 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePO/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePO generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePO")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePO_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePOM/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePOM generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePOM")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePOM_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePOM__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePOM__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePOM__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePOM_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePOM_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePOM.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosPersistencePID.idl"
19 | import CosPersistencePID_idl
20 | _0_CosPersistencePID = omniORB.openModule("CosPersistencePID")
21 | _0_CosPersistencePID__POA = omniORB.openModule("CosPersistencePID__POA")
22 |
23 | # #include "CosPersistencePDS.idl"
24 | import CosPersistencePDS_idl
25 | _0_CosPersistencePDS = omniORB.openModule("CosPersistencePDS")
26 | _0_CosPersistencePDS__POA = omniORB.openModule("CosPersistencePDS__POA")
27 |
28 | #
29 | # Start of module "CosPersistencePOM"
30 | #
31 | __name__ = "CosPersistencePOM"
32 | _0_CosPersistencePOM = omniORB.openModule("CosPersistencePOM", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePOM.idl")
33 | _0_CosPersistencePOM__POA = omniORB.openModule("CosPersistencePOM__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePOM.idl")
34 |
35 |
36 | # interface POM
37 | _0_CosPersistencePOM._d_POM = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistencePOM/POM:1.0", "POM")
38 | omniORB.typeMapping["IDL:omg.org/CosPersistencePOM/POM:1.0"] = _0_CosPersistencePOM._d_POM
39 | _0_CosPersistencePOM.POM = omniORB.newEmptyClass()
40 | class POM :
41 | _NP_RepositoryId = _0_CosPersistencePOM._d_POM[1]
42 |
43 | def __init__(self, *args, **kw):
44 | raise RuntimeError("Cannot construct objects of this type.")
45 |
46 | _nil = CORBA.Object._nil
47 |
48 |
49 | _0_CosPersistencePOM.POM = POM
50 | _0_CosPersistencePOM._tc_POM = omniORB.tcInternal.createTypeCode(_0_CosPersistencePOM._d_POM)
51 | omniORB.registerType(POM._NP_RepositoryId, _0_CosPersistencePOM._d_POM, _0_CosPersistencePOM._tc_POM)
52 |
53 | # POM operations and attributes
54 | POM._d_connect = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (omniORB.typeMapping["IDL:omg.org/CosPersistencePDS/PDS:1.0"], ), None)
55 | POM._d_disconnect = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
56 | POM._d_store = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
57 | POM._d_restore = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
58 | POM._d_delete = ((omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"]), (), None)
59 |
60 | # POM object reference
61 | class _objref_POM (CORBA.Object):
62 | _NP_RepositoryId = POM._NP_RepositoryId
63 |
64 | def __init__(self, obj):
65 | CORBA.Object.__init__(self, obj)
66 |
67 | def connect(self, *args):
68 | return self._obj.invoke("connect", _0_CosPersistencePOM.POM._d_connect, args)
69 |
70 | def disconnect(self, *args):
71 | return self._obj.invoke("disconnect", _0_CosPersistencePOM.POM._d_disconnect, args)
72 |
73 | def store(self, *args):
74 | return self._obj.invoke("store", _0_CosPersistencePOM.POM._d_store, args)
75 |
76 | def restore(self, *args):
77 | return self._obj.invoke("restore", _0_CosPersistencePOM.POM._d_restore, args)
78 |
79 | def delete(self, *args):
80 | return self._obj.invoke("delete", _0_CosPersistencePOM.POM._d_delete, args)
81 |
82 | omniORB.registerObjref(POM._NP_RepositoryId, _objref_POM)
83 | _0_CosPersistencePOM._objref_POM = _objref_POM
84 | del POM, _objref_POM
85 |
86 | # POM skeleton
87 | __name__ = "CosPersistencePOM__POA"
88 | class POM (PortableServer.Servant):
89 | _NP_RepositoryId = _0_CosPersistencePOM.POM._NP_RepositoryId
90 |
91 |
92 | _omni_op_d = {"connect": _0_CosPersistencePOM.POM._d_connect, "disconnect": _0_CosPersistencePOM.POM._d_disconnect, "store": _0_CosPersistencePOM.POM._d_store, "restore": _0_CosPersistencePOM.POM._d_restore, "delete": _0_CosPersistencePOM.POM._d_delete}
93 |
94 | POM._omni_skeleton = POM
95 | _0_CosPersistencePOM__POA.POM = POM
96 | omniORB.registerSkeleton(POM._NP_RepositoryId, POM)
97 | del POM
98 | __name__ = "CosPersistencePOM"
99 |
100 | #
101 | # End of module "CosPersistencePOM"
102 | #
103 | __name__ = "CosPersistencePOM_idl"
104 |
105 | _exported_modules = ( "CosPersistencePOM", )
106 |
107 | # The end.
108 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePO__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPersistencePO__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPersistencePO__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPersistencePO_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPersistencePO_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePO.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosPersistencePID.idl"
19 | import CosPersistencePID_idl
20 | _0_CosPersistencePID = omniORB.openModule("CosPersistencePID")
21 | _0_CosPersistencePID__POA = omniORB.openModule("CosPersistencePID__POA")
22 |
23 | # #include "CosPersistencePDS.idl"
24 | import CosPersistencePDS_idl
25 | _0_CosPersistencePDS = omniORB.openModule("CosPersistencePDS")
26 | _0_CosPersistencePDS__POA = omniORB.openModule("CosPersistencePDS__POA")
27 |
28 | #
29 | # Start of module "CosPersistencePO"
30 | #
31 | __name__ = "CosPersistencePO"
32 | _0_CosPersistencePO = omniORB.openModule("CosPersistencePO", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePO.idl")
33 | _0_CosPersistencePO__POA = omniORB.openModule("CosPersistencePO__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosPersistencePO.idl")
34 |
35 |
36 | # interface PO
37 | _0_CosPersistencePO._d_PO = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistencePO/PO:1.0", "PO")
38 | omniORB.typeMapping["IDL:omg.org/CosPersistencePO/PO:1.0"] = _0_CosPersistencePO._d_PO
39 | _0_CosPersistencePO.PO = omniORB.newEmptyClass()
40 | class PO :
41 | _NP_RepositoryId = _0_CosPersistencePO._d_PO[1]
42 |
43 | def __init__(self, *args, **kw):
44 | raise RuntimeError("Cannot construct objects of this type.")
45 |
46 | _nil = CORBA.Object._nil
47 |
48 |
49 | _0_CosPersistencePO.PO = PO
50 | _0_CosPersistencePO._tc_PO = omniORB.tcInternal.createTypeCode(_0_CosPersistencePO._d_PO)
51 | omniORB.registerType(PO._NP_RepositoryId, _0_CosPersistencePO._d_PO, _0_CosPersistencePO._tc_PO)
52 |
53 | # PO operations and attributes
54 | PO._d__get_p = ((),(omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"],),None)
55 | PO._d__set_p = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"],),(),None)
56 | PO._d_connect = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"], ), (omniORB.typeMapping["IDL:omg.org/CosPersistencePDS/PDS:1.0"], ), None)
57 | PO._d_disconnect = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"], ), (), None)
58 | PO._d_store = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"], ), (), None)
59 | PO._d_restore = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"], ), (), None)
60 | PO._d_delete = ((omniORB.typeMapping["IDL:omg.org/CosPersistencePID/PID:1.0"], ), (), None)
61 |
62 | # PO object reference
63 | class _objref_PO (CORBA.Object):
64 | _NP_RepositoryId = PO._NP_RepositoryId
65 |
66 | def __init__(self, obj):
67 | CORBA.Object.__init__(self, obj)
68 |
69 | def _get_p(self, *args):
70 | return self._obj.invoke("_get_p", _0_CosPersistencePO.PO._d__get_p, args)
71 |
72 | def _set_p(self, *args):
73 | return self._obj.invoke("_set_p", _0_CosPersistencePO.PO._d__set_p, args)
74 |
75 | p = property(_get_p, _set_p)
76 |
77 |
78 | def connect(self, *args):
79 | return self._obj.invoke("connect", _0_CosPersistencePO.PO._d_connect, args)
80 |
81 | def disconnect(self, *args):
82 | return self._obj.invoke("disconnect", _0_CosPersistencePO.PO._d_disconnect, args)
83 |
84 | def store(self, *args):
85 | return self._obj.invoke("store", _0_CosPersistencePO.PO._d_store, args)
86 |
87 | def restore(self, *args):
88 | return self._obj.invoke("restore", _0_CosPersistencePO.PO._d_restore, args)
89 |
90 | def delete(self, *args):
91 | return self._obj.invoke("delete", _0_CosPersistencePO.PO._d_delete, args)
92 |
93 | omniORB.registerObjref(PO._NP_RepositoryId, _objref_PO)
94 | _0_CosPersistencePO._objref_PO = _objref_PO
95 | del PO, _objref_PO
96 |
97 | # PO skeleton
98 | __name__ = "CosPersistencePO__POA"
99 | class PO (PortableServer.Servant):
100 | _NP_RepositoryId = _0_CosPersistencePO.PO._NP_RepositoryId
101 |
102 |
103 | _omni_op_d = {"_get_p": _0_CosPersistencePO.PO._d__get_p, "_set_p": _0_CosPersistencePO.PO._d__set_p, "connect": _0_CosPersistencePO.PO._d_connect, "disconnect": _0_CosPersistencePO.PO._d_disconnect, "store": _0_CosPersistencePO.PO._d_store, "restore": _0_CosPersistencePO.PO._d_restore, "delete": _0_CosPersistencePO.PO._d_delete}
104 |
105 | PO._omni_skeleton = PO
106 | _0_CosPersistencePO__POA.PO = PO
107 | omniORB.registerSkeleton(PO._NP_RepositoryId, PO)
108 | del PO
109 | __name__ = "CosPersistencePO"
110 |
111 | # interface SD
112 | _0_CosPersistencePO._d_SD = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosPersistencePO/SD:1.0", "SD")
113 | omniORB.typeMapping["IDL:omg.org/CosPersistencePO/SD:1.0"] = _0_CosPersistencePO._d_SD
114 | _0_CosPersistencePO.SD = omniORB.newEmptyClass()
115 | class SD :
116 | _NP_RepositoryId = _0_CosPersistencePO._d_SD[1]
117 |
118 | def __init__(self, *args, **kw):
119 | raise RuntimeError("Cannot construct objects of this type.")
120 |
121 | _nil = CORBA.Object._nil
122 |
123 |
124 | _0_CosPersistencePO.SD = SD
125 | _0_CosPersistencePO._tc_SD = omniORB.tcInternal.createTypeCode(_0_CosPersistencePO._d_SD)
126 | omniORB.registerType(SD._NP_RepositoryId, _0_CosPersistencePO._d_SD, _0_CosPersistencePO._tc_SD)
127 |
128 | # SD operations and attributes
129 | SD._d_pre_store = ((), (), None)
130 | SD._d_post_restore = ((), (), None)
131 |
132 | # SD object reference
133 | class _objref_SD (CORBA.Object):
134 | _NP_RepositoryId = SD._NP_RepositoryId
135 |
136 | def __init__(self, obj):
137 | CORBA.Object.__init__(self, obj)
138 |
139 | def pre_store(self, *args):
140 | return self._obj.invoke("pre_store", _0_CosPersistencePO.SD._d_pre_store, args)
141 |
142 | def post_restore(self, *args):
143 | return self._obj.invoke("post_restore", _0_CosPersistencePO.SD._d_post_restore, args)
144 |
145 | omniORB.registerObjref(SD._NP_RepositoryId, _objref_SD)
146 | _0_CosPersistencePO._objref_SD = _objref_SD
147 | del SD, _objref_SD
148 |
149 | # SD skeleton
150 | __name__ = "CosPersistencePO__POA"
151 | class SD (PortableServer.Servant):
152 | _NP_RepositoryId = _0_CosPersistencePO.SD._NP_RepositoryId
153 |
154 |
155 | _omni_op_d = {"pre_store": _0_CosPersistencePO.SD._d_pre_store, "post_restore": _0_CosPersistencePO.SD._d_post_restore}
156 |
157 | SD._omni_skeleton = SD
158 | _0_CosPersistencePO__POA.SD = SD
159 | omniORB.registerSkeleton(SD._NP_RepositoryId, SD)
160 | del SD
161 | __name__ = "CosPersistencePO"
162 |
163 | #
164 | # End of module "CosPersistencePO"
165 | #
166 | __name__ = "CosPersistencePO_idl"
167 |
168 | _exported_modules = ( "CosPersistencePO", )
169 |
170 | # The end.
171 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPropertyService/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPropertyService generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPropertyService")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPropertyService_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosPropertyService__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosPropertyService__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosPropertyService__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosPropertyService_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosQuery/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosQuery generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosQuery")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosQuery_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosQueryCollection/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosQueryCollection generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosQueryCollection")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosQueryCollection_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosQueryCollection__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosQueryCollection__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosQueryCollection__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosQueryCollection_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosQuery__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosQuery__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosQuery__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosQuery_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosReference/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosReference generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosReference")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosReference__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosReference__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosReference__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosReference_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosReference_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosReference.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "ir.idl"
29 | import ir_idl
30 | _0_CORBA = omniORB.openModule("CORBA")
31 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
32 |
33 | # #include "CosObjectIdentity.idl"
34 | import CosObjectIdentity_idl
35 | _0_CosObjectIdentity = omniORB.openModule("CosObjectIdentity")
36 | _0_CosObjectIdentity__POA = omniORB.openModule("CosObjectIdentity__POA")
37 |
38 | # #include "CosRelationships.idl"
39 | import CosRelationships_idl
40 | _0_CosRelationships = omniORB.openModule("CosRelationships")
41 | _0_CosRelationships__POA = omniORB.openModule("CosRelationships__POA")
42 |
43 | # #include "CosGraphs.idl"
44 | import CosGraphs_idl
45 | _0_CosGraphs = omniORB.openModule("CosGraphs")
46 | _0_CosGraphs__POA = omniORB.openModule("CosGraphs__POA")
47 |
48 | #
49 | # Start of module "CosReference"
50 | #
51 | __name__ = "CosReference"
52 | _0_CosReference = omniORB.openModule("CosReference", r"/tmp/corba/omni/share/idl/omniORB/COS/CosReference.idl")
53 | _0_CosReference__POA = omniORB.openModule("CosReference__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosReference.idl")
54 |
55 |
56 | # interface Relationship
57 | _0_CosReference._d_Relationship = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosReference/Relationship:1.0", "Relationship")
58 | omniORB.typeMapping["IDL:omg.org/CosReference/Relationship:1.0"] = _0_CosReference._d_Relationship
59 | _0_CosReference.Relationship = omniORB.newEmptyClass()
60 | class Relationship (_0_CosRelationships.Relationship):
61 | _NP_RepositoryId = _0_CosReference._d_Relationship[1]
62 |
63 | def __init__(self, *args, **kw):
64 | raise RuntimeError("Cannot construct objects of this type.")
65 |
66 | _nil = CORBA.Object._nil
67 |
68 |
69 | _0_CosReference.Relationship = Relationship
70 | _0_CosReference._tc_Relationship = omniORB.tcInternal.createTypeCode(_0_CosReference._d_Relationship)
71 | omniORB.registerType(Relationship._NP_RepositoryId, _0_CosReference._d_Relationship, _0_CosReference._tc_Relationship)
72 |
73 | # Relationship object reference
74 | class _objref_Relationship (_0_CosRelationships._objref_Relationship):
75 | _NP_RepositoryId = Relationship._NP_RepositoryId
76 |
77 | def __init__(self, obj):
78 | _0_CosRelationships._objref_Relationship.__init__(self, obj)
79 |
80 | omniORB.registerObjref(Relationship._NP_RepositoryId, _objref_Relationship)
81 | _0_CosReference._objref_Relationship = _objref_Relationship
82 | del Relationship, _objref_Relationship
83 |
84 | # Relationship skeleton
85 | __name__ = "CosReference__POA"
86 | class Relationship (_0_CosRelationships__POA.Relationship):
87 | _NP_RepositoryId = _0_CosReference.Relationship._NP_RepositoryId
88 |
89 |
90 | _omni_op_d = {}
91 | _omni_op_d.update(_0_CosRelationships__POA.Relationship._omni_op_d)
92 |
93 | Relationship._omni_skeleton = Relationship
94 | _0_CosReference__POA.Relationship = Relationship
95 | omniORB.registerSkeleton(Relationship._NP_RepositoryId, Relationship)
96 | del Relationship
97 | __name__ = "CosReference"
98 |
99 | # interface ReferencesRole
100 | _0_CosReference._d_ReferencesRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosReference/ReferencesRole:1.0", "ReferencesRole")
101 | omniORB.typeMapping["IDL:omg.org/CosReference/ReferencesRole:1.0"] = _0_CosReference._d_ReferencesRole
102 | _0_CosReference.ReferencesRole = omniORB.newEmptyClass()
103 | class ReferencesRole (_0_CosGraphs.Role):
104 | _NP_RepositoryId = _0_CosReference._d_ReferencesRole[1]
105 |
106 | def __init__(self, *args, **kw):
107 | raise RuntimeError("Cannot construct objects of this type.")
108 |
109 | _nil = CORBA.Object._nil
110 |
111 |
112 | _0_CosReference.ReferencesRole = ReferencesRole
113 | _0_CosReference._tc_ReferencesRole = omniORB.tcInternal.createTypeCode(_0_CosReference._d_ReferencesRole)
114 | omniORB.registerType(ReferencesRole._NP_RepositoryId, _0_CosReference._d_ReferencesRole, _0_CosReference._tc_ReferencesRole)
115 |
116 | # ReferencesRole object reference
117 | class _objref_ReferencesRole (_0_CosGraphs._objref_Role):
118 | _NP_RepositoryId = ReferencesRole._NP_RepositoryId
119 |
120 | def __init__(self, obj):
121 | _0_CosGraphs._objref_Role.__init__(self, obj)
122 |
123 | omniORB.registerObjref(ReferencesRole._NP_RepositoryId, _objref_ReferencesRole)
124 | _0_CosReference._objref_ReferencesRole = _objref_ReferencesRole
125 | del ReferencesRole, _objref_ReferencesRole
126 |
127 | # ReferencesRole skeleton
128 | __name__ = "CosReference__POA"
129 | class ReferencesRole (_0_CosGraphs__POA.Role):
130 | _NP_RepositoryId = _0_CosReference.ReferencesRole._NP_RepositoryId
131 |
132 |
133 | _omni_op_d = {}
134 | _omni_op_d.update(_0_CosGraphs__POA.Role._omni_op_d)
135 |
136 | ReferencesRole._omni_skeleton = ReferencesRole
137 | _0_CosReference__POA.ReferencesRole = ReferencesRole
138 | omniORB.registerSkeleton(ReferencesRole._NP_RepositoryId, ReferencesRole)
139 | del ReferencesRole
140 | __name__ = "CosReference"
141 |
142 | # interface ReferencedByRole
143 | _0_CosReference._d_ReferencedByRole = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosReference/ReferencedByRole:1.0", "ReferencedByRole")
144 | omniORB.typeMapping["IDL:omg.org/CosReference/ReferencedByRole:1.0"] = _0_CosReference._d_ReferencedByRole
145 | _0_CosReference.ReferencedByRole = omniORB.newEmptyClass()
146 | class ReferencedByRole (_0_CosGraphs.Role):
147 | _NP_RepositoryId = _0_CosReference._d_ReferencedByRole[1]
148 |
149 | def __init__(self, *args, **kw):
150 | raise RuntimeError("Cannot construct objects of this type.")
151 |
152 | _nil = CORBA.Object._nil
153 |
154 |
155 | _0_CosReference.ReferencedByRole = ReferencedByRole
156 | _0_CosReference._tc_ReferencedByRole = omniORB.tcInternal.createTypeCode(_0_CosReference._d_ReferencedByRole)
157 | omniORB.registerType(ReferencedByRole._NP_RepositoryId, _0_CosReference._d_ReferencedByRole, _0_CosReference._tc_ReferencedByRole)
158 |
159 | # ReferencedByRole object reference
160 | class _objref_ReferencedByRole (_0_CosGraphs._objref_Role):
161 | _NP_RepositoryId = ReferencedByRole._NP_RepositoryId
162 |
163 | def __init__(self, obj):
164 | _0_CosGraphs._objref_Role.__init__(self, obj)
165 |
166 | omniORB.registerObjref(ReferencedByRole._NP_RepositoryId, _objref_ReferencedByRole)
167 | _0_CosReference._objref_ReferencedByRole = _objref_ReferencedByRole
168 | del ReferencedByRole, _objref_ReferencedByRole
169 |
170 | # ReferencedByRole skeleton
171 | __name__ = "CosReference__POA"
172 | class ReferencedByRole (_0_CosGraphs__POA.Role):
173 | _NP_RepositoryId = _0_CosReference.ReferencedByRole._NP_RepositoryId
174 |
175 |
176 | _omni_op_d = {}
177 | _omni_op_d.update(_0_CosGraphs__POA.Role._omni_op_d)
178 |
179 | ReferencedByRole._omni_skeleton = ReferencedByRole
180 | _0_CosReference__POA.ReferencedByRole = ReferencedByRole
181 | omniORB.registerSkeleton(ReferencedByRole._NP_RepositoryId, ReferencedByRole)
182 | del ReferencedByRole
183 | __name__ = "CosReference"
184 |
185 | #
186 | # End of module "CosReference"
187 | #
188 | __name__ = "CosReference_idl"
189 |
190 | _exported_modules = ( "CosReference", )
191 |
192 | # The end.
193 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosRelationships/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosRelationships generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosRelationships")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosRelationships_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosRelationships__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosRelationships__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosRelationships__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosRelationships_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosStream/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosStream generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosStream")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosStream_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosStream__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosStream__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosStream__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosStream_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTime/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTime generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTime")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTime_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTime__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTime__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTime__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTime_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTimerEvent/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTimerEvent generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTimerEvent")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTimerEvent_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTimerEvent__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTimerEvent__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTimerEvent__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTimerEvent_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTrading/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTrading generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTrading")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTrading_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTradingDynamic/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTradingDynamic generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTradingDynamic")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTradingDynamic_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTradingDynamic__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTradingDynamic__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTradingDynamic__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTradingDynamic_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTradingDynamic_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosTradingDynamic.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "boxes.idl"
24 | import boxes_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | # #include "CosTrading.idl"
29 | import CosTrading_idl
30 | _0_CosTrading = omniORB.openModule("CosTrading")
31 | _0_CosTrading__POA = omniORB.openModule("CosTrading__POA")
32 |
33 | #
34 | # Start of module "CosTradingDynamic"
35 | #
36 | __name__ = "CosTradingDynamic"
37 | _0_CosTradingDynamic = omniORB.openModule("CosTradingDynamic", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTradingDynamic.idl")
38 | _0_CosTradingDynamic__POA = omniORB.openModule("CosTradingDynamic__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTradingDynamic.idl")
39 |
40 |
41 | # exception DPEvalFailure
42 | _0_CosTradingDynamic.DPEvalFailure = omniORB.newEmptyClass()
43 | class DPEvalFailure (CORBA.UserException):
44 | _NP_RepositoryId = "IDL:omg.org/CosTradingDynamic/DPEvalFailure:1.0"
45 |
46 | def __init__(self, name, returned_type, extra_info):
47 | CORBA.UserException.__init__(self, name, returned_type, extra_info)
48 | self.name = name
49 | self.returned_type = returned_type
50 | self.extra_info = extra_info
51 |
52 | _0_CosTradingDynamic.DPEvalFailure = DPEvalFailure
53 | _0_CosTradingDynamic._d_DPEvalFailure = (omniORB.tcInternal.tv_except, DPEvalFailure, DPEvalFailure._NP_RepositoryId, "DPEvalFailure", "name", omniORB.typeMapping["IDL:omg.org/CosTrading/PropertyName:1.0"], "returned_type", omniORB.tcInternal.tv_TypeCode, "extra_info", omniORB.tcInternal.tv_any)
54 | _0_CosTradingDynamic._tc_DPEvalFailure = omniORB.tcInternal.createTypeCode(_0_CosTradingDynamic._d_DPEvalFailure)
55 | omniORB.registerType(DPEvalFailure._NP_RepositoryId, _0_CosTradingDynamic._d_DPEvalFailure, _0_CosTradingDynamic._tc_DPEvalFailure)
56 | del DPEvalFailure
57 |
58 | # interface DynamicPropEval
59 | _0_CosTradingDynamic._d_DynamicPropEval = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosTradingDynamic/DynamicPropEval:1.0", "DynamicPropEval")
60 | omniORB.typeMapping["IDL:omg.org/CosTradingDynamic/DynamicPropEval:1.0"] = _0_CosTradingDynamic._d_DynamicPropEval
61 | _0_CosTradingDynamic.DynamicPropEval = omniORB.newEmptyClass()
62 | class DynamicPropEval :
63 | _NP_RepositoryId = _0_CosTradingDynamic._d_DynamicPropEval[1]
64 |
65 | def __init__(self, *args, **kw):
66 | raise RuntimeError("Cannot construct objects of this type.")
67 |
68 | _nil = CORBA.Object._nil
69 |
70 |
71 | _0_CosTradingDynamic.DynamicPropEval = DynamicPropEval
72 | _0_CosTradingDynamic._tc_DynamicPropEval = omniORB.tcInternal.createTypeCode(_0_CosTradingDynamic._d_DynamicPropEval)
73 | omniORB.registerType(DynamicPropEval._NP_RepositoryId, _0_CosTradingDynamic._d_DynamicPropEval, _0_CosTradingDynamic._tc_DynamicPropEval)
74 |
75 | # DynamicPropEval operations and attributes
76 | DynamicPropEval._d_evalDP = ((omniORB.typeMapping["IDL:omg.org/CosTrading/PropertyName:1.0"], omniORB.tcInternal.tv_TypeCode, omniORB.tcInternal.tv_any), (omniORB.tcInternal.tv_any, ), {_0_CosTradingDynamic.DPEvalFailure._NP_RepositoryId: _0_CosTradingDynamic._d_DPEvalFailure})
77 |
78 | # DynamicPropEval object reference
79 | class _objref_DynamicPropEval (CORBA.Object):
80 | _NP_RepositoryId = DynamicPropEval._NP_RepositoryId
81 |
82 | def __init__(self, obj):
83 | CORBA.Object.__init__(self, obj)
84 |
85 | def evalDP(self, *args):
86 | return self._obj.invoke("evalDP", _0_CosTradingDynamic.DynamicPropEval._d_evalDP, args)
87 |
88 | omniORB.registerObjref(DynamicPropEval._NP_RepositoryId, _objref_DynamicPropEval)
89 | _0_CosTradingDynamic._objref_DynamicPropEval = _objref_DynamicPropEval
90 | del DynamicPropEval, _objref_DynamicPropEval
91 |
92 | # DynamicPropEval skeleton
93 | __name__ = "CosTradingDynamic__POA"
94 | class DynamicPropEval (PortableServer.Servant):
95 | _NP_RepositoryId = _0_CosTradingDynamic.DynamicPropEval._NP_RepositoryId
96 |
97 |
98 | _omni_op_d = {"evalDP": _0_CosTradingDynamic.DynamicPropEval._d_evalDP}
99 |
100 | DynamicPropEval._omni_skeleton = DynamicPropEval
101 | _0_CosTradingDynamic__POA.DynamicPropEval = DynamicPropEval
102 | omniORB.registerSkeleton(DynamicPropEval._NP_RepositoryId, DynamicPropEval)
103 | del DynamicPropEval
104 | __name__ = "CosTradingDynamic"
105 |
106 | # struct DynamicProp
107 | _0_CosTradingDynamic.DynamicProp = omniORB.newEmptyClass()
108 | class DynamicProp (omniORB.StructBase):
109 | _NP_RepositoryId = "IDL:omg.org/CosTradingDynamic/DynamicProp:1.0"
110 |
111 | def __init__(self, eval_if, returned_type, extra_info):
112 | self.eval_if = eval_if
113 | self.returned_type = returned_type
114 | self.extra_info = extra_info
115 |
116 | _0_CosTradingDynamic.DynamicProp = DynamicProp
117 | _0_CosTradingDynamic._d_DynamicProp = (omniORB.tcInternal.tv_struct, DynamicProp, DynamicProp._NP_RepositoryId, "DynamicProp", "eval_if", omniORB.typeMapping["IDL:omg.org/CosTradingDynamic/DynamicPropEval:1.0"], "returned_type", omniORB.tcInternal.tv_TypeCode, "extra_info", omniORB.tcInternal.tv_any)
118 | _0_CosTradingDynamic._tc_DynamicProp = omniORB.tcInternal.createTypeCode(_0_CosTradingDynamic._d_DynamicProp)
119 | omniORB.registerType(DynamicProp._NP_RepositoryId, _0_CosTradingDynamic._d_DynamicProp, _0_CosTradingDynamic._tc_DynamicProp)
120 | del DynamicProp
121 |
122 | #
123 | # End of module "CosTradingDynamic"
124 | #
125 | __name__ = "CosTradingDynamic_idl"
126 |
127 | _exported_modules = ( "CosTradingDynamic", )
128 |
129 | # The end.
130 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTradingRepos/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTradingRepos generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTradingRepos")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTradingRepos_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTradingRepos__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTradingRepos__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTradingRepos__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTradingRepos_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTrading__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTrading__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTrading__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTrading_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedEventChannelAdmin/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedEventChannelAdmin generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedEventChannelAdmin")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedEventChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedEventChannelAdmin__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedEventChannelAdmin__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedEventChannelAdmin__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedEventChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedEventComm/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedEventComm generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedEventComm")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedEventComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedEventComm__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedEventComm__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedEventComm__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedEventComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedEventComm_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosTypedEventComm.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosEventComm.idl"
19 | import CosEventComm_idl
20 | _0_CosEventComm = omniORB.openModule("CosEventComm")
21 | _0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA")
22 |
23 | #
24 | # Start of module "CosTypedEventComm"
25 | #
26 | __name__ = "CosTypedEventComm"
27 | _0_CosTypedEventComm = omniORB.openModule("CosTypedEventComm", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTypedEventComm.idl")
28 | _0_CosTypedEventComm__POA = omniORB.openModule("CosTypedEventComm__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTypedEventComm.idl")
29 |
30 |
31 | # interface TypedPushConsumer
32 | _0_CosTypedEventComm._d_TypedPushConsumer = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosTypedEventComm/TypedPushConsumer:1.0", "TypedPushConsumer")
33 | omniORB.typeMapping["IDL:omg.org/CosTypedEventComm/TypedPushConsumer:1.0"] = _0_CosTypedEventComm._d_TypedPushConsumer
34 | _0_CosTypedEventComm.TypedPushConsumer = omniORB.newEmptyClass()
35 | class TypedPushConsumer (_0_CosEventComm.PushConsumer):
36 | _NP_RepositoryId = _0_CosTypedEventComm._d_TypedPushConsumer[1]
37 |
38 | def __init__(self, *args, **kw):
39 | raise RuntimeError("Cannot construct objects of this type.")
40 |
41 | _nil = CORBA.Object._nil
42 |
43 |
44 | _0_CosTypedEventComm.TypedPushConsumer = TypedPushConsumer
45 | _0_CosTypedEventComm._tc_TypedPushConsumer = omniORB.tcInternal.createTypeCode(_0_CosTypedEventComm._d_TypedPushConsumer)
46 | omniORB.registerType(TypedPushConsumer._NP_RepositoryId, _0_CosTypedEventComm._d_TypedPushConsumer, _0_CosTypedEventComm._tc_TypedPushConsumer)
47 |
48 | # TypedPushConsumer operations and attributes
49 | TypedPushConsumer._d_get_typed_consumer = ((), (omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], ), None)
50 |
51 | # TypedPushConsumer object reference
52 | class _objref_TypedPushConsumer (_0_CosEventComm._objref_PushConsumer):
53 | _NP_RepositoryId = TypedPushConsumer._NP_RepositoryId
54 |
55 | def __init__(self, obj):
56 | _0_CosEventComm._objref_PushConsumer.__init__(self, obj)
57 |
58 | def get_typed_consumer(self, *args):
59 | return self._obj.invoke("get_typed_consumer", _0_CosTypedEventComm.TypedPushConsumer._d_get_typed_consumer, args)
60 |
61 | omniORB.registerObjref(TypedPushConsumer._NP_RepositoryId, _objref_TypedPushConsumer)
62 | _0_CosTypedEventComm._objref_TypedPushConsumer = _objref_TypedPushConsumer
63 | del TypedPushConsumer, _objref_TypedPushConsumer
64 |
65 | # TypedPushConsumer skeleton
66 | __name__ = "CosTypedEventComm__POA"
67 | class TypedPushConsumer (_0_CosEventComm__POA.PushConsumer):
68 | _NP_RepositoryId = _0_CosTypedEventComm.TypedPushConsumer._NP_RepositoryId
69 |
70 |
71 | _omni_op_d = {"get_typed_consumer": _0_CosTypedEventComm.TypedPushConsumer._d_get_typed_consumer}
72 | _omni_op_d.update(_0_CosEventComm__POA.PushConsumer._omni_op_d)
73 |
74 | TypedPushConsumer._omni_skeleton = TypedPushConsumer
75 | _0_CosTypedEventComm__POA.TypedPushConsumer = TypedPushConsumer
76 | omniORB.registerSkeleton(TypedPushConsumer._NP_RepositoryId, TypedPushConsumer)
77 | del TypedPushConsumer
78 | __name__ = "CosTypedEventComm"
79 |
80 | # interface TypedPullSupplier
81 | _0_CosTypedEventComm._d_TypedPullSupplier = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosTypedEventComm/TypedPullSupplier:1.0", "TypedPullSupplier")
82 | omniORB.typeMapping["IDL:omg.org/CosTypedEventComm/TypedPullSupplier:1.0"] = _0_CosTypedEventComm._d_TypedPullSupplier
83 | _0_CosTypedEventComm.TypedPullSupplier = omniORB.newEmptyClass()
84 | class TypedPullSupplier (_0_CosEventComm.PullSupplier):
85 | _NP_RepositoryId = _0_CosTypedEventComm._d_TypedPullSupplier[1]
86 |
87 | def __init__(self, *args, **kw):
88 | raise RuntimeError("Cannot construct objects of this type.")
89 |
90 | _nil = CORBA.Object._nil
91 |
92 |
93 | _0_CosTypedEventComm.TypedPullSupplier = TypedPullSupplier
94 | _0_CosTypedEventComm._tc_TypedPullSupplier = omniORB.tcInternal.createTypeCode(_0_CosTypedEventComm._d_TypedPullSupplier)
95 | omniORB.registerType(TypedPullSupplier._NP_RepositoryId, _0_CosTypedEventComm._d_TypedPullSupplier, _0_CosTypedEventComm._tc_TypedPullSupplier)
96 |
97 | # TypedPullSupplier operations and attributes
98 | TypedPullSupplier._d_get_typed_supplier = ((), (omniORB.typeMapping["IDL:omg.org/CORBA/Object:1.0"], ), None)
99 |
100 | # TypedPullSupplier object reference
101 | class _objref_TypedPullSupplier (_0_CosEventComm._objref_PullSupplier):
102 | _NP_RepositoryId = TypedPullSupplier._NP_RepositoryId
103 |
104 | def __init__(self, obj):
105 | _0_CosEventComm._objref_PullSupplier.__init__(self, obj)
106 |
107 | def get_typed_supplier(self, *args):
108 | return self._obj.invoke("get_typed_supplier", _0_CosTypedEventComm.TypedPullSupplier._d_get_typed_supplier, args)
109 |
110 | omniORB.registerObjref(TypedPullSupplier._NP_RepositoryId, _objref_TypedPullSupplier)
111 | _0_CosTypedEventComm._objref_TypedPullSupplier = _objref_TypedPullSupplier
112 | del TypedPullSupplier, _objref_TypedPullSupplier
113 |
114 | # TypedPullSupplier skeleton
115 | __name__ = "CosTypedEventComm__POA"
116 | class TypedPullSupplier (_0_CosEventComm__POA.PullSupplier):
117 | _NP_RepositoryId = _0_CosTypedEventComm.TypedPullSupplier._NP_RepositoryId
118 |
119 |
120 | _omni_op_d = {"get_typed_supplier": _0_CosTypedEventComm.TypedPullSupplier._d_get_typed_supplier}
121 | _omni_op_d.update(_0_CosEventComm__POA.PullSupplier._omni_op_d)
122 |
123 | TypedPullSupplier._omni_skeleton = TypedPullSupplier
124 | _0_CosTypedEventComm__POA.TypedPullSupplier = TypedPullSupplier
125 | omniORB.registerSkeleton(TypedPullSupplier._NP_RepositoryId, TypedPullSupplier)
126 | del TypedPullSupplier
127 | __name__ = "CosTypedEventComm"
128 |
129 | #
130 | # End of module "CosTypedEventComm"
131 | #
132 | __name__ = "CosTypedEventComm_idl"
133 |
134 | _exported_modules = ( "CosTypedEventComm", )
135 |
136 | # The end.
137 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedNotifyChannelAdmin/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedNotifyChannelAdmin generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedNotifyChannelAdmin")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedNotifyChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedNotifyChannelAdmin__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedNotifyChannelAdmin__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedNotifyChannelAdmin__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedNotifyChannelAdmin_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedNotifyComm/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedNotifyComm generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedNotifyComm")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedNotifyComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedNotifyComm__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module CosTypedNotifyComm__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("CosTypedNotifyComm__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import CosTypedNotifyComm_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/CosTypedNotifyComm_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/CosTypedNotifyComm.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "CosNotification.idl"
19 | import CosNotification_idl
20 | _0_CosNotification = omniORB.openModule("CosNotification")
21 | _0_CosNotification__POA = omniORB.openModule("CosNotification__POA")
22 |
23 | # #include "CosEventComm.idl"
24 | import CosEventComm_idl
25 | _0_CosEventComm = omniORB.openModule("CosEventComm")
26 | _0_CosEventComm__POA = omniORB.openModule("CosEventComm__POA")
27 |
28 | # #include "CosNotifyComm.idl"
29 | import CosNotifyComm_idl
30 | _0_CosNotifyComm = omniORB.openModule("CosNotifyComm")
31 | _0_CosNotifyComm__POA = omniORB.openModule("CosNotifyComm__POA")
32 |
33 | # #include "CosNotifyFilter.idl"
34 | import CosNotifyFilter_idl
35 | _0_CosNotifyFilter = omniORB.openModule("CosNotifyFilter")
36 | _0_CosNotifyFilter__POA = omniORB.openModule("CosNotifyFilter__POA")
37 |
38 | # #include "CosEventChannelAdmin.idl"
39 | import CosEventChannelAdmin_idl
40 | _0_CosEventChannelAdmin = omniORB.openModule("CosEventChannelAdmin")
41 | _0_CosEventChannelAdmin__POA = omniORB.openModule("CosEventChannelAdmin__POA")
42 |
43 | # #include "CosNotifyChannelAdmin.idl"
44 | import CosNotifyChannelAdmin_idl
45 | _0_CosNotifyChannelAdmin = omniORB.openModule("CosNotifyChannelAdmin")
46 | _0_CosNotifyChannelAdmin__POA = omniORB.openModule("CosNotifyChannelAdmin__POA")
47 |
48 | # #include "CosTypedEventComm.idl"
49 | import CosTypedEventComm_idl
50 | _0_CosTypedEventComm = omniORB.openModule("CosTypedEventComm")
51 | _0_CosTypedEventComm__POA = omniORB.openModule("CosTypedEventComm__POA")
52 |
53 | #
54 | # Start of module "CosTypedNotifyComm"
55 | #
56 | __name__ = "CosTypedNotifyComm"
57 | _0_CosTypedNotifyComm = omniORB.openModule("CosTypedNotifyComm", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTypedNotifyComm.idl")
58 | _0_CosTypedNotifyComm__POA = omniORB.openModule("CosTypedNotifyComm__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/CosTypedNotifyComm.idl")
59 |
60 |
61 | # interface TypedPushConsumer
62 | _0_CosTypedNotifyComm._d_TypedPushConsumer = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosTypedNotifyComm/TypedPushConsumer:1.0", "TypedPushConsumer")
63 | omniORB.typeMapping["IDL:omg.org/CosTypedNotifyComm/TypedPushConsumer:1.0"] = _0_CosTypedNotifyComm._d_TypedPushConsumer
64 | _0_CosTypedNotifyComm.TypedPushConsumer = omniORB.newEmptyClass()
65 | class TypedPushConsumer (_0_CosTypedEventComm.TypedPushConsumer, _0_CosNotifyComm.NotifyPublish):
66 | _NP_RepositoryId = _0_CosTypedNotifyComm._d_TypedPushConsumer[1]
67 |
68 | def __init__(self, *args, **kw):
69 | raise RuntimeError("Cannot construct objects of this type.")
70 |
71 | _nil = CORBA.Object._nil
72 |
73 |
74 | _0_CosTypedNotifyComm.TypedPushConsumer = TypedPushConsumer
75 | _0_CosTypedNotifyComm._tc_TypedPushConsumer = omniORB.tcInternal.createTypeCode(_0_CosTypedNotifyComm._d_TypedPushConsumer)
76 | omniORB.registerType(TypedPushConsumer._NP_RepositoryId, _0_CosTypedNotifyComm._d_TypedPushConsumer, _0_CosTypedNotifyComm._tc_TypedPushConsumer)
77 |
78 | # TypedPushConsumer object reference
79 | class _objref_TypedPushConsumer (_0_CosTypedEventComm._objref_TypedPushConsumer, _0_CosNotifyComm._objref_NotifyPublish):
80 | _NP_RepositoryId = TypedPushConsumer._NP_RepositoryId
81 |
82 | def __init__(self, obj):
83 | _0_CosTypedEventComm._objref_TypedPushConsumer.__init__(self, obj)
84 | _0_CosNotifyComm._objref_NotifyPublish.__init__(self, obj)
85 |
86 | omniORB.registerObjref(TypedPushConsumer._NP_RepositoryId, _objref_TypedPushConsumer)
87 | _0_CosTypedNotifyComm._objref_TypedPushConsumer = _objref_TypedPushConsumer
88 | del TypedPushConsumer, _objref_TypedPushConsumer
89 |
90 | # TypedPushConsumer skeleton
91 | __name__ = "CosTypedNotifyComm__POA"
92 | class TypedPushConsumer (_0_CosTypedEventComm__POA.TypedPushConsumer, _0_CosNotifyComm__POA.NotifyPublish):
93 | _NP_RepositoryId = _0_CosTypedNotifyComm.TypedPushConsumer._NP_RepositoryId
94 |
95 |
96 | _omni_op_d = {}
97 | _omni_op_d.update(_0_CosTypedEventComm__POA.TypedPushConsumer._omni_op_d)
98 | _omni_op_d.update(_0_CosNotifyComm__POA.NotifyPublish._omni_op_d)
99 |
100 | TypedPushConsumer._omni_skeleton = TypedPushConsumer
101 | _0_CosTypedNotifyComm__POA.TypedPushConsumer = TypedPushConsumer
102 | omniORB.registerSkeleton(TypedPushConsumer._NP_RepositoryId, TypedPushConsumer)
103 | del TypedPushConsumer
104 | __name__ = "CosTypedNotifyComm"
105 |
106 | # interface TypedPullSupplier
107 | _0_CosTypedNotifyComm._d_TypedPullSupplier = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CosTypedNotifyComm/TypedPullSupplier:1.0", "TypedPullSupplier")
108 | omniORB.typeMapping["IDL:omg.org/CosTypedNotifyComm/TypedPullSupplier:1.0"] = _0_CosTypedNotifyComm._d_TypedPullSupplier
109 | _0_CosTypedNotifyComm.TypedPullSupplier = omniORB.newEmptyClass()
110 | class TypedPullSupplier (_0_CosTypedEventComm.TypedPullSupplier, _0_CosNotifyComm.NotifySubscribe):
111 | _NP_RepositoryId = _0_CosTypedNotifyComm._d_TypedPullSupplier[1]
112 |
113 | def __init__(self, *args, **kw):
114 | raise RuntimeError("Cannot construct objects of this type.")
115 |
116 | _nil = CORBA.Object._nil
117 |
118 |
119 | _0_CosTypedNotifyComm.TypedPullSupplier = TypedPullSupplier
120 | _0_CosTypedNotifyComm._tc_TypedPullSupplier = omniORB.tcInternal.createTypeCode(_0_CosTypedNotifyComm._d_TypedPullSupplier)
121 | omniORB.registerType(TypedPullSupplier._NP_RepositoryId, _0_CosTypedNotifyComm._d_TypedPullSupplier, _0_CosTypedNotifyComm._tc_TypedPullSupplier)
122 |
123 | # TypedPullSupplier object reference
124 | class _objref_TypedPullSupplier (_0_CosTypedEventComm._objref_TypedPullSupplier, _0_CosNotifyComm._objref_NotifySubscribe):
125 | _NP_RepositoryId = TypedPullSupplier._NP_RepositoryId
126 |
127 | def __init__(self, obj):
128 | _0_CosTypedEventComm._objref_TypedPullSupplier.__init__(self, obj)
129 | _0_CosNotifyComm._objref_NotifySubscribe.__init__(self, obj)
130 |
131 | omniORB.registerObjref(TypedPullSupplier._NP_RepositoryId, _objref_TypedPullSupplier)
132 | _0_CosTypedNotifyComm._objref_TypedPullSupplier = _objref_TypedPullSupplier
133 | del TypedPullSupplier, _objref_TypedPullSupplier
134 |
135 | # TypedPullSupplier skeleton
136 | __name__ = "CosTypedNotifyComm__POA"
137 | class TypedPullSupplier (_0_CosTypedEventComm__POA.TypedPullSupplier, _0_CosNotifyComm__POA.NotifySubscribe):
138 | _NP_RepositoryId = _0_CosTypedNotifyComm.TypedPullSupplier._NP_RepositoryId
139 |
140 |
141 | _omni_op_d = {}
142 | _omni_op_d.update(_0_CosTypedEventComm__POA.TypedPullSupplier._omni_op_d)
143 | _omni_op_d.update(_0_CosNotifyComm__POA.NotifySubscribe._omni_op_d)
144 |
145 | TypedPullSupplier._omni_skeleton = TypedPullSupplier
146 | _0_CosTypedNotifyComm__POA.TypedPullSupplier = TypedPullSupplier
147 | omniORB.registerSkeleton(TypedPullSupplier._NP_RepositoryId, TypedPullSupplier)
148 | del TypedPullSupplier
149 | __name__ = "CosTypedNotifyComm"
150 |
151 | #
152 | # End of module "CosTypedNotifyComm"
153 | #
154 | __name__ = "CosTypedNotifyComm_idl"
155 |
156 | _exported_modules = ( "CosTypedNotifyComm", )
157 |
158 | # The end.
159 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/LifeCycleService/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module LifeCycleService generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("LifeCycleService")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import LifeCycleService_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/LifeCycleService__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module LifeCycleService__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("LifeCycleService__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import LifeCycleService_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/RDITestTypes/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module RDITestTypes generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("RDITestTypes")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import RDITestTypes_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/RDITestTypes__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module RDITestTypes__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("RDITestTypes__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import RDITestTypes_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/TimeBase/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module TimeBase generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("TimeBase")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import TimeBase_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/TimeBase__POA/__init__.py:
--------------------------------------------------------------------------------
1 | # DO NOT EDIT THIS FILE!
2 | #
3 | # Python module TimeBase__POA generated by omniidl
4 |
5 | import omniORB
6 | omniORB.updateModule("TimeBase__POA")
7 |
8 | # ** 1. Stub files contributing to this module
9 | import TimeBase_idl
10 |
11 | # ** 2. Sub-modules
12 |
13 | # ** 3. End
14 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/TimeBase_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/COS/TimeBase.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | #
19 | # Start of module "TimeBase"
20 | #
21 | __name__ = "TimeBase"
22 | _0_TimeBase = omniORB.openModule("TimeBase", r"/tmp/corba/omni/share/idl/omniORB/COS/TimeBase.idl")
23 | _0_TimeBase__POA = omniORB.openModule("TimeBase__POA", r"/tmp/corba/omni/share/idl/omniORB/COS/TimeBase.idl")
24 |
25 |
26 | # typedef ... TimeT
27 | class TimeT:
28 | _NP_RepositoryId = "IDL:omg.org/TimeBase/TimeT:1.0"
29 | def __init__(self, *args, **kw):
30 | raise RuntimeError("Cannot construct objects of this type.")
31 | _0_TimeBase.TimeT = TimeT
32 | _0_TimeBase._d_TimeT = omniORB.tcInternal.tv_ulonglong
33 | _0_TimeBase._ad_TimeT = (omniORB.tcInternal.tv_alias, TimeT._NP_RepositoryId, "TimeT", omniORB.tcInternal.tv_ulonglong)
34 | _0_TimeBase._tc_TimeT = omniORB.tcInternal.createTypeCode(_0_TimeBase._ad_TimeT)
35 | omniORB.registerType(TimeT._NP_RepositoryId, _0_TimeBase._ad_TimeT, _0_TimeBase._tc_TimeT)
36 | del TimeT
37 |
38 | # typedef ... InaccuracyT
39 | class InaccuracyT:
40 | _NP_RepositoryId = "IDL:omg.org/TimeBase/InaccuracyT:1.0"
41 | def __init__(self, *args, **kw):
42 | raise RuntimeError("Cannot construct objects of this type.")
43 | _0_TimeBase.InaccuracyT = InaccuracyT
44 | _0_TimeBase._d_InaccuracyT = omniORB.typeMapping["IDL:omg.org/TimeBase/TimeT:1.0"]
45 | _0_TimeBase._ad_InaccuracyT = (omniORB.tcInternal.tv_alias, InaccuracyT._NP_RepositoryId, "InaccuracyT", omniORB.typeCodeMapping["IDL:omg.org/TimeBase/TimeT:1.0"]._d)
46 | _0_TimeBase._tc_InaccuracyT = omniORB.tcInternal.createTypeCode(_0_TimeBase._ad_InaccuracyT)
47 | omniORB.registerType(InaccuracyT._NP_RepositoryId, _0_TimeBase._ad_InaccuracyT, _0_TimeBase._tc_InaccuracyT)
48 | del InaccuracyT
49 |
50 | # typedef ... TdfT
51 | class TdfT:
52 | _NP_RepositoryId = "IDL:omg.org/TimeBase/TdfT:1.0"
53 | def __init__(self, *args, **kw):
54 | raise RuntimeError("Cannot construct objects of this type.")
55 | _0_TimeBase.TdfT = TdfT
56 | _0_TimeBase._d_TdfT = omniORB.tcInternal.tv_short
57 | _0_TimeBase._ad_TdfT = (omniORB.tcInternal.tv_alias, TdfT._NP_RepositoryId, "TdfT", omniORB.tcInternal.tv_short)
58 | _0_TimeBase._tc_TdfT = omniORB.tcInternal.createTypeCode(_0_TimeBase._ad_TdfT)
59 | omniORB.registerType(TdfT._NP_RepositoryId, _0_TimeBase._ad_TdfT, _0_TimeBase._tc_TdfT)
60 | del TdfT
61 |
62 | # struct UtcT
63 | _0_TimeBase.UtcT = omniORB.newEmptyClass()
64 | class UtcT (omniORB.StructBase):
65 | _NP_RepositoryId = "IDL:omg.org/TimeBase/UtcT:1.0"
66 |
67 | def __init__(self, time, inacclo, inacchi, tdf):
68 | self.time = time
69 | self.inacclo = inacclo
70 | self.inacchi = inacchi
71 | self.tdf = tdf
72 |
73 | _0_TimeBase.UtcT = UtcT
74 | _0_TimeBase._d_UtcT = (omniORB.tcInternal.tv_struct, UtcT, UtcT._NP_RepositoryId, "UtcT", "time", omniORB.typeMapping["IDL:omg.org/TimeBase/TimeT:1.0"], "inacclo", omniORB.tcInternal.tv_ulong, "inacchi", omniORB.tcInternal.tv_ushort, "tdf", omniORB.typeMapping["IDL:omg.org/TimeBase/TdfT:1.0"])
75 | _0_TimeBase._tc_UtcT = omniORB.tcInternal.createTypeCode(_0_TimeBase._d_UtcT)
76 | omniORB.registerType(UtcT._NP_RepositoryId, _0_TimeBase._d_UtcT, _0_TimeBase._tc_UtcT)
77 | del UtcT
78 |
79 | # struct IntervalT
80 | _0_TimeBase.IntervalT = omniORB.newEmptyClass()
81 | class IntervalT (omniORB.StructBase):
82 | _NP_RepositoryId = "IDL:omg.org/TimeBase/IntervalT:1.0"
83 |
84 | def __init__(self, lower_bound, upper_bound):
85 | self.lower_bound = lower_bound
86 | self.upper_bound = upper_bound
87 |
88 | _0_TimeBase.IntervalT = IntervalT
89 | _0_TimeBase._d_IntervalT = (omniORB.tcInternal.tv_struct, IntervalT, IntervalT._NP_RepositoryId, "IntervalT", "lower_bound", omniORB.typeMapping["IDL:omg.org/TimeBase/TimeT:1.0"], "upper_bound", omniORB.typeMapping["IDL:omg.org/TimeBase/TimeT:1.0"])
90 | _0_TimeBase._tc_IntervalT = omniORB.tcInternal.createTypeCode(_0_TimeBase._d_IntervalT)
91 | omniORB.registerType(IntervalT._NP_RepositoryId, _0_TimeBase._d_IntervalT, _0_TimeBase._tc_IntervalT)
92 | del IntervalT
93 |
94 | #
95 | # End of module "TimeBase"
96 | #
97 | __name__ = "TimeBase_idl"
98 |
99 | _exported_modules = ( "TimeBase", )
100 |
101 | # The end.
102 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/__init__.py:
--------------------------------------------------------------------------------
1 | # Empty file
2 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/COS/omniORB.pth:
--------------------------------------------------------------------------------
1 | omniORB/COS
2 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/Compression.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # Compression.py Created on: 2013/05/28
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # Compression module
27 |
28 | import omniORB.compression_idl
29 | import omniORB
30 | omniORB.updateModule("omniORB.Compression")
31 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/PortableServer__POA.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # PortableServer__POA.py Created on: 2000/02/24
4 | # Author : Duncan Grisby (dpg1)
5 | #
6 | # Copyright (C) 2002-2013 Apasphere Ltd
7 | # Copyright (C) 2000 AT&T Laboratories Cambridge
8 | #
9 | # This file is part of the omniORBpy library
10 | #
11 | # The omniORBpy library is free software; you can redistribute it
12 | # and/or modify it under the terms of the GNU Lesser General
13 | # Public License as published by the Free Software Foundation;
14 | # either version 2.1 of the License, or (at your option) any later
15 | # version.
16 | #
17 | # This library is distributed in the hope that it will be useful,
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | # GNU Lesser General Public License for more details.
21 | #
22 | # You should have received a copy of the GNU Lesser General Public
23 | # License along with this library. If not, see http://www.gnu.org/licenses/
24 | #
25 | #
26 | # Description:
27 | # PortableServer skeletons
28 |
29 | import omniORB
30 | from omniORB import CORBA, PortableServer
31 | import _omnipy
32 |
33 | # ServantManager skeleton
34 | class ServantManager (PortableServer.Servant):
35 | _NP_RepositoryId = PortableServer.ServantManager._NP_RepositoryId
36 |
37 | _omni_op_d = {}
38 | _omni_special = 1
39 |
40 | ServantManager._omni_skeleton = ServantManager
41 |
42 |
43 | # ServantActivator skeleton
44 | class ServantActivator (ServantManager):
45 | _NP_RepositoryId = PortableServer.ServantActivator._NP_RepositoryId
46 |
47 | _omni_op_d = {"incarnate": PortableServer.ServantActivator._d_incarnate,
48 | "etherealize":PortableServer.ServantActivator._d_etherealize}
49 | _omni_op_d.update(ServantManager._omni_op_d)
50 | _omni_special = 1
51 |
52 | ServantActivator._omni_skeleton = ServantActivator
53 |
54 |
55 | # ServantLocator skeleton
56 | class ServantLocator (ServantManager):
57 | _NP_RepositoryId = PortableServer.ServantLocator._NP_RepositoryId
58 |
59 | _omni_op_d = {"preinvoke": PortableServer.ServantLocator._d_preinvoke,
60 | "postinvoke": PortableServer.ServantLocator._d_postinvoke}
61 | _omni_op_d.update(ServantManager._omni_op_d)
62 | _omni_special = 1
63 |
64 | ServantLocator._omni_skeleton = ServantLocator
65 |
66 |
67 |
68 | # AdapterActivator skeleton
69 | class AdapterActivator (PortableServer.Servant):
70 | _NP_RepositoryId = PortableServer.AdapterActivator._NP_RepositoryId
71 |
72 | _omni_op_d = {"unknown_adapter":
73 | PortableServer.AdapterActivator._d_unknown_adapter}
74 | _omni_special = 1
75 |
76 | AdapterActivator._omni_skeleton = AdapterActivator
77 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/URI.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # URI.py Created on: 2000/06/26
4 | # Author : Duncan Grisby (dpg1)
5 | #
6 | # Copyright (C) 2002-2014 Apasphere Ltd
7 | # Copyright (C) 2000 AT&T Laboratories Cambridge
8 | #
9 | # This file is part of the omniORBpy library
10 | #
11 | # The omniORBpy library is free software; you can redistribute it
12 | # and/or modify it under the terms of the GNU Lesser General
13 | # Public License as published by the Free Software Foundation;
14 | # either version 2.1 of the License, or (at your option) any later
15 | # version.
16 | #
17 | # This library is distributed in the hope that it will be useful,
18 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 | # GNU Lesser General Public License for more details.
21 | #
22 | # You should have received a copy of the GNU Lesser General Public
23 | # License along with this library. If not, see http://www.gnu.org/licenses/
24 | #
25 | #
26 | # Description:
27 | # URI handling functions
28 |
29 | import types, string, re
30 | import CosNaming
31 | from omniORB import CORBA
32 |
33 |
34 | __regex = re.compile(r"([/\.\\])")
35 |
36 |
37 | def stringToName(sname):
38 | """stringToName(string) -> CosNaming.Name
39 |
40 | Convert a stringified name to a CosNaming.Name"""
41 |
42 | # Try to understand this at your peril... :-)
43 | #
44 | # It works by splitting the input string into a list. Each item in
45 | # the list is either a string fragment, or a single "special"
46 | # character -- ".", "/", or "\". It then walks over the list,
47 | # building a list of NameComponents, based on the meanings of the
48 | # special characters.
49 |
50 | if not isinstance(sname, str):
51 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, COMPLETED_NO)
52 |
53 | if sname == "":
54 | raise CosNaming.NamingContext.InvalidName()
55 |
56 | parts = __regex.split(sname)
57 | name = [CosNaming.NameComponent("","")]
58 | dotseen = 0
59 |
60 | parts = [_f for _f in parts if _f]
61 | parts.reverse()
62 | while parts:
63 | part = parts.pop()
64 |
65 | if part == "\\":
66 | if not parts:
67 | raise CosNaming.NamingContext.InvalidName()
68 | part = parts.pop()
69 | if part != "\\" and part != "/" and part != ".":
70 | raise CosNaming.NamingContext.InvalidName()
71 |
72 | elif part == ".":
73 | if dotseen:
74 | raise CosNaming.NamingContext.InvalidName()
75 | dotseen = 1
76 | continue
77 |
78 | elif part == "/":
79 | if not parts:
80 | raise CosNaming.NamingContext.InvalidName()
81 |
82 | if dotseen:
83 | if name[-1].kind == "" and name[-1].id != "":
84 | raise CosNaming.NamingContext.InvalidName()
85 | else:
86 | if name[-1].id == "":
87 | raise CosNaming.NamingContext.InvalidName()
88 |
89 | dotseen = 0
90 | name.append(CosNaming.NameComponent("",""))
91 | continue
92 |
93 | if dotseen:
94 | name[-1].kind = name[-1].kind + part
95 | else:
96 | name[-1].id = name[-1].id + part
97 |
98 | return name
99 |
100 |
101 |
102 | def nameToString(name):
103 | """nameToString(CosNaming.Name) -> string
104 |
105 | Convert the CosNaming.Name into its stringified form."""
106 |
107 | parts = []
108 |
109 | if not isinstance(name, (list, tuple)):
110 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, COMPLETED_NO)
111 |
112 | if len(name) == 0:
113 | raise CosNaming.NamingContext.InvalidName()
114 |
115 | try:
116 | for nc in name:
117 | if nc.id == "" and nc.kind == "":
118 | parts.append(".")
119 | elif nc.kind == "":
120 | parts.append(__regex.sub(r"\\\1", nc.id))
121 | else:
122 | parts.append(__regex.sub(r"\\\1", nc.id) + "." +
123 | __regex.sub(r"\\\1", nc.kind))
124 | except AttributeError:
125 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, COMPLETED_NO)
126 |
127 | return "/".join(parts)
128 |
129 |
130 | def addrAndNameToURI(addr, sname):
131 | """addrAndNameToURI(addr, sname) -> URI
132 |
133 | Create a valid corbaname URI from an address string and a stringified name"""
134 |
135 | # *** Note that this function does not properly check the address
136 | # string. It should raise InvalidAddress if the address looks
137 | # invalid.
138 |
139 | import urllib.request, urllib.parse, urllib.error
140 |
141 | if not (isinstance(addr, str) and isinstance(sname, str)):
142 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_WrongPythonType, COMPLETED_NO)
143 |
144 | if addr == "":
145 | raise CosNaming.NamingContextExt.InvalidAddress()
146 |
147 | if sname == "":
148 | return "corbaname:" + addr
149 | else:
150 | stringToName(sname) # This might raise InvalidName
151 | return "corbaname:" + addr + "#" + urllib.parse.quote(sname)
152 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/ZIOP.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # ZIOP.py Created on: 2013/05/28
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # ZIOP module
27 |
28 | import omniORB.ziop_idl
29 | import _omniZIOP
30 | from omniORB import CORBA
31 |
32 | import omniORB
33 | omniORB.updateModule("omniORB.ZIOP")
34 |
35 |
36 | # Policies
37 |
38 | class CompressionEnablingPolicy (CORBA.Policy):
39 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionEnablingPolicy:1.0"
40 |
41 | def __init__(self, value):
42 | self._value = value
43 | self._policy_type = COMPRESSION_ENABLING_POLICY_ID
44 |
45 | def _get_compression_enabled(self):
46 | return self._value
47 |
48 | compression_enabled = property(_get_compression_enabled)
49 |
50 | class CompressionIdLevelListPolicy (CORBA.Policy):
51 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionIdLevelListPolicy:1.0"
52 |
53 | def __init__(self, value):
54 | self._value = value
55 | self._policy_type = COMPRESSOR_ID_LEVEL_LIST_POLICY_ID
56 |
57 | def _get_compressor_ids(self):
58 | return self._value
59 |
60 | compressor_ids = property(_get_compressor_ids)
61 |
62 | class CompressionLowValuePolicy (CORBA.Policy):
63 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionLowValuePolicy:1.0"
64 |
65 | def __init__(self, value):
66 | self._value = value
67 | self._policy_type = COMPRESSION_LOW_VALUE_POLICY_ID
68 |
69 | def _get_low_value(self):
70 | return self._value
71 |
72 | low_value = property(_get_low_value)
73 |
74 | class CompressionMinRatioPolicy (CORBA.Policy):
75 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionMinRatioPolicy:1.0"
76 |
77 | def __init__(self, value):
78 | self._value = value
79 | self._policy_type = COMPRESSION_MIN_RATIO_POLICY_ID
80 |
81 | def _get_ratio(self):
82 | return self._value
83 |
84 | ratio = property(_get_ratio)
85 |
86 |
87 | def _create_policy(ptype, val):
88 | if ptype == COMPRESSION_ENABLING_POLICY_ID:
89 | return CompressionEnablingPolicy(val)
90 |
91 | if ptype == COMPRESSOR_ID_LEVEL_LIST_POLICY_ID:
92 | return CompressionIdLevelListPolicy(val)
93 |
94 | if ptype == COMPRESSION_LOW_VALUE_POLICY_ID:
95 | return CompressionLowValuePolicy(val)
96 |
97 | if ptype == COMPRESSION_MIN_RATIO_POLICY_ID:
98 | return CompressionMinRatioPolicy(val)
99 |
100 | return None
101 |
102 | omniORB.policyMakers.append(_create_policy)
103 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/ami.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # ami.py Created on: 2012/06/27
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2012 Apasphere Ltd.
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | # Description:
25 | # AMI support
26 |
27 | import omniORB
28 | Messaging = omniORB.openModule("Messaging")
29 | CORBA = omniORB.openModule("CORBA")
30 |
31 | try:
32 | property
33 | except NameError:
34 | def property(*args):
35 | return None
36 |
37 |
38 | class PollerImpl (Messaging.Poller):
39 | def __init__(self, poller):
40 | self._poller = poller
41 |
42 | def is_ready(self, timeout):
43 | return self._poller.is_ready(timeout)
44 |
45 | def create_pollable_set(self):
46 | return PollableSetImpl(self._poller.create_pollable_set(self))
47 |
48 | def _get_operation_target(self):
49 | return self._poller.operation_target()
50 |
51 | operation_target = property(_get_operation_target)
52 |
53 | def _get_operation_name(self):
54 | return self._poller.operation_name()
55 |
56 | operation_name = property(_get_operation_name)
57 |
58 | def _get_associated_handler(self):
59 | return self._poller.get_handler()
60 |
61 | def _set_associated_handler(self, handler):
62 | self._poller.set_handler(handler)
63 |
64 | associated_handler = property(_get_associated_handler,
65 | _set_associated_handler)
66 |
67 | def _get_is_from_poller(self):
68 | return self._poller.is_from_poller()
69 |
70 | is_from_poller = property(_get_is_from_poller)
71 |
72 |
73 | class ExceptionHolderImpl (Messaging.ExceptionHolder):
74 | def __init__(self, poller):
75 | self._poller = poller
76 |
77 | def raise_exception(self):
78 | self._poller.raise_exception()
79 |
80 |
81 | class PollableSetImpl (CORBA.PollableSet):
82 | def __init__(self, pset):
83 | self._pset = pset
84 |
85 | def create_dii_pollable(self):
86 | raise CORBA.NO_IMPLEMENT(omniORB.NO_IMPLEMENT_Unsupported,
87 | CORBA.COMPLETED_NO)
88 |
89 | def add_pollable(self, potential):
90 | if potential is not None:
91 | self._pset.add_pollable(potential)
92 | else:
93 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_InvalidPollerType,
94 | CORBA.COMPLETED_NO)
95 |
96 | def get_ready_pollable(self, timeout):
97 | return self._pset.get_ready_pollable(timeout)
98 |
99 | def remove(self, potential):
100 | if potential is not None:
101 | self._pset.remove(potential)
102 | else:
103 | raise CORBA.BAD_PARAM(omniORB.BAD_PARAM_InvalidPollerType,
104 | CORBA.COMPLETED_NO)
105 |
106 | def number_left(self):
107 | return self._pset.number_left()
108 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/base.tar:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/boxes_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/boxes.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | #
19 | # Start of module "CORBA"
20 | #
21 | __name__ = "CORBA"
22 | _0_CORBA = omniORB.openModule("CORBA", r"/tmp/corba/omni/share/idl/omniORB/boxes.idl")
23 | _0_CORBA__POA = omniORB.openModule("CORBA__POA", r"/tmp/corba/omni/share/idl/omniORB/boxes.idl")
24 |
25 |
26 | # valuebox StringValue
27 | class StringValue:
28 | _NP_RepositoryId = "IDL:omg.org/CORBA/StringValue:1.0"
29 | def __init__(self, *args, **kw):
30 | raise RuntimeError("Cannot construct objects of this type.")
31 |
32 | _0_CORBA.StringValue = StringValue
33 | _0_CORBA._d_StringValue = (omniORB.tcInternal.tv_value_box, StringValue, StringValue._NP_RepositoryId, "StringValue", (omniORB.tcInternal.tv_string,0))
34 | _0_CORBA._tc_StringValue = omniORB.tcInternal.createTypeCode(_0_CORBA._d_StringValue)
35 | omniORB.registerType(StringValue._NP_RepositoryId, _0_CORBA._d_StringValue, _0_CORBA._tc_StringValue)
36 | omniORB.registerValueFactory(StringValue._NP_RepositoryId, StringValue)
37 | del StringValue
38 |
39 |
40 | # valuebox WStringValue
41 | class WStringValue:
42 | _NP_RepositoryId = "IDL:omg.org/CORBA/WStringValue:1.0"
43 | def __init__(self, *args, **kw):
44 | raise RuntimeError("Cannot construct objects of this type.")
45 |
46 | _0_CORBA.WStringValue = WStringValue
47 | _0_CORBA._d_WStringValue = (omniORB.tcInternal.tv_value_box, WStringValue, WStringValue._NP_RepositoryId, "WStringValue", (omniORB.tcInternal.tv_wstring,0))
48 | _0_CORBA._tc_WStringValue = omniORB.tcInternal.createTypeCode(_0_CORBA._d_WStringValue)
49 | omniORB.registerType(WStringValue._NP_RepositoryId, _0_CORBA._d_WStringValue, _0_CORBA._tc_WStringValue)
50 | omniORB.registerValueFactory(WStringValue._NP_RepositoryId, WStringValue)
51 | del WStringValue
52 |
53 |
54 | #
55 | # End of module "CORBA"
56 | #
57 | __name__ = "boxes_idl"
58 |
59 | _exported_modules = ( "CORBA", )
60 |
61 | # The end.
62 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/codesets.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # codesets.py Created on: 2002/09/06
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2002-2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # Import this to get extra code sets.
27 |
28 | """omniORB.codesets
29 |
30 | Import this module before calling CORBA.ORB_init() to make extra char
31 | and wchar code sets available.
32 | """
33 |
34 | import _omnipy
35 | import _omnicodesets
36 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/interceptors.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # interceptors.py Created on: 2003/05/27
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2003-2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # Python request interceptors
27 |
28 | """omniORB.interceptors
29 |
30 | Interceptor registration functions:
31 |
32 | addClientSendRequest
33 | addClientReceiveReply
34 | addServerReceiveRequest
35 | addServerSendReply
36 | addServerSendException
37 |
38 | To register an interceptor function, call the relevant registration
39 | function with a callable argument. The callable will be called with
40 | two or three arguments. The first argument is the name of the
41 | operation being invoked; the second is the set of service contexts to
42 | be retrieved or filled in. ServerSendException has a third argument,
43 | the repository id of the exception being thrown.
44 |
45 | When receiving service contexts (ClientReceiveReply,
46 | ServerReceiveRequest), the second argument is a tuple of 2-tuples. In
47 | each 2-tuple, the first item is the service context id and the second
48 | item is the CDR encapsulation of the service context. The
49 | encapsulation can be decoded with omniORB.cdrUnmarshal() (but only if
50 | you know the type to decode it to).
51 |
52 | When sending service contexts (ClientSendRequest, ServerSendReply,
53 | ServerSendException), the second argument is an empty list. The
54 | interceptor function can choose to add one or more service context
55 | tuples, with the same form described above, by appending to the list.
56 | Encapsulations are created with omniORB.cdrMarshal().
57 |
58 | Interceptor registration functions may only be called before the ORB
59 | is initialised. Attempting to call them later results in a
60 | BAD_INV_ORDER exception.
61 | """
62 |
63 | from _omnipy.interceptor_func import *
64 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/messaging_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/messaging.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("CORBA")
21 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
22 |
23 | # #include "pollable.idl"
24 | import pollable_idl
25 | _0_CORBA = omniORB.openModule("CORBA")
26 | _0_CORBA__POA = omniORB.openModule("CORBA__POA")
27 |
28 | #
29 | # Start of module "Messaging"
30 | #
31 | __name__ = "Messaging"
32 | _0_Messaging = omniORB.openModule("Messaging", r"/tmp/corba/omni/share/idl/omniORB/messaging.idl")
33 | _0_Messaging__POA = omniORB.openModule("Messaging__POA", r"/tmp/corba/omni/share/idl/omniORB/messaging.idl")
34 |
35 |
36 | # interface ReplyHandler
37 | _0_Messaging._d_ReplyHandler = (omniORB.tcInternal.tv_objref, "IDL:omg.org/Messaging/ReplyHandler:1.0", "ReplyHandler")
38 | omniORB.typeMapping["IDL:omg.org/Messaging/ReplyHandler:1.0"] = _0_Messaging._d_ReplyHandler
39 | _0_Messaging.ReplyHandler = omniORB.newEmptyClass()
40 | class ReplyHandler :
41 | _NP_RepositoryId = _0_Messaging._d_ReplyHandler[1]
42 |
43 | def __init__(self, *args, **kw):
44 | raise RuntimeError("Cannot construct objects of this type.")
45 |
46 | _nil = CORBA.Object._nil
47 |
48 |
49 | _0_Messaging.ReplyHandler = ReplyHandler
50 | _0_Messaging._tc_ReplyHandler = omniORB.tcInternal.createTypeCode(_0_Messaging._d_ReplyHandler)
51 | omniORB.registerType(ReplyHandler._NP_RepositoryId, _0_Messaging._d_ReplyHandler, _0_Messaging._tc_ReplyHandler)
52 |
53 | # ReplyHandler object reference
54 | class _objref_ReplyHandler (CORBA.Object):
55 | _NP_RepositoryId = ReplyHandler._NP_RepositoryId
56 |
57 | def __init__(self, obj):
58 | CORBA.Object.__init__(self, obj)
59 |
60 | omniORB.registerObjref(ReplyHandler._NP_RepositoryId, _objref_ReplyHandler)
61 | _0_Messaging._objref_ReplyHandler = _objref_ReplyHandler
62 | del ReplyHandler, _objref_ReplyHandler
63 |
64 | # ReplyHandler skeleton
65 | __name__ = "Messaging__POA"
66 | class ReplyHandler (PortableServer.Servant):
67 | _NP_RepositoryId = _0_Messaging.ReplyHandler._NP_RepositoryId
68 |
69 |
70 | _omni_op_d = {}
71 |
72 | ReplyHandler._omni_skeleton = ReplyHandler
73 | _0_Messaging__POA.ReplyHandler = ReplyHandler
74 | omniORB.registerSkeleton(ReplyHandler._NP_RepositoryId, ReplyHandler)
75 | del ReplyHandler
76 | __name__ = "Messaging"
77 |
78 | # abstract valuetype Poller
79 | class Poller (_0_CORBA.Pollable):
80 | _NP_RepositoryId = "IDL:omg.org/Messaging/Poller:1.0"
81 |
82 | def __init__(self, *args, **kwargs):
83 | raise RuntimeError("Cannot construct objects of this type.")
84 |
85 | _0_Messaging.Poller = Poller
86 | _0_Messaging._d_Poller = (omniORB.tcInternal.tv_value, Poller, Poller._NP_RepositoryId, "Poller", _0_CORBA.VM_ABSTRACT, None, _0_CORBA.tcInternal.tv_null, )
87 | _0_Messaging._tc_Poller = omniORB.tcInternal.createTypeCode(_0_Messaging._d_Poller)
88 | omniORB.registerType(Poller._NP_RepositoryId, _0_Messaging._d_Poller, _0_Messaging._tc_Poller)
89 | del Poller
90 |
91 |
92 | # valuetype ExceptionHolder
93 | _0_Messaging._d_ExceptionHolder = (omniORB.tcInternal.tv__indirect, ["IDL:omg.org/Messaging/ExceptionHolder:1.0"])
94 | omniORB.typeMapping["IDL:omg.org/Messaging/ExceptionHolder:1.0"] = _0_Messaging._d_ExceptionHolder
95 | _0_Messaging.ExceptionHolder = omniORB.newEmptyClass()
96 |
97 | class ExceptionHolder (_0_CORBA.ValueBase):
98 | _NP_RepositoryId = "IDL:omg.org/Messaging/ExceptionHolder:1.0"
99 |
100 | def __init__(self, *args, **kwargs):
101 | if args:
102 | if len(args) != 0:
103 | raise TypeError("ExceptionHolder() takes 0 arguments "
104 | "(%d given)" % len(args))
105 | pass
106 | if kwargs:
107 | self.__dict__.update(kwargs)
108 |
109 | _0_Messaging.ExceptionHolder = ExceptionHolder
110 | _0_Messaging._d_ExceptionHolder = (omniORB.tcInternal.tv_value, ExceptionHolder, ExceptionHolder._NP_RepositoryId, "ExceptionHolder", _0_CORBA.VM_NONE, None, _0_CORBA.tcInternal.tv_null, )
111 | _0_Messaging._tc_ExceptionHolder = omniORB.tcInternal.createTypeCode(_0_Messaging._d_ExceptionHolder)
112 | omniORB.registerType(ExceptionHolder._NP_RepositoryId, _0_Messaging._d_ExceptionHolder, _0_Messaging._tc_ExceptionHolder)
113 | del ExceptionHolder
114 |
115 |
116 | #
117 | # End of module "Messaging"
118 | #
119 | __name__ = "messaging_idl"
120 |
121 | _exported_modules = ( "Messaging", )
122 |
123 | # The end.
124 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/omniConnectionMgmt.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # omniConnectionMgmt.py Created on: 2006/07/21
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2006 Apasphere Ltd.
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # omniConnectionMgmt module.
27 |
28 | """omniORB.omniConnectionMgmt
29 |
30 | Interface to the proprietary omniConnectionMgmt library.
31 |
32 | Functions:
33 |
34 | init
35 | makeRestrictedReference
36 | """
37 |
38 | import _omnipy
39 | from _omniConnMgmt import *
40 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/omniPolicy.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # __init__.py Created on: 2013/07/23
4 | # Author : Duncan Grisby (dpg1)
5 | #
6 | # Copyright (C) 2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | # Description:
25 | # omniORB-specifc policies
26 |
27 | import omniORB
28 | from omniORB import CORBA
29 |
30 | ENDPOINT_PUBLISH_POLICY_TYPE = 0x41545402
31 |
32 | class EndPointPublishPolicy (CORBA.Policy):
33 | _NP_RepositoryId = "IDL:omniorb.net/omniPolicy/EndPointPublishPolicy:1.0"
34 |
35 | def __init__(self, value):
36 | if not isinstance(value, list):
37 | raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
38 |
39 | for item in value:
40 | if not isinstance(item, str):
41 | raise CORBA.PolicyError(CORBA.BAD_POLICY_VALUE)
42 |
43 | self._value = value
44 | self._policy_type = ENDPOINT_PUBLISH_POLICY_TYPE
45 |
46 | def _get_value(self):
47 | return self._value
48 |
49 | value = property(_get_value)
50 |
51 |
52 | def _create_policy(ptype, val):
53 | if ptype == 0x41545402:
54 | return EndPointPublishPolicy(val)
55 |
56 | return None
57 |
58 | omniORB.policyMakers.append(_create_policy)
59 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/omniZIOP.py:
--------------------------------------------------------------------------------
1 | # -*- Mode: Python; -*-
2 | # Package : omniORBpy
3 | # omniZIOP.py Created on: 2013/05/28
4 | # Author : Duncan Grisby (dgrisby)
5 | #
6 | # Copyright (C) 2013 Apasphere Ltd
7 | #
8 | # This file is part of the omniORBpy library
9 | #
10 | # The omniORBpy library is free software; you can redistribute it
11 | # and/or modify it under the terms of the GNU Lesser General
12 | # Public License as published by the Free Software Foundation;
13 | # either version 2.1 of the License, or (at your option) any later
14 | # version.
15 | #
16 | # This library is distributed in the hope that it will be useful,
17 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 | # GNU Lesser General Public License for more details.
20 | #
21 | # You should have received a copy of the GNU Lesser General Public
22 | # License along with this library. If not, see http://www.gnu.org/licenses/
23 | #
24 | #
25 | # Description:
26 | # omniORB ZIOP module
27 |
28 | from _omniZIOP import *
29 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/pollable_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/pollable.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | #
19 | # Start of module "CORBA"
20 | #
21 | __name__ = "CORBA"
22 | _0_CORBA = omniORB.openModule("CORBA", r"/tmp/corba/omni/share/idl/omniORB/pollable.idl")
23 | _0_CORBA__POA = omniORB.openModule("CORBA__POA", r"/tmp/corba/omni/share/idl/omniORB/pollable.idl")
24 |
25 |
26 | # forward interface PollableSet;
27 | _0_CORBA._d_PollableSet = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CORBA/PollableSet:1.0", "PollableSet")
28 | omniORB.typeMapping["IDL:omg.org/CORBA/PollableSet:1.0"] = _0_CORBA._d_PollableSet
29 |
30 | # abstract valuetype Pollable
31 | class Pollable (_0_CORBA.ValueBase):
32 | _NP_RepositoryId = "IDL:omg.org/CORBA/Pollable:1.0"
33 |
34 | def __init__(self, *args, **kwargs):
35 | raise RuntimeError("Cannot construct objects of this type.")
36 |
37 | _0_CORBA.Pollable = Pollable
38 | _0_CORBA._d_Pollable = (omniORB.tcInternal.tv_value, Pollable, Pollable._NP_RepositoryId, "Pollable", _0_CORBA.VM_ABSTRACT, None, _0_CORBA.tcInternal.tv_null, )
39 | _0_CORBA._tc_Pollable = omniORB.tcInternal.createTypeCode(_0_CORBA._d_Pollable)
40 | omniORB.registerType(Pollable._NP_RepositoryId, _0_CORBA._d_Pollable, _0_CORBA._tc_Pollable)
41 | del Pollable
42 |
43 |
44 | # abstract valuetype DIIPollable
45 | class DIIPollable (_0_CORBA.Pollable):
46 | _NP_RepositoryId = "IDL:omg.org/CORBA/DIIPollable:1.0"
47 |
48 | def __init__(self, *args, **kwargs):
49 | raise RuntimeError("Cannot construct objects of this type.")
50 |
51 | _0_CORBA.DIIPollable = DIIPollable
52 | _0_CORBA._d_DIIPollable = (omniORB.tcInternal.tv_value, DIIPollable, DIIPollable._NP_RepositoryId, "DIIPollable", _0_CORBA.VM_ABSTRACT, None, _0_CORBA.tcInternal.tv_null, )
53 | _0_CORBA._tc_DIIPollable = omniORB.tcInternal.createTypeCode(_0_CORBA._d_DIIPollable)
54 | omniORB.registerType(DIIPollable._NP_RepositoryId, _0_CORBA._d_DIIPollable, _0_CORBA._tc_DIIPollable)
55 | del DIIPollable
56 |
57 |
58 | # interface PollableSet
59 | _0_CORBA._d_PollableSet = (omniORB.tcInternal.tv_objref, "IDL:omg.org/CORBA/PollableSet:1.0", "PollableSet")
60 | omniORB.typeMapping["IDL:omg.org/CORBA/PollableSet:1.0"] = _0_CORBA._d_PollableSet
61 | _0_CORBA.PollableSet = omniORB.newEmptyClass()
62 | class PollableSet :
63 | _NP_RepositoryId = _0_CORBA._d_PollableSet[1]
64 |
65 | def __init__(self, *args, **kw):
66 | raise RuntimeError("Cannot construct objects of this type.")
67 |
68 | _nil = CORBA.Object._nil
69 |
70 |
71 | # exception NoPossiblePollable
72 | _0_CORBA.PollableSet.NoPossiblePollable = omniORB.newEmptyClass()
73 | class NoPossiblePollable (CORBA.UserException):
74 | _NP_RepositoryId = "IDL:omg.org/CORBA/PollableSet/NoPossiblePollable:1.0"
75 |
76 | _NP_ClassName = "CORBA.PollableSet.NoPossiblePollable"
77 |
78 | def __init__(self):
79 | CORBA.UserException.__init__(self)
80 |
81 | _d_NoPossiblePollable = (omniORB.tcInternal.tv_except, NoPossiblePollable, NoPossiblePollable._NP_RepositoryId, "NoPossiblePollable")
82 | _tc_NoPossiblePollable = omniORB.tcInternal.createTypeCode(_d_NoPossiblePollable)
83 | omniORB.registerType(NoPossiblePollable._NP_RepositoryId, _d_NoPossiblePollable, _tc_NoPossiblePollable)
84 |
85 | # exception UnknownPollable
86 | _0_CORBA.PollableSet.UnknownPollable = omniORB.newEmptyClass()
87 | class UnknownPollable (CORBA.UserException):
88 | _NP_RepositoryId = "IDL:omg.org/CORBA/PollableSet/UnknownPollable:1.0"
89 |
90 | _NP_ClassName = "CORBA.PollableSet.UnknownPollable"
91 |
92 | def __init__(self):
93 | CORBA.UserException.__init__(self)
94 |
95 | _d_UnknownPollable = (omniORB.tcInternal.tv_except, UnknownPollable, UnknownPollable._NP_RepositoryId, "UnknownPollable")
96 | _tc_UnknownPollable = omniORB.tcInternal.createTypeCode(_d_UnknownPollable)
97 | omniORB.registerType(UnknownPollable._NP_RepositoryId, _d_UnknownPollable, _tc_UnknownPollable)
98 |
99 |
100 | _0_CORBA.PollableSet = PollableSet
101 | _0_CORBA._tc_PollableSet = omniORB.tcInternal.createTypeCode(_0_CORBA._d_PollableSet)
102 | omniORB.registerType(PollableSet._NP_RepositoryId, _0_CORBA._d_PollableSet, _0_CORBA._tc_PollableSet)
103 |
104 | # PollableSet operations and attributes
105 | PollableSet._d_create_dii_pollable = ((), (omniORB.typeMapping["IDL:omg.org/CORBA/DIIPollable:1.0"], ), None, None, 1)
106 | PollableSet._d_add_pollable = ((omniORB.typeMapping["IDL:omg.org/CORBA/Pollable:1.0"], ), (), None, None, 1)
107 | PollableSet._d_get_ready_pollable = ((omniORB.tcInternal.tv_ulong, ), (omniORB.typeMapping["IDL:omg.org/CORBA/Pollable:1.0"], ), {_0_CORBA.PollableSet.NoPossiblePollable._NP_RepositoryId: _0_CORBA.PollableSet._d_NoPossiblePollable}, None, 1)
108 | PollableSet._d_remove = ((omniORB.typeMapping["IDL:omg.org/CORBA/Pollable:1.0"], ), (), {_0_CORBA.PollableSet.UnknownPollable._NP_RepositoryId: _0_CORBA.PollableSet._d_UnknownPollable}, None, 1)
109 | PollableSet._d_number_left = ((), (omniORB.tcInternal.tv_ushort, ), None)
110 |
111 | # PollableSet object reference
112 | class _objref_PollableSet (CORBA.Object):
113 | _NP_RepositoryId = PollableSet._NP_RepositoryId
114 |
115 | def __init__(self, obj):
116 | CORBA.Object.__init__(self, obj)
117 |
118 | def create_dii_pollable(self, *args):
119 | return self._obj.invoke("create_dii_pollable", _0_CORBA.PollableSet._d_create_dii_pollable, args)
120 |
121 | def add_pollable(self, *args):
122 | return self._obj.invoke("add_pollable", _0_CORBA.PollableSet._d_add_pollable, args)
123 |
124 | def get_ready_pollable(self, *args):
125 | return self._obj.invoke("get_ready_pollable", _0_CORBA.PollableSet._d_get_ready_pollable, args)
126 |
127 | def remove(self, *args):
128 | return self._obj.invoke("remove", _0_CORBA.PollableSet._d_remove, args)
129 |
130 | def number_left(self, *args):
131 | return self._obj.invoke("number_left", _0_CORBA.PollableSet._d_number_left, args)
132 |
133 | omniORB.registerObjref(PollableSet._NP_RepositoryId, _objref_PollableSet)
134 | _0_CORBA._objref_PollableSet = _objref_PollableSet
135 | del PollableSet, _objref_PollableSet
136 |
137 | # PollableSet skeleton
138 | __name__ = "CORBA__POA"
139 | class PollableSet (PortableServer.Servant):
140 | _NP_RepositoryId = _0_CORBA.PollableSet._NP_RepositoryId
141 |
142 |
143 | _omni_op_d = {"create_dii_pollable": _0_CORBA.PollableSet._d_create_dii_pollable, "add_pollable": _0_CORBA.PollableSet._d_add_pollable, "get_ready_pollable": _0_CORBA.PollableSet._d_get_ready_pollable, "remove": _0_CORBA.PollableSet._d_remove, "number_left": _0_CORBA.PollableSet._d_number_left}
144 |
145 | PollableSet._omni_skeleton = PollableSet
146 | _0_CORBA__POA.PollableSet = PollableSet
147 | omniORB.registerSkeleton(PollableSet._NP_RepositoryId, PollableSet)
148 | del PollableSet
149 | __name__ = "CORBA"
150 |
151 | #
152 | # End of module "CORBA"
153 | #
154 | __name__ = "pollable_idl"
155 |
156 | _exported_modules = ( "CORBA", )
157 |
158 | # The end.
159 |
--------------------------------------------------------------------------------
/ansys_corba/omniORB/ziop_idl.py:
--------------------------------------------------------------------------------
1 | # Python stubs generated by omniidl from /tmp/corba/omni/share/idl/omniORB/ziop.idl
2 | # DO NOT EDIT THIS FILE!
3 |
4 | import omniORB, _omnipy
5 | from omniORB import CORBA, PortableServer
6 | _0_CORBA = CORBA
7 |
8 |
9 | _omnipy.checkVersion(4,2, __file__, 1)
10 |
11 | try:
12 | property
13 | except NameError:
14 | def property(*args):
15 | return None
16 |
17 |
18 | # #include "corbaidl.idl"
19 | import corbaidl_idl
20 | _0_CORBA = omniORB.openModule("omniORB.CORBA")
21 | _0_CORBA__POA = omniORB.openModule("omniORB.CORBA__POA")
22 |
23 | # #include "compression.idl"
24 | import compression_idl
25 | _0_Compression = omniORB.openModule("omniORB.Compression")
26 | _0_Compression__POA = omniORB.openModule("omniORB.Compression__POA")
27 |
28 | #
29 | # Start of module "ZIOP"
30 | #
31 | __name__ = "omniORB.ZIOP"
32 | _0_ZIOP = omniORB.openModule("omniORB.ZIOP", r"/tmp/corba/omni/share/idl/omniORB/ziop.idl")
33 | _0_ZIOP__POA = omniORB.openModule("omniORB.ZIOP__POA", r"/tmp/corba/omni/share/idl/omniORB/ziop.idl")
34 |
35 |
36 | # typedef ... PolicyType
37 | class PolicyType:
38 | _NP_RepositoryId = "IDL:omg.org/ZIOP/PolicyType:1.0"
39 | def __init__(self, *args, **kw):
40 | raise RuntimeError("Cannot construct objects of this type.")
41 | _0_ZIOP.PolicyType = PolicyType
42 | _0_ZIOP._d_PolicyType = omniORB.tcInternal.tv_ulong
43 | _0_ZIOP._ad_PolicyType = (omniORB.tcInternal.tv_alias, PolicyType._NP_RepositoryId, "PolicyType", omniORB.tcInternal.tv_ulong)
44 | _0_ZIOP._tc_PolicyType = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_PolicyType)
45 | omniORB.registerType(PolicyType._NP_RepositoryId, _0_ZIOP._ad_PolicyType, _0_ZIOP._tc_PolicyType)
46 | del PolicyType
47 |
48 | # struct CompressedData
49 | _0_ZIOP.CompressedData = omniORB.newEmptyClass()
50 | class CompressedData (omniORB.StructBase):
51 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressedData:1.0"
52 |
53 | def __init__(self, compressorid, original_length, data):
54 | self.compressorid = compressorid
55 | self.original_length = original_length
56 | self.data = data
57 |
58 | _0_ZIOP.CompressedData = CompressedData
59 | _0_ZIOP._d_CompressedData = (omniORB.tcInternal.tv_struct, CompressedData, CompressedData._NP_RepositoryId, "CompressedData", "compressorid", omniORB.typeMapping["IDL:omg.org/Compression/CompressorId:1.0"], "original_length", omniORB.tcInternal.tv_ulong, "data", omniORB.typeMapping["IDL:omg.org/Compression/Buffer:1.0"])
60 | _0_ZIOP._tc_CompressedData = omniORB.tcInternal.createTypeCode(_0_ZIOP._d_CompressedData)
61 | omniORB.registerType(CompressedData._NP_RepositoryId, _0_ZIOP._d_CompressedData, _0_ZIOP._tc_CompressedData)
62 | del CompressedData
63 |
64 | # typedef ... CompressionEnablingPolicyValue
65 | class CompressionEnablingPolicyValue:
66 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionEnablingPolicyValue:1.0"
67 | def __init__(self, *args, **kw):
68 | raise RuntimeError("Cannot construct objects of this type.")
69 | _0_ZIOP.CompressionEnablingPolicyValue = CompressionEnablingPolicyValue
70 | _0_ZIOP._d_CompressionEnablingPolicyValue = omniORB.tcInternal.tv_boolean
71 | _0_ZIOP._ad_CompressionEnablingPolicyValue = (omniORB.tcInternal.tv_alias, CompressionEnablingPolicyValue._NP_RepositoryId, "CompressionEnablingPolicyValue", omniORB.tcInternal.tv_boolean)
72 | _0_ZIOP._tc_CompressionEnablingPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionEnablingPolicyValue)
73 | omniORB.registerType(CompressionEnablingPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionEnablingPolicyValue, _0_ZIOP._tc_CompressionEnablingPolicyValue)
74 | del CompressionEnablingPolicyValue
75 |
76 | # typedef ... CompressionIdLevelListPolicyValue
77 | class CompressionIdLevelListPolicyValue:
78 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionIdLevelListPolicyValue:1.0"
79 | def __init__(self, *args, **kw):
80 | raise RuntimeError("Cannot construct objects of this type.")
81 | _0_ZIOP.CompressionIdLevelListPolicyValue = CompressionIdLevelListPolicyValue
82 | _0_ZIOP._d_CompressionIdLevelListPolicyValue = omniORB.typeMapping["IDL:omg.org/Compression/CompressorIdLevelList:1.0"]
83 | _0_ZIOP._ad_CompressionIdLevelListPolicyValue = (omniORB.tcInternal.tv_alias, CompressionIdLevelListPolicyValue._NP_RepositoryId, "CompressionIdLevelListPolicyValue", omniORB.typeCodeMapping["IDL:omg.org/Compression/CompressorIdLevelList:1.0"]._d)
84 | _0_ZIOP._tc_CompressionIdLevelListPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionIdLevelListPolicyValue)
85 | omniORB.registerType(CompressionIdLevelListPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionIdLevelListPolicyValue, _0_ZIOP._tc_CompressionIdLevelListPolicyValue)
86 | del CompressionIdLevelListPolicyValue
87 |
88 | # typedef ... CompressionLowValuePolicyValue
89 | class CompressionLowValuePolicyValue:
90 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionLowValuePolicyValue:1.0"
91 | def __init__(self, *args, **kw):
92 | raise RuntimeError("Cannot construct objects of this type.")
93 | _0_ZIOP.CompressionLowValuePolicyValue = CompressionLowValuePolicyValue
94 | _0_ZIOP._d_CompressionLowValuePolicyValue = omniORB.tcInternal.tv_ulong
95 | _0_ZIOP._ad_CompressionLowValuePolicyValue = (omniORB.tcInternal.tv_alias, CompressionLowValuePolicyValue._NP_RepositoryId, "CompressionLowValuePolicyValue", omniORB.tcInternal.tv_ulong)
96 | _0_ZIOP._tc_CompressionLowValuePolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionLowValuePolicyValue)
97 | omniORB.registerType(CompressionLowValuePolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionLowValuePolicyValue, _0_ZIOP._tc_CompressionLowValuePolicyValue)
98 | del CompressionLowValuePolicyValue
99 |
100 | # typedef ... CompressionMinRatioPolicyValue
101 | class CompressionMinRatioPolicyValue:
102 | _NP_RepositoryId = "IDL:omg.org/ZIOP/CompressionMinRatioPolicyValue:1.0"
103 | def __init__(self, *args, **kw):
104 | raise RuntimeError("Cannot construct objects of this type.")
105 | _0_ZIOP.CompressionMinRatioPolicyValue = CompressionMinRatioPolicyValue
106 | _0_ZIOP._d_CompressionMinRatioPolicyValue = omniORB.typeMapping["IDL:omg.org/Compression/CompressionRatio:1.0"]
107 | _0_ZIOP._ad_CompressionMinRatioPolicyValue = (omniORB.tcInternal.tv_alias, CompressionMinRatioPolicyValue._NP_RepositoryId, "CompressionMinRatioPolicyValue", omniORB.typeCodeMapping["IDL:omg.org/Compression/CompressionRatio:1.0"]._d)
108 | _0_ZIOP._tc_CompressionMinRatioPolicyValue = omniORB.tcInternal.createTypeCode(_0_ZIOP._ad_CompressionMinRatioPolicyValue)
109 | omniORB.registerType(CompressionMinRatioPolicyValue._NP_RepositoryId, _0_ZIOP._ad_CompressionMinRatioPolicyValue, _0_ZIOP._tc_CompressionMinRatioPolicyValue)
110 | del CompressionMinRatioPolicyValue
111 | _0_ZIOP.COMPRESSION_ENABLING_POLICY_ID = 64
112 | _0_ZIOP.COMPRESSOR_ID_LEVEL_LIST_POLICY_ID = 65
113 | _0_ZIOP.COMPRESSION_LOW_VALUE_POLICY_ID = 66
114 | _0_ZIOP.COMPRESSION_MIN_RATIO_POLICY_ID = 67
115 |
116 | #
117 | # End of module "ZIOP"
118 | #
119 | __name__ = "ziop_idl"
120 |
121 | _exported_modules = ( "omniORB.ZIOP", )
122 |
123 | # The end.
124 |
--------------------------------------------------------------------------------
/ansys_corba/omniidl_be/__init__.py:
--------------------------------------------------------------------------------
1 | #
2 | # Empty file to convince Python that this is a module.
3 | #
4 |
--------------------------------------------------------------------------------
/docker.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # run within a docker quay.io/pypa/manylinux1_x86_64 instance
4 |
5 | # get omniORB
6 | OMNI_VERSION=4.2.4
7 | OMNI_PATH=/tmp/omni
8 | tar -xjvf $OMNI_PATH/omniORBpy-$OMNI_VERSION.tar.bz2 -C /tmp/
9 | tar -xjvf $OMNI_PATH/omniORB-$OMNI_VERSION.tar.bz2 -C /tmp/
10 |
11 | # main build path
12 | tmp_path=/tmp/corba
13 | mkdir $tmp_path
14 |
15 | # build omniorb
16 | cd /tmp/omniORB-$OMNI_VERSION/
17 | mkdir build
18 | cd build
19 | PYBIN=/opt/python/cp37-cp37m/bin/python
20 |
21 | omni_path=$tmp_path/omni
22 | ../configure --prefix=$omni_path PYTHON=$PYBIN
23 | make
24 | make install
25 |
26 | # build omniorbpy
27 | omnipy_path=$tmp_path/omnipy
28 |
29 | # /opt/python/cp27-cp27m/bin
30 | # /opt/python/cp27-cp27mu/bin
31 | # /opt/python/cp34-cp34m/bin
32 | # /opt/python/cp35-cp35m/bin
33 | # /opt/python/cp36-cp36m/bin
34 | # /opt/python/cp37-cp37m/bin
35 | # /opt/python/cp38-cp38m/bin
36 |
37 | mkdir -p $OMNI_PATH/wheels
38 |
39 | BUILT_OMNI_PY=/tmp/omniorbpy_bin
40 | mkdir -p $BUILT_OMNI_PY
41 | cp $OMNI_PATH/base.tar $BUILT_OMNI_PY
42 |
43 | LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$omni_path/lib
44 |
45 | for PYBINDIR in /opt/python/*/bin; do
46 | # echo $PYBINDIR
47 |
48 | # skip 2.7
49 | if [[ $PYBINDIR == .*27.* ]]
50 | then
51 | continue
52 | fi
53 |
54 | pyver="$(cut -d'/' -f4 <<<$PYBINDIR)"
55 |
56 | # clean out the build directory or omniorb will not be rebuilt
57 | cd /tmp/omniORBpy-$OMNI_VERSION/
58 | mkdir -p build && cd build
59 | ../configure --prefix=$omnipy_path --with-omniorb=$omni_path PYTHON=$PYBINDIR/python
60 | make && make install
61 | cd ..
62 | rm -rf build
63 |
64 | bindir=$BUILT_OMNI_PY/$pyver/
65 | mkdir -p $bindir
66 | rm -rf $omnipy_path/lib/*/site-packages/__pycache__
67 | mv $omnipy_path/lib/*/site-packages/_* $bindir
68 | rm -rf $omnipy_path
69 |
70 | cd $BUILT_OMNI_PY
71 | tar xf base.tar
72 | cd base
73 | cp ../$pyver/*_omnipy* ansys_corba/
74 | # cp $omni_path/lib/libomnithread.so.4 ansys_corba/
75 | # cp $omni_path/lib/libomniORB4.so.2 ansys_corba/
76 | $PYBINDIR/python setup.py bdist_wheel -q
77 | auditwheel repair dist/ansys_corba*
78 | WHL_NAME=ansys_corba-0.1.1-$pyver-manylinux2010_x86_64.whl
79 | mv wheelhouse/*manylinux2010*.whl $OMNI_PATH/wheels/$WHL_NAME
80 | cd ..
81 | rm -rf base
82 |
83 | done
84 |
--------------------------------------------------------------------------------
/docker_buildlinux.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | # download
4 | OMNI_VERSION=4.2.4
5 | OMNI_PATH=/tmp/omni
6 | mkdir -p $OMNI_PATH
7 | sourceforge=http://downloads.sourceforge.net/project/omniorb/omniORB/omniORB-$OMNI_VERSION/omniORB-$OMNI_VERSION.tar.bz2
8 | wget $sourceforge -P $OMNI_PATH --no-check-certificate
9 |
10 | # get omniORBpy
11 | sourceforge_py=http://downloads.sourceforge.net/project/omniorb/omniORBpy/omniORBpy-$OMNI_VERSION/omniORBpy-$OMNI_VERSION.tar.bz2
12 | wget $sourceforge_py -P $OMNI_PATH --no-check-certificate
13 |
14 |
15 | # start docker
16 | docker run -v $OMNI_PATH:/tmp/omni -d -i quay.io/pypa/manylinux2010_x86_64 /bin/bash
17 | CONTAINERID=$(docker ps -q -n 1)
18 |
19 | # docker run -it -v $OMNI_PATH:/tmp/omni -i quay.io/pypa/manylinux2010_x86_64 /bin/bash
20 |
21 | # copy over base python source
22 | cd ..
23 | tar -cf base.tar base/
24 | cp base.tar $OMNI_PATH
25 | cd base
26 |
27 | # build wheels
28 | docker cp docker.sh $CONTAINERID:/tmp/
29 | docker exec -it $CONTAINERID chmod +x /tmp/docker.sh
30 | docker exec -it $CONTAINERID /tmp/docker.sh
31 |
32 | # wheels are now at:
33 | ls $OMNI_PATH/wheels
34 |
--------------------------------------------------------------------------------
/setup.py:
--------------------------------------------------------------------------------
1 | """
2 | Installation file for omniORBpy
3 | """
4 | import os
5 | import sys
6 | from io import open as io_open
7 | import pip
8 |
9 | from setuptools import setup, Extension
10 |
11 | setup(
12 | name='ansys_corba',
13 | packages=['ansys_corba'],
14 | version='0.1.1',
15 | description='ANSYS MAPDL interface using partial files from omniORB and omniORBpy',
16 | long_description=open('README.rst').read(),
17 |
18 | # Author details
19 | author='Alex Kaszynski',
20 | author_email='akascap@gmail.com',
21 |
22 | license='MIT',
23 | classifiers=[
24 | 'Programming Language :: Python :: 3.5',
25 | 'Programming Language :: Python :: 3.6',
26 | 'Programming Language :: Python :: 3.7',
27 | 'Programming Language :: Python :: 3.8',
28 | ],
29 |
30 | url='https://github.com/akaszynski/ansys_corba',
31 | keywords='ANSYS APDL MAPDL CORBA omniorb omniORBpy',
32 | include_package_data=True
33 |
34 | )
35 |
--------------------------------------------------------------------------------