|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef _DS3D_COMMON_HPP_DATALOADER_HPP
19 #define _DS3D_COMMON_HPP_DATALOADER_HPP
21 #include <ds3d/common/common.h>
22 #include <ds3d/common/func_utils.h>
23 #include <ds3d/common/hpp/dataprocess.hpp>
50 class GuardDataLoader :
public GuardDataProcess<abiDataLoader> {
51 using _Base = GuardDataProcess<abiDataLoader>;
55 template <
typename... Args >
88 #endif // _DS3D_COMMON_HPP_DATALOADER_HPP
GuardDataLoader(Args &&... args)
virtual ErrCode readData_i(abiRefDataMap *&datamap)=0
ErrCode readDataAsync(abiOnDataCB::CppFunc dataReadyCB)
constexpr absl::OTABSL_OPTION_NAMESPACE_NAME::remove_reference_t< T > && move(T &&t) noexcept
void reset(ref *abiref=nullptr)
abiDataLoader * ptr() const
Extensions to the C++ standard library.
constexpr T && forward(absl::OTABSL_OPTION_NAMESPACE_NAME::remove_reference_t< T > &t) noexcept
virtual ErrCode readDataAsync_i(const abiOnDataCB *dataReadyCb)=0
~GuardDataLoader()=default
std::string cppString(const char *str, size_t len=0)
std::function< void(Args...)> CppFunc
std::string getOutputCaps()
ErrCode readData(GuardDataMap &datamap)