NVIDIA DeepStream SDK API Reference

9.1 Release
service-maker/includes/factory_metadata.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2024-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 
23 #ifndef _DEEPSTREAM_FACTORY_METADATA_H_
24 #define _DEEPSTREAM_FACTORY_METADATA_H_
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
31 typedef struct _FactoryMetadata {
33  const char* name;
35  const char* long_name;
37  const char* klass;
39  const char* description;
41  const char* author;
43  unsigned long object_type;
45  const char* signals;
47 
48 
49 unsigned long gst_custom_factory_get_type (const char* name);
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif
_FactoryMetadata::author
const char * author
Author.
Definition: service-maker/includes/factory_metadata.h:41
_FactoryMetadata::name
const char * name
A brief name.
Definition: service-maker/includes/factory_metadata.h:33
get_custom_factory_product_param_spec
const char * get_custom_factory_product_param_spec(void)
_FactoryMetadata::long_name
const char * long_name
Long name.
Definition: service-maker/includes/factory_metadata.h:35
_FactoryMetadata::description
const char * description
Detailed introduction.
Definition: service-maker/includes/factory_metadata.h:39
gst_custom_factory_get_type
unsigned long gst_custom_factory_get_type(const char *name)
_FactoryMetadata::signals
const char * signals
Supported signal names separated by '/', used only by signal handlers.
Definition: service-maker/includes/factory_metadata.h:45
get_custom_factory_info
const FactoryMetadata get_custom_factory_info(void)
_FactoryMetadata::object_type
unsigned long object_type
Unique number to identify the type of the object created by the factory.
Definition: service-maker/includes/factory_metadata.h:43
_FactoryMetadata
Information required by a custom factory.
Definition: service-maker/includes/factory_metadata.h:31
FactoryMetadata
struct _FactoryMetadata FactoryMetadata
Information required by a custom factory.
_FactoryMetadata::klass
const char * klass
Category name.
Definition: service-maker/includes/factory_metadata.h:37