Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>

  • DriveWorks SDK Reference
    5.8.83 Release
    For Test and Development only

    All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    Status.h
    Go to the documentation of this file.
    1
    2//
    3// Notice
    4// ALL NVIDIA DESIGN SPECIFICATIONS AND CODE ("MATERIALS") ARE PROVIDED "AS IS" NVIDIA MAKES
    5// NO REPRESENTATIONS, WARRANTIES, EXPRESSED, IMPLIED, STATUTORY, OR OTHERWISE WITH RESPECT TO
    6// THE MATERIALS, AND EXPRESSLY DISCLAIMS ANY IMPLIED WARRANTIES OF NONINFRINGEMENT,
    7// MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
    8//
    9// NVIDIA CORPORATION & AFFILIATES assumes no responsibility for the consequences of use of such
    10// information or for any infringement of patents or other rights of third parties that may
    11// result from its use. No license is granted by implication or otherwise under any patent
    12// or patent rights of NVIDIA CORPORATION & AFFILIATES. No third party distribution is allowed unless
    13// expressly authorized by NVIDIA. Details are subject to change without notice.
    14// This code supersedes and replaces all information previously supplied.
    15// NVIDIA CORPORATION & AFFILIATES products are not authorized for use as critical
    16// components in life support devices or systems without express written approval of
    17// NVIDIA CORPORATION & AFFILIATES.
    18//
    19// SPDX-FileCopyrightText: Copyright (c) 2016-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
    20// SPDX-License-Identifier: LicenseRef-NvidiaProprietary
    21//
    22// NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
    23// property and proprietary rights in and to this material, related
    24// documentation and any modifications thereto. Any use, reproduction,
    25// disclosure or distribution of this material and related documentation
    26// without an express license agreement from NVIDIA CORPORATION or
    27// its affiliates is strictly prohibited.
    28//
    30
    46#ifndef DW_CORE_STATUS_H_
    47#define DW_CORE_STATUS_H_
    48
    49#include "Exports.h"
    50
    51#ifdef __cplusplus
    52extern "C" {
    53#endif
    54
    55#define DW_CORE_GENERATE_ENUM(e) e,
    56// clang-format off
    57#define DW_CORE_ERROR_LIST(s) \
    58 s(DW_SUCCESS) \
    59 s(DW_INVALID_VERSION) \
    60 s(DW_INVALID_ARGUMENT) \
    61 s(DW_BAD_ALLOC) \
    62 s(DW_BAD_ALIGNMENT) \
    63 s(DW_BAD_CAST) \
    64 s(DW_NOT_IMPLEMENTED) \
    65 s(DW_END_OF_STREAM) \
    66 s(DW_INVALID_HANDLE) \
    67 \
    68 s(DW_CALL_NOT_ALLOWED) \
    69 s(DW_NOT_AVAILABLE) \
    70 s(DW_NOT_RELEASED) \
    71 s(DW_NOT_SUPPORTED) \
    72 s(DW_NOT_INITIALIZED) \
    73 s(DW_INTERNAL_ERROR) \
    74 s(DW_FILE_NOT_FOUND) \
    75 s(DW_FILE_INVALID) \
    76 s(DW_CANNOT_CREATE_OBJECT) \
    77 s(DW_BUFFER_FULL) \
    78 s(DW_NOT_READY) \
    79 s(DW_TIME_OUT) \
    80 s(DW_BUSY_WAITING) \
    81 \
    82 s(DW_LOG_CANNOT_WRITE) \
    83 s(DW_LOG_CANNOT_FLUSH) \
    84 \
    85 s(DW_SAL_CANNOT_INITIALIZE) \
    86 s(DW_SAL_CANNOT_CREATE_SENSOR) \
    87 s(DW_SAL_NO_DRIVER_FOUND) \
    88 s(DW_SAL_SENSOR_UNSUPPORTED) \
    89 s(DW_SAL_SENSOR_ERROR) \
    90 \
    91 s(DW_CUDA_ERROR) \
    92 s(DW_GL_ERROR) \
    93 s(DW_NVMEDIA_ERROR) \
    94 \
    95 s(DW_DNN_INVALID_MODEL) \
    96 \
    97 s(DW_FAILURE) \
    98 s(DW_DNN_INVALID_TYPE) \
    99 \
    100 s(DW_HAL_CANNOT_OPEN_CHANNEL) \
    101 \
    102 s(DW_OUT_OF_BOUNDS) \
    103 \
    104 s(DW_UNEXPECTED_IPC_EVENT) \
    105 \
    106 s(DW_UNEXPECTED_EVENT) \
    107 s(DW_CUDA_CONTEXT_ERROR) \
    108 s(DW_CUDA_DEVICE_ERROR) \
    109 s(DW_CANNOT_SYNCHRONIZE) \
    110 s(DW_NUM_ERROR_CODES)
    112// clang-format on
    113
    117//# sergen(generate)
    118typedef enum dwStatus {
    120} dwStatus;
    121
    127DW_API_PUBLIC const char* dwGetStatusName(dwStatus const s);
    128
    129#ifdef __cplusplus
    130}
    131#endif
    133#endif // DW_CORE_STATUS_H_
    #define DW_API_PUBLIC
    Definition: Exports.h:54
    dwStatus
    Status definition.
    Definition: Status.h:171
    DW_API_PUBLIC const char * dwGetStatusName(dwStatus const s)
    Converts dwStatus enum value to a string value.
    #define DW_CORE_ERROR_LIST(s)
    Definition: Status.h:57
    #define DW_CORE_GENERATE_ENUM(e)
    Definition: Status.h:55
    NVIDIA DriveWorks Visualization API: Exports
    人人超碰97caoporen国产