NVIDIA DeepStream SDK API Reference

9.2 Release
service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2026 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  */
17 
18 #pragma once
19 
20 namespace pydeepstreamdoc
21 {
22  namespace signalemitter
23  {
24  namespace EmitterDoc
25  {
26  constexpr const char* descr = R"pydeepstream(
27  Signal emitter object.
28  Can only be attached to elements that support certain actions.
29  Can be attached to multiple elements on multiple actions.)pydeepstream";
30  constexpr const char* attach = R"pydeepstream(
31  Attach the signal emitter to an object on specified action.
32 
33  :arg action: name of the action
34  :arg object: object :class:`Node` to attach the emitter to.)pydeepstream";
35  }
36 
37  namespace SourceManagerDoc
38  {
39  constexpr const char* descr = R"pydeepstream(:class:`SignalEmitter` type that can be used to add sources to dynamicsrcbin on fly.)pydeepstream";
40  constexpr const char* add_source = R"pydeepstream(Add a source to the manager.
41 
42  :arg source_name: name of the source to be added
43  :return: a unique ID for the source, -1 if failed)pydeepstream";
44  constexpr const char* remove_source = R"pydeepstream(Remove a source from the manager.
45 
46  :arg source_id: ID of the source to be removed)pydeepstream";
47  constexpr const char* terminate = R"pydeepstream(Terminate the manager.
48 
49  This will send an END_OF_STREAM signal from the manager and stop the manager.)pydeepstream";
50  }
51  }
52 }
pydeepstreamdoc
Definition: service-maker/sources/python/src/bindings/docstrings/bufferdoc.h:20
pydeepstreamdoc::signalemitter::EmitterDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:26
pydeepstreamdoc::signalemitter::SourceManagerDoc::remove_source
constexpr const char * remove_source
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:44
pydeepstreamdoc::signalemitter::SourceManagerDoc::terminate
constexpr const char * terminate
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:47
pydeepstreamdoc::signalemitter::EmitterDoc::attach
constexpr const char * attach
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:30
pydeepstreamdoc::signalemitter::SourceManagerDoc::descr
constexpr const char * descr
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:39
pydeepstreamdoc::signalemitter::SourceManagerDoc::add_source
constexpr const char * add_source
Definition: service-maker/sources/python/src/bindings/docstrings/signalemitterdoc.h:40