Mercurial > hg > orthanc-python
annotate Sources/Autogenerated/sdk.cpp @ 184:f34f3a149c22 java-code-model
added class PythonThreadsAllower
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Jul 2024 15:49:05 +0200 |
parents | 6fada29b6759 |
children | 55473de7694f |
rev | line source |
---|---|
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
1 /** |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
2 * Python plugin for Orthanc |
166
6fada29b6759
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
155
diff
changeset
|
3 * Copyright (C) 2020-2023 Osimis S.A., Belgium |
6fada29b6759
updated copyright, as Orthanc Team now replaces Osimis
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
155
diff
changeset
|
4 * Copyright (C) 2024-2024 Orthanc Team SRL, Belgium |
155
71d305c29cfa
updated year to 2024
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
131
diff
changeset
|
5 * Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
6 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
7 * This program is free software: you can redistribute it and/or |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
8 * modify it under the terms of the GNU Affero General Public License |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
9 * as published by the Free Software Foundation, either version 3 of |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
10 * the License, or (at your option) any later version. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
11 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
12 * This program is distributed in the hope that it will be useful, but |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
15 * Affero General Public License for more details. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
16 * |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
17 * You should have received a copy of the GNU Affero General Public License |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
19 **/ |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
20 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
21 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
22 #include "sdk.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
23 |
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1
diff
changeset
|
24 #include "../PythonLock.h" |
184
f34f3a149c22
added class PythonThreadsAllower
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
166
diff
changeset
|
25 #include "../PythonThreadsAllower.h" |
28
b2bbb516056e
The "Calling Python..." info logs are disabled if "PythonVerbose" is "false"
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1
diff
changeset
|
26 |
36
fd58eb5749ed
CMake simplification using DownloadOrthancFramework.cmake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
28
diff
changeset
|
27 #include "../../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
28 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
29 #include "./sdk_OrthancPluginChangeType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
30 #include "./sdk_OrthancPluginCompressionType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
31 #include "./sdk_OrthancPluginConstraintType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
32 #include "./sdk_OrthancPluginContentType.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
33 #include "./sdk_OrthancPluginCreateDicomFlags.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
34 #include "./sdk_OrthancPluginDicomToJsonFlags.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
35 #include "./sdk_OrthancPluginDicomToJsonFormat.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
36 #include "./sdk_OrthancPluginDicomWebBinaryMode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
37 #include "./sdk_OrthancPluginErrorCode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
38 #include "./sdk_OrthancPluginHttpMethod.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
39 #include "./sdk_OrthancPluginIdentifierConstraint.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
40 #include "./sdk_OrthancPluginImageFormat.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
41 #include "./sdk_OrthancPluginInstanceOrigin.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
42 #include "./sdk_OrthancPluginJobStepStatus.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
43 #include "./sdk_OrthancPluginJobStopReason.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
44 #include "./sdk_OrthancPluginMetricsType.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
45 #include "./sdk_OrthancPluginPixelFormat.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
46 #include "./sdk_OrthancPluginReceivedInstanceAction.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
47 #include "./sdk_OrthancPluginResourceType.impl.h" |
41
393d2da0722a
upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
36
diff
changeset
|
48 #include "./sdk_OrthancPluginStorageCommitmentFailureReason.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
49 #include "./sdk_OrthancPluginValueRepresentation.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
50 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
51 #include "./sdk_OrthancPluginDicomInstance.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
52 #include "./sdk_OrthancPluginDicomWebNode.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
53 #include "./sdk_OrthancPluginFindAnswers.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
54 #include "./sdk_OrthancPluginFindMatcher.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
55 #include "./sdk_OrthancPluginFindQuery.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
56 #include "./sdk_OrthancPluginImage.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
57 #include "./sdk_OrthancPluginJob.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
58 #include "./sdk_OrthancPluginPeers.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
59 #include "./sdk_OrthancPluginRestOutput.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
60 #include "./sdk_OrthancPluginServerChunkedRequestReader.impl.h" |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
61 #include "./sdk_OrthancPluginStorageArea.impl.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
62 #include "./sdk_OrthancPluginWorklistAnswers.impl.h" |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
63 #include "./sdk_OrthancPluginWorklistQuery.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
64 |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
65 #include "./sdk_GlobalFunctions.impl.h" |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
66 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
67 #include "./sdk_OrthancPluginDicomInstance.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
68 #include "./sdk_OrthancPluginDicomWebNode.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
69 #include "./sdk_OrthancPluginFindAnswers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
70 #include "./sdk_OrthancPluginFindMatcher.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
71 #include "./sdk_OrthancPluginFindQuery.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
72 #include "./sdk_OrthancPluginImage.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
73 #include "./sdk_OrthancPluginJob.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
74 #include "./sdk_OrthancPluginPeers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
75 #include "./sdk_OrthancPluginRestOutput.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
76 #include "./sdk_OrthancPluginServerChunkedRequestReader.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
77 #include "./sdk_OrthancPluginStorageArea.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
78 #include "./sdk_OrthancPluginWorklistAnswers.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
79 #include "./sdk_OrthancPluginWorklistQuery.methods.h" |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
80 |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
81 void RegisterOrthancSdk(PyObject* module) |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
82 { |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
83 RegisterOrthancPluginChangeTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
84 RegisterOrthancPluginCompressionTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
85 RegisterOrthancPluginConstraintTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
86 RegisterOrthancPluginContentTypeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
87 RegisterOrthancPluginCreateDicomFlagsEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
88 RegisterOrthancPluginDicomToJsonFlagsEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
89 RegisterOrthancPluginDicomToJsonFormatEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
90 RegisterOrthancPluginDicomWebBinaryModeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
91 RegisterOrthancPluginErrorCodeEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
92 RegisterOrthancPluginHttpMethodEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
93 RegisterOrthancPluginIdentifierConstraintEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
94 RegisterOrthancPluginImageFormatEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
95 RegisterOrthancPluginInstanceOriginEnumeration(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
96 RegisterOrthancPluginJobStepStatusEnumeration(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
97 RegisterOrthancPluginJobStopReasonEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
98 RegisterOrthancPluginMetricsTypeEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
99 RegisterOrthancPluginPixelFormatEnumeration(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
100 RegisterOrthancPluginReceivedInstanceActionEnumeration(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
101 RegisterOrthancPluginResourceTypeEnumeration(module); |
41
393d2da0722a
upgrade to Orthanc SDK 1.7.2
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
36
diff
changeset
|
102 RegisterOrthancPluginStorageCommitmentFailureReasonEnumeration(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
103 RegisterOrthancPluginValueRepresentationEnumeration(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
104 |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
105 RegisterOrthancPluginDicomInstanceClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
106 RegisterOrthancPluginDicomWebNodeClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
107 RegisterOrthancPluginFindAnswersClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
108 RegisterOrthancPluginFindMatcherClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
109 RegisterOrthancPluginFindQueryClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
110 RegisterOrthancPluginImageClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
111 RegisterOrthancPluginJobClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
112 RegisterOrthancPluginPeersClass(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
113 RegisterOrthancPluginRestOutputClass(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
114 RegisterOrthancPluginServerChunkedRequestReaderClass(module); |
129
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
115 RegisterOrthancPluginStorageAreaClass(module); |
5643e97d9367
reproducible code generation
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
107
diff
changeset
|
116 RegisterOrthancPluginWorklistAnswersClass(module); |
1
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
117 RegisterOrthancPluginWorklistQueryClass(module); |
fef9a239df5c
adding auto-generated files
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff
changeset
|
118 } |