NVIDIA DeepStream SDK API Reference
8.0 Release
custom_factory.hpp
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3
* SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4
*
5
* NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6
* property and proprietary rights in and to this material, related
7
* documentation and any modifications thereto. Any use, reproduction,
8
* disclosure or distribution of this material and related documentation
9
* without an express license agreement from NVIDIA CORPORATION or
10
* its affiliates is strictly prohibited.
11
*/
12
21
#ifndef NVIDIA_DEEPSTREAM_CUSTOM_FACTORY
22
#define NVIDIA_DEEPSTREAM_CUSTOM_FACTORY
23
24
#include "
custom_object.hpp
"
25
#include "
factory_metadata.h
"
26
27
namespace
deepstream
{
28
32
class
CustomFactory
:
public
Object
{
33
public
:
40
CustomFactory
(
const
std::string& name,
unsigned
long
factory_type);
41
43
virtual
~CustomFactory
();
44
50
virtual
CustomObject
*
createObject
(
const
std::string& name) = 0;
51
53
unsigned
long
getObjectType
();
54
};
55
56
}
57
58
59
#endif
deepstream::CustomObject
Base class for all the custom objects.
Definition:
custom_object.hpp:34
deepstream::CustomFactory::createObject
virtual CustomObject * createObject(const std::string &name)=0
Virtual method for creating custom object.
factory_metadata.h
deepstream::CustomFactory::~CustomFactory
virtual ~CustomFactory()
Destructor.
deepstream
Definition:
buffer.hpp:33
deepstream::CustomFactory::getObjectType
unsigned long getObjectType()
Return the type id of objects created by this factory.
custom_object.hpp
deepstream::CustomFactory
Interface definition for a custom factory.
Definition:
custom_factory.hpp:32
deepstream::Object
Base Object class.
Definition:
object.hpp:44
deepstream::CustomFactory::CustomFactory
CustomFactory(const std::string &name, unsigned long factory_type)
Constructor.
Privacy Policy
|
Manage My Privacy
|
Do Not Sell or Share My Data
|
Terms of Service
|
Accessibility
|
Corporate Policies
|
Product Security
|
Contact
© 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
NVIDIA Confidential | Subject to Change | For test and development only.
Tue Sep 9 2025 11:36:23 | PR-09318-R32