MDL SDK API nvidia_logo_transpbg.gif Up
imdl_loading_wait_handle.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IMDL_LOADING_WAIT_HANDLE_H
8#define MI_NEURAYLIB_IMDL_LOADING_WAIT_HANDLE_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
16
32 base::Interface_declare<0xc942596c,0x80fd,0x46d1,0x9a,0x1d,0x57,0x4c,0x27,0xf9,0x20,0x24>
33{
34public:
40 virtual void wait() = 0;
41
51 virtual void notify(Sint32 result_code) = 0;
52
57 virtual Sint32 get_result_code() const = 0;
58};
59
60
65 base::Interface_declare<0x32ee19,0x2020,0x4cca,0xa7,0xd7,0xde,0xa1,0x7a,0xc6,0x95,0x11>
66{
67public:
72};
73 // end group mi_neuray_mdl_misc
75
76} // namespace neuraylib
77} // namespace mi
78
79#endif // MI_NEURAYLIB_IMDL_LOADING_WAIT_HANDLE_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Interface of a loading wait handle factory.
Definition: imdl_loading_wait_handle.h:66
virtual IMdl_loading_wait_handle * create_wait_handle() const =0
Creates a loading wait handle.
Interface of a loading wait handle.
Definition: imdl_loading_wait_handle.h:33
virtual void wait()=0
Called when the element is currently loaded by another threads.
virtual Sint32 get_result_code() const =0
Gets the result code that was passed to notify.
virtual void notify(Sint32 result_code)=0
Called by the loading thread after loading is done to wake the waiting threads.
signed int Sint32
32-bit signed integer.
Definition: types.h:46
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: example_derivatives.dox:5