holoscan 2.9.0__cp310-cp310-manylinux_2_35_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- holoscan-2.9.0.data/purelib/holoscan/__init__.py +133 -0
- holoscan-2.9.0.data/purelib/holoscan/cli/__main__.py +26 -0
- holoscan-2.9.0.data/purelib/holoscan/conditions/__init__.py +69 -0
- holoscan-2.9.0.data/purelib/holoscan/conditions/_conditions.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/core/__init__.py +574 -0
- holoscan-2.9.0.data/purelib/holoscan/core/_core.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/decorator.py +594 -0
- holoscan-2.9.0.data/purelib/holoscan/executors/__init__.py +26 -0
- holoscan-2.9.0.data/purelib/holoscan/executors/_executors.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/graphs/__init__.py +32 -0
- holoscan-2.9.0.data/purelib/holoscan/graphs/_graphs.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/gxf/__init__.py +60 -0
- holoscan-2.9.0.data/purelib/holoscan/gxf/_gxf.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_holoscan_wrapper.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_holoscan_wrapper_lib.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_ucx_holoscan.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/gxf_extensions/libgxf_ucx_holoscan_lib.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_app.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_core.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_cuda.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_logger.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_multimedia.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_rmm.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_sample.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_serialization.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_std.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libgxf_ucx.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_core.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_infer.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_infer_onnx_runtime.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_infer_torch.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_infer_utils.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_logger.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_aja.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_async_ping_rx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_async_ping_tx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_bayer_demosaic.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_format_converter.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_gxf_codelet.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_holoviz.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_inference.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_inference_processor.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_ping_rx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_ping_tensor_rx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_ping_tensor_tx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_ping_tx.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_segmentation_postprocessor.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_v4l2.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_video_stream_recorder.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_op_video_stream_replayer.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_profiler.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_spdlog_logger.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libholoscan_viz.so.2.9.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libucm.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libucp.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libucs.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libucs_signal.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libuct.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/libyaml-cpp.so.0.7.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libucm_cuda.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libucs_fuse.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_cma.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_cuda.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_cuda_gdrcopy.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_ib.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_rdmacm.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libuct_xpmem.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/lib/ucx/libucx_perftest_cuda.so.0.0.0 +0 -0
- holoscan-2.9.0.data/purelib/holoscan/logger/__init__.py +37 -0
- holoscan-2.9.0.data/purelib/holoscan/logger/_logger.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/network_contexts/__init__.py +28 -0
- holoscan-2.9.0.data/purelib/holoscan/network_contexts/_network_contexts.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/__init__.py +97 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/aja_source/__init__.py +22 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/aja_source/_aja_source.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/bayer_demosaic/__init__.py +24 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/bayer_demosaic/_bayer_demosaic.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/format_converter/__init__.py +23 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/format_converter/_format_converter.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/gxf_codelet/__init__.py +67 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/gxf_codelet/_gxf_codelet.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/holoviz/__init__.py +420 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/holoviz/_holoviz.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/inference/__init__.py +23 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/inference/_inference.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/inference_processor/__init__.py +23 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/inference_processor/_inference_processor.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_rx/__init__.py +45 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_tensor_rx/__init__.py +22 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_tensor_rx/_ping_tensor_rx.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_tensor_tx/__init__.py +22 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_tensor_tx/_ping_tensor_tx.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/ping_tx/__init__.py +46 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/segmentation_postprocessor/__init__.py +23 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/segmentation_postprocessor/_segmentation_postprocessor.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/v4l2_video_capture/__init__.py +23 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/v4l2_video_capture/_v4l2_video_capture.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/video_stream_recorder/__init__.py +22 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/video_stream_recorder/_video_stream_recorder.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/video_stream_replayer/__init__.py +22 -0
- holoscan-2.9.0.data/purelib/holoscan/operators/video_stream_replayer/_video_stream_replayer.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/resources/__init__.py +150 -0
- holoscan-2.9.0.data/purelib/holoscan/resources/_resources.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan/schedulers/__init__.py +32 -0
- holoscan-2.9.0.data/purelib/holoscan/schedulers/_schedulers.cpython-310-x86_64-linux-gnu.so +0 -0
- holoscan-2.9.0.data/purelib/holoscan-2.9.0.pth +1 -0
- holoscan-2.9.0.dist-info/LICENSE.txt +202 -0
- holoscan-2.9.0.dist-info/METADATA +142 -0
- holoscan-2.9.0.dist-info/NOTICE.txt +174 -0
- holoscan-2.9.0.dist-info/NVIDIA-AI-PRODUCT-EULA.txt +243 -0
- holoscan-2.9.0.dist-info/README.md +35 -0
- holoscan-2.9.0.dist-info/RECORD +117 -0
- holoscan-2.9.0.dist-info/WHEEL +5 -0
- holoscan-2.9.0.dist-info/axle.lck +0 -0
- holoscan-2.9.0.dist-info/entry_points.txt +3 -0
- holoscan-2.9.0.dist-info/symlinks.txt +82 -0
- holoscan-2.9.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"""
|
|
2
|
+
SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
""" # noqa: E501
|
|
17
|
+
|
|
18
|
+
import importlib.metadata
|
|
19
|
+
|
|
20
|
+
# We import core and gxf to make sure they're available before other modules that rely on them
|
|
21
|
+
from . import core, gxf
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
def _set_version():
|
|
25
|
+
try:
|
|
26
|
+
return importlib.metadata.version("holoscan")
|
|
27
|
+
except ImportError:
|
|
28
|
+
return "2.9.0" or "unknown version"
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
__all__ = ["__version__", "as_tensor", "core", "gxf"]
|
|
32
|
+
__version__ = _set_version()
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def as_tensor(obj):
|
|
36
|
+
if hasattr(obj, "__cuda_array_interface__") or hasattr(obj, "__array_interface__"):
|
|
37
|
+
# Workaround for bug in CuPy<13.0.0a1 where strides of ndarray with all but 1 dimension a
|
|
38
|
+
# singleton, could become order='F' strides instead of the expected order='C' strides.
|
|
39
|
+
# See:
|
|
40
|
+
# https://github.com/cupy/cupy/pull/7438
|
|
41
|
+
# https://github.com/cupy/cupy/pull/7457
|
|
42
|
+
# https://forums.developer.nvidia.com/t/known-issue-in-cupy-affecting-tensor-interop/244423
|
|
43
|
+
#
|
|
44
|
+
# Here we force any array that is both C and F contiguous to have C-ordered strides
|
|
45
|
+
# We do this for both NumPy and CuPy arrays for consistency.
|
|
46
|
+
|
|
47
|
+
# nd-array, but with only 1 non-singleton dimension
|
|
48
|
+
nd_singleton = (obj.ndim > 1) and (sum(tuple(s > 1 for s in obj.shape)) == 1)
|
|
49
|
+
if nd_singleton and obj.flags.forc:
|
|
50
|
+
# determine expected strides for a C-contiguous array
|
|
51
|
+
expected_strides = [
|
|
52
|
+
1,
|
|
53
|
+
] * obj.ndim
|
|
54
|
+
expected_strides[obj.ndim - 1] = obj.itemsize
|
|
55
|
+
for i in range(obj.ndim - 2, -1, -1):
|
|
56
|
+
expected_strides[i] = expected_strides[i + 1] * obj.shape[i + 1]
|
|
57
|
+
expected_strides = tuple(expected_strides)
|
|
58
|
+
|
|
59
|
+
# make a copy to force stride update if they do not match
|
|
60
|
+
if obj.strides != expected_strides:
|
|
61
|
+
if hasattr(obj, "__cuda_array_interface__"):
|
|
62
|
+
try:
|
|
63
|
+
import cupy as cp
|
|
64
|
+
|
|
65
|
+
if isinstance(obj, cp.ndarray):
|
|
66
|
+
# use as_strided to avoid a copy
|
|
67
|
+
obj = cp.lib.stride_tricks.as_strided(
|
|
68
|
+
obj, shape=obj.shape, strides=expected_strides
|
|
69
|
+
)
|
|
70
|
+
return core.Tensor.as_tensor(obj)
|
|
71
|
+
except ImportError:
|
|
72
|
+
pass
|
|
73
|
+
elif hasattr(obj, "__array_interface__"):
|
|
74
|
+
try:
|
|
75
|
+
import numpy as np
|
|
76
|
+
|
|
77
|
+
if isinstance(obj, np.ndarray):
|
|
78
|
+
# use as_strided to avoid a copy
|
|
79
|
+
obj = np.lib.stride_tricks.as_strided(
|
|
80
|
+
obj, shape=obj.shape, strides=expected_strides
|
|
81
|
+
)
|
|
82
|
+
return core.Tensor.as_tensor(obj)
|
|
83
|
+
except ImportError:
|
|
84
|
+
pass
|
|
85
|
+
# update strides by making an explicit copy
|
|
86
|
+
try:
|
|
87
|
+
obj = obj.copy(order="C")
|
|
88
|
+
except (AttributeError, TypeError):
|
|
89
|
+
import warnings
|
|
90
|
+
|
|
91
|
+
warnings.warn(
|
|
92
|
+
"Unexpected strides encountered during call to `as_tensor` and no copy "
|
|
93
|
+
"method was available. Leaving the strides unchanged.",
|
|
94
|
+
stacklevel=2,
|
|
95
|
+
)
|
|
96
|
+
|
|
97
|
+
return core.Tensor.as_tensor(obj)
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
as_tensor.__doc__ = core.Tensor.as_tensor.__doc__
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
# Other modules are exposed to the public API but will only be lazily loaded
|
|
104
|
+
_EXTRA_MODULES = [
|
|
105
|
+
"conditions",
|
|
106
|
+
"decorator",
|
|
107
|
+
"executors",
|
|
108
|
+
"graphs",
|
|
109
|
+
"logger",
|
|
110
|
+
"operators",
|
|
111
|
+
"resources",
|
|
112
|
+
"schedulers",
|
|
113
|
+
]
|
|
114
|
+
__all__.extend(_EXTRA_MODULES)
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
# Autocomplete
|
|
118
|
+
def __dir__():
|
|
119
|
+
return __all__
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
# Lazily load extra modules
|
|
123
|
+
def __getattr__(name):
|
|
124
|
+
import importlib
|
|
125
|
+
import sys
|
|
126
|
+
|
|
127
|
+
if name in _EXTRA_MODULES:
|
|
128
|
+
module_name = f"{__name__}.{name}"
|
|
129
|
+
module = importlib.import_module(module_name) # import
|
|
130
|
+
sys.modules[module_name] = module # cache
|
|
131
|
+
return module
|
|
132
|
+
else:
|
|
133
|
+
raise AttributeError(f"module {__name__} has no attribute {name}")
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def main():
|
|
18
|
+
print("As of version 2.9.0, Holoscan CLI is no longer bundled with the Holoscan SDK.")
|
|
19
|
+
print("To enhance your experience and ensure you have access to the latest tools,")
|
|
20
|
+
print("please use the command below to install Holoscan CLI:")
|
|
21
|
+
print("\n$ pip install holoscan-cli \n")
|
|
22
|
+
print("Visit https://github.com/nvidia-holoscan/holoscan-cli for more information.\n")
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
if __name__ == "__main__":
|
|
26
|
+
main()
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: Copyright (c) 2022-2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
|
2
|
+
# SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
"""This module provides a Python API to underlying C++ API Conditions.
|
|
16
|
+
|
|
17
|
+
.. autosummary::
|
|
18
|
+
|
|
19
|
+
holoscan.conditions.AsynchronousCondition
|
|
20
|
+
holoscan.conditions.BooleanCondition
|
|
21
|
+
holoscan.conditions.CountCondition
|
|
22
|
+
holoscan.conditions.CudaBufferAvailableCondition
|
|
23
|
+
holoscan.conditions.CudaEventCondition
|
|
24
|
+
holoscan.conditions.CudaStreamCondition
|
|
25
|
+
holoscan.conditions.DownstreamMessageAffordableCondition
|
|
26
|
+
holoscan.conditions.ExpiringMessageAvailableCondition
|
|
27
|
+
holoscan.conditions.MessageAvailableCondition
|
|
28
|
+
holoscan.conditions.MultiMessageAvailableCondition
|
|
29
|
+
holoscan.conditions.MultiMessageAvailableTimeoutCondition
|
|
30
|
+
holoscan.conditions.PeriodicCondition
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
from ._conditions import (
|
|
34
|
+
AsynchronousCondition,
|
|
35
|
+
AsynchronousEventState,
|
|
36
|
+
BooleanCondition,
|
|
37
|
+
CountCondition,
|
|
38
|
+
CudaBufferAvailableCondition,
|
|
39
|
+
CudaEventCondition,
|
|
40
|
+
CudaStreamCondition,
|
|
41
|
+
DownstreamMessageAffordableCondition,
|
|
42
|
+
ExpiringMessageAvailableCondition,
|
|
43
|
+
MessageAvailableCondition,
|
|
44
|
+
MultiMessageAvailableCondition,
|
|
45
|
+
MultiMessageAvailableTimeoutCondition,
|
|
46
|
+
PeriodicCondition,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
__all__ = [
|
|
50
|
+
"AsynchronousCondition",
|
|
51
|
+
"AsynchronousEventState",
|
|
52
|
+
"BooleanCondition",
|
|
53
|
+
"CountCondition",
|
|
54
|
+
"CudaBufferAvailableCondition",
|
|
55
|
+
"CudaEventCondition",
|
|
56
|
+
"CudaStreamCondition",
|
|
57
|
+
"DownstreamMessageAffordableCondition",
|
|
58
|
+
"ExpiringMessageAvailableCondition",
|
|
59
|
+
"MessageAvailableCondition",
|
|
60
|
+
"MultiMessageAvailableCondition",
|
|
61
|
+
"MultiMessageAvailableTimeoutCondition",
|
|
62
|
+
"PeriodicCondition",
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
# expose the SamplingMode enum from MultiMessageAvailableCondition
|
|
67
|
+
# (done this way instead of redefinining it in the bindings to avoids error:
|
|
68
|
+
# ImportError: generic_type: type "SamplingMode" is already registered!)
|
|
69
|
+
MultiMessageAvailableTimeoutCondition.SamplingMode = MultiMessageAvailableCondition.SamplingMode
|