NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
NvSIPLTrace.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2018-2026 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 
13 #ifndef NVSIPLTRACE_HPP
14 #define NVSIPLTRACE_HPP
15 
23 namespace nvsipl
24 {
25 
34 #if !NV_IS_SAFETY
36 {
37 public:
38 
45  {
46  LevelNone = 0,
51  };
52 
53  using TraceFuncPtr = void(*)(const char*, int);
54 
84  static INvSIPLTrace* GetInstance(void);
85 
119  virtual void SetHook(TraceFuncPtr pfnTraceHook,
120  bool bCallDefaultRenderer) = 0;
121 
156  virtual void SetLevel(TraceLevel eLevel) = 0;
157 
187  virtual void DisableLineInfo(void) = 0;
188 
190  virtual ~INvSIPLTrace() = default;
191 };
192 #endif
193 
194 
196 } // namespace nvsipl
197 
198 #endif // NVSIPLTRACE_HPP
nvsipl::INvSIPLTrace::TraceLevel
TraceLevel
Defines the tracing/logging levels.
Definition: NvSIPLTrace.hpp:44
nvsipl::INvSIPLTrace::LevelNone
@ LevelNone
Definition: NvSIPLTrace.hpp:46
nvsipl::INvSIPLTrace
Defines the public interfaces to control the logging/tracing of SIPL.
Definition: NvSIPLTrace.hpp:35
nvsipl::INvSIPLTrace::DisableLineInfo
virtual void DisableLineInfo(void)=0
Disable line info (FUNCTION : LINE: ) prefix.
nvsipl::INvSIPLTrace::LevelWarning
@ LevelWarning
Indicates logging is turned on for errors.
Definition: NvSIPLTrace.hpp:48
nvsipl::INvSIPLTrace::TraceFuncPtr
void(*)(const char *, int) TraceFuncPtr
Definition: NvSIPLTrace.hpp:53
nvsipl::INvSIPLTrace::LevelError
@ LevelError
Indicates logging is turned off.
Definition: NvSIPLTrace.hpp:47
nvsipl::INvSIPLTrace::SetLevel
virtual void SetLevel(TraceLevel eLevel)=0
Sets the log level.
void
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
nvsipl::INvSIPLTrace::GetInstance
static INvSIPLTrace * GetInstance(void)
Gets a handle to INvSIPLTrace instance.
nvsipl::INvSIPLTrace::LevelInfo
@ LevelInfo
Indicates logging is turned on for critical warnings.
Definition: NvSIPLTrace.hpp:49
nvsipl::INvSIPLTrace::~INvSIPLTrace
virtual ~INvSIPLTrace()=default
Default destructor.
nvsipl::INvSIPLTrace::SetHook
virtual void SetHook(TraceFuncPtr pfnTraceHook, bool bCallDefaultRenderer)=0
Sets a callable trace hook.
nvsipl
Describes the custom interface for IMX623.
Definition: AR0820_CUST1_CustomInterface.hpp:21
nvsipl::INvSIPLTrace::LevelDebug
@ LevelDebug
Indicates logging is turned on for information level messages.
Definition: NvSIPLTrace.hpp:50