Abstract interface to report completion of an asynchronous operation back to the caller. More...
Public Member Functions | |
virtual void | ready (Sint32 result)=0 |
The callback method that signals the completion of the asynchronous operation. More... |
|
Additional Inherited Members | |
Public Types inherited from mi::base::Interface_declare< 0x5c4ecccf, 0x2dcc, 0x439b, 0x88, 0xf2, 0x4d, 0x14, 0xa5, 0xc8, 0xb6, 0x4b > | |
typedef Interface_declare< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11, IInterface > |
Self |
Own type. More... |
|
typedef Uuid_t< id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11 > |
IID |
Declares the interface ID (IID) of this interface. More... |
|
Static Public Member Functions inherited from mi::base::Interface_declare< 0x5c4ecccf, 0x2dcc, 0x439b, 0x88, 0xf2, 0x4d, 0x14, 0xa5, 0xc8, 0xb6, 0x4b > | |
static bool | compare_iid (const Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and of its ancestors. More... |
|
Abstract interface to report completion of an asynchronous operation back to the caller.
Typically, an instance of this interface is passed to methods triggering asynchronous operations. After completion of the operation the ready() method of this instance is called to report completion of the asynchronous operation to the caller.
For example, an instance of this interface can be passed to mi::neuraylib::IRender_context::render_async().
|
pure virtual |
The callback method that signals the completion of the asynchronous operation.
It can be called at any time from any thread.
result | Result of the asynchronous operation. See the documentation of the asynchronous operation for the meaning of the value. |