NVIDIA DeepStream SDK API Reference

9.2 Release
service-maker/sources/core/src/gst/utils/custom_factory.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 #ifndef _GST_CUSTOME_FACTORY_H_
19 #define _GST_CUSTOME_FACTORY_H_
20 
21 #include <gst/gst.h>
22 #include "factory_metadata.h"
23 
24 G_BEGIN_DECLS
25 
26 #define GST_TYPE_CUSTOM_FACTORY (gst_custom_factory_get_type(NULL))
27 #define GST_CUSTOM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GST_TYPE_CUSTOM_FACTORY, GstCustomFactory))
28 #define GST_CUSTOM_FACTORY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GST_TYPE_CUSTOM_FACTORY, GstCustomFactoryClass))
29 #define GST_IS_CUSTOM_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_TYPE_CUSTOM_FACTORY))
30 #define GST_IS_CUSTOM_FACTORY_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass), GST_TYPE_CUSTOM_FACTORY))
31 
34 
36 {
38 
40  const gchar *param_spec;
41 };
42 
44 {
45  GstObjectClass base_custom_factory_class;
46 };
47 
48 G_END_DECLS
49 
50 #endif
_GstCustomFactory
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:35
_GstCustomFactory::base_custom_factory
GstObject base_custom_factory
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:37
_GstCustomFactory::param_spec
const gchar * param_spec
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:40
_FactoryMetadata
Information required by a custom factory.
Definition: service-maker/includes/factory_metadata.h:31
GstObject
struct _GstObject GstObject
Definition: service-maker/includes/object.hpp:39
_GstCustomFactoryClass::base_custom_factory_class
GstObjectClass base_custom_factory_class
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:45
_GstCustomFactoryClass
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:43
_GstCustomFactory::factory_info
FactoryMetadata factory_info
Definition: service-maker/sources/core/src/gst/utils/custom_factory.h:39