NVIDIA IndeX API nvidia_logo_transpbg.gif Up
iprogress_callback.h
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright 2023 NVIDIA Corporation. All rights reserved.
3 *****************************************************************************/
6
7#ifndef NVIDIA_INDEX_IPROGRESS_CALLBACK_H
8#define NVIDIA_INDEX_IPROGRESS_CALLBACK_H
9
10#include <mi/base/types.h>
11#include <mi/dice.h>
12#include <mi/base/interface_declare.h>
13
14namespace nv
15{
16namespace index
17{
18
35 public mi::base::Interface_declare<0x93d1b285,0x5e1c,0x411f,0x9f,0x63,0x8c,0x2a,0x72,0xbf,0xdc,0xf5>
36{
37public:
48 virtual void set_progress(mi::Float32 progress_values) = 0;
49
55 virtual mi::Float32 get_progress() const = 0;
56};
57
58}} // namespace index / nv
59
60#endif // NVIDIA_INDEX_IPROGRESS_CALLBACK_H
User-defined progress callback for querying the progress of the distributed rendering or computing ta...
Definition: iprogress_callback.h:36
virtual void set_progress(mi::Float32 progress_values)=0
The updates to the progress will be passed to the present interface method (i.e., callback) to be pro...
virtual mi::Float32 get_progress() const =0
The current progress of a tasks given in percent can be queried at any time.
Common namespace for all NVIDIA APIs.
Definition: iindex.h:349