Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.9 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    NvSIPLQueryTrace.hpp
    Go to the documentation of this file.
    1 /*
    2  * Copyright (c) 2019-2022, NVIDIA CORPORATION. All rights reserved.
    3  *
    4  * NVIDIA CORPORATION and its licensors retain all intellectual property
    5  * and proprietary rights in and to this software, related documentation
    6  * and any modifications thereto. Any use, reproduction, disclosure or
    7  * distribution of this software and related documentation without an express
    8  * license agreement from NVIDIA CORPORATION is strictly prohibited.
    9  */
    10 #ifndef NVSIPLQUERYTRACE_H
    11 #define NVSIPLQUERYTRACE_H
    12 
    20 namespace nvsipl
    21 {
    32 {
    33  public:
    34 
    37  {
    38  LevelNone = 0,
    45  };
    46 
    47  using TraceFuncPtr = void(*)(const char*, int);
    48 
    70  static INvSIPLQueryTrace* GetInstance(void);
    71 
    97  virtual void SetHook(TraceFuncPtr traceHook,
    98  bool bCallDefaultRenderer) = 0;
    99 
    126  virtual void SetLevel(TraceLevel eLevel) = 0;
    127 
    149  virtual void DisableLineInfo(void) = 0;
    150 
    152  virtual ~INvSIPLQueryTrace() = default;
    153 };
    154 
    157 } // namespace nvsipl
    158 
    159 #endif // NVSIPLQUERYTRACE_H
    nvsipl::INvSIPLQueryTrace::LevelAll
    @ LevelAll
    Indicates logging is turned on for all messages.
    Definition: NvSIPLQueryTrace.hpp:44
    nvsipl::INvSIPLQueryTrace::DisableLineInfo
    virtual void DisableLineInfo(void)=0
    Disable line info (FUNCTION : LINE: ) prefix.
    nvsipl::INvSIPLQueryTrace::TraceFuncPtr
    void(*)(const char *, int) TraceFuncPtr
    Definition: NvSIPLQueryTrace.hpp:47
    nvsipl::INvSIPLQueryTrace::LevelNone
    @ LevelNone
    Indicates logging is turned off.
    Definition: NvSIPLQueryTrace.hpp:38
    nvsipl::INvSIPLQueryTrace::LevelVerbose
    @ LevelVerbose
    Indicates logging is turned on for verbose information.
    Definition: NvSIPLQueryTrace.hpp:42
    nvsipl::INvSIPLQueryTrace
    Definition: NvSIPLQueryTrace.hpp:31
    nvsipl::INvSIPLQueryTrace::LevelError
    @ LevelError
    Indicates logging is turned on for errors.
    Definition: NvSIPLQueryTrace.hpp:39
    nvsipl::INvSIPLQueryTrace::SetHook
    virtual void SetHook(TraceFuncPtr traceHook, bool bCallDefaultRenderer)=0
    Sets a callable trace hook.
    nvsipl::INvSIPLQueryTrace::LevelInfo
    @ LevelInfo
    Indicates logging is turned on for information level messages.
    Definition: NvSIPLQueryTrace.hpp:41
    nvsipl::INvSIPLQueryTrace::GetInstance
    static INvSIPLQueryTrace * GetInstance(void)
    Gets a handle to INvSIPLTrace instance.
    nvsipl::INvSIPLQueryTrace::LevelCritical
    @ LevelCritical
    Indicates logging is turned on for critical messages.
    Definition: NvSIPLQueryTrace.hpp:40
    nvsipl::INvSIPLQueryTrace::~INvSIPLQueryTrace
    virtual ~INvSIPLQueryTrace()=default
    Default destructor.
    nvsipl::INvSIPLQueryTrace::LevelSpew
    @ LevelSpew
    Indicates logging is turned on for very verbose information.
    Definition: NvSIPLQueryTrace.hpp:43
    nvsipl
    Contains the classes and variables for implementation of SIPL.
    Definition: INvSiplControlAuto.hpp:33
    nvsipl::INvSIPLQueryTrace::TraceLevel
    TraceLevel
    Defines tracing/logging levels.
    Definition: NvSIPLQueryTrace.hpp:36
    nvsipl::INvSIPLQueryTrace::SetLevel
    virtual void SetLevel(TraceLevel eLevel)=0
    Sets the log level.
    人人超碰97caoporen国产