NVIDIA DeepStream SDK API Reference
8.0 Release
service-maker/includes/custom_object.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
22
#ifndef NVIDIA_DEEPSTREAM_CUSTOM_OBJECT
23
#define NVIDIA_DEEPSTREAM_CUSTOM_OBJECT
24
25
#include <map>
26
27
#include "
object.hpp
"
28
29
namespace
deepstream
{
30
34
class
CustomObject
:
public
Object
{
35
public
:
43
CustomObject
(
unsigned
long
type_id,
const
char
* factory,
const
std::string& name);
44
45
protected
:
46
virtual
void
set_
(
const
std::string& name,
const
Value
& value);
47
virtual
void
set_
(
const
std::string& name,
const
YAML::Node& value);
48
virtual
Value
get_
(
const
std::string&name);
49
51
std::string
param_spec_
;
53
std::map<std::string, Object::Value>
properties_
;
54
};
55
56
}
57
58
#endif
deepstream::CustomObject::get_
virtual Value get_(const std::string &name)
deepstream::CustomObject::CustomObject
CustomObject(unsigned long type_id, const char *factory, const std::string &name)
Constructor.
deepstream::CustomObject
Base class for all the custom objects.
Definition:
service-maker/includes/custom_object.hpp:34
deepstream::Object::Value
Value wrapper for various types.
Definition:
service-maker/includes/object.hpp:53
object.hpp
deepstream::CustomObject::param_spec_
std::string param_spec_
property spec in YAML format
Definition:
service-maker/includes/custom_object.hpp:51
deepstream::CustomObject::properties_
std::map< std::string, Object::Value > properties_
property map
Definition:
service-maker/includes/custom_object.hpp:53
deepstream
Definition:
service-maker/includes/buffer.hpp:33
deepstream::CustomObject::set_
virtual void set_(const std::string &name, const Value &value)
deepstream::Object
Base Object class.
Definition:
service-maker/includes/object.hpp:44
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 Mar 17 2026 09:30:34 | PR-09318-R32