Jetson Linux API Reference

39.2 Release
NvSIPLQueryTrace.hpp
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2019-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  * NVIDIA CORPORATION and its licensors retain all intellectual property
13  * and proprietary rights in and to this software, related documentation
14  * and any modifications thereto. Any use, reproduction, disclosure or
15  * distribution of this software and related documentation without an express
16  * license agreement from NVIDIA CORPORATION is strictly prohibited.
17  */
18 #ifndef NVSIPLQUERYTRACE_H
19 #define NVSIPLQUERYTRACE_H
20 
28 namespace nvsipl
29 {
40 {
41  public:
42 
45  {
46  LevelNone = 0,
53  };
54 
55  using TraceFuncPtr = void(*)(const char*, int);
56 
82  static INvSIPLQueryTrace* GetInstance(void);
83 
113  virtual void SetHook(TraceFuncPtr traceHook,
114  bool bCallDefaultRenderer) = 0;
115 
146  virtual void SetLevel(TraceLevel eLevel) = 0;
147 
173  virtual void DisableLineInfo(void) = 0;
174 
176  virtual ~INvSIPLQueryTrace() = default;
177 };
178 
181 } // namespace nvsipl
182 
183 #endif // NVSIPLQUERYTRACE_H
nvsipl::INvSIPLQueryTrace::LevelAll
@ LevelAll
Indicates logging is turned on for all messages.
Definition: NvSIPLQueryTrace.hpp:52
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:55
nvsipl::INvSIPLQueryTrace::LevelNone
@ LevelNone
Indicates logging is turned off.
Definition: NvSIPLQueryTrace.hpp:46
nvsipl::INvSIPLQueryTrace::LevelVerbose
@ LevelVerbose
Indicates logging is turned on for verbose information.
Definition: NvSIPLQueryTrace.hpp:50
nvsipl::INvSIPLQueryTrace
Definition: NvSIPLQueryTrace.hpp:39
nvsipl::INvSIPLQueryTrace::LevelError
@ LevelError
Indicates logging is turned on for errors.
Definition: NvSIPLQueryTrace.hpp:47
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:49
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:48
nvsipl::INvSIPLQueryTrace::~INvSIPLQueryTrace
virtual ~INvSIPLQueryTrace()=default
Default destructor.
nvsipl::INvSIPLQueryTrace::LevelSpew
@ LevelSpew
Indicates logging is turned on for very verbose information.
Definition: NvSIPLQueryTrace.hpp:51
nvsipl
Contains the classes and variables for implementation of SIPL.
Definition: NvSIPLCameraQuery.hpp:22
nvsipl::INvSIPLQueryTrace::TraceLevel
TraceLevel
Defines tracing/logging levels.
Definition: NvSIPLQueryTrace.hpp:44
nvsipl::INvSIPLQueryTrace::SetLevel
virtual void SetLevel(TraceLevel eLevel)=0
Sets the log level.