Iray SDK API nvidia_logo_transpbg.gif Up
ihost_callback.h
Go to the documentation of this file.
1/***************************************************************************************************
2 * Copyright 2024 NVIDIA Corporation. All rights reserved.
3 **************************************************************************************************/
6
7#ifndef MI_NEURAYLIB_IHOST_CALLBACK_H
8#define MI_NEURAYLIB_IHOST_CALLBACK_H
9
11
12namespace mi {
13
14namespace neuraylib {
15
16class IHost_properties;
17
33class IHost_callback : public
34 mi::base::Interface_declare<0x39163199,0xfd6a,0x4c53,0xa8,0x00,0xdd,0x70,0xc6,0xbc,0x61,0xf3>
35{
36public:
45 virtual void connection_callback(Uint32 host_id, bool flag) = 0;
46
56 virtual void membership_callback(Uint32 host_id, bool flag) = 0;
57
65 virtual void property_callback(Uint32 host_id, const IHost_properties* properties) = 0;
66
74 virtual void synchronizer_callback(Uint32 host_id) = 0;
75
88 virtual void database_status_callback(const char* status) = 0;
89};
90 // end group mi_neuray_configuration
92
93} // namespace neuraylib
94
95} // namespace mi
96
97#endif // MI_NEURAYLIB_IHOST_CALLBACK_H
Mixin class template for deriving new interface declarations.
Definition: interface_declare.h:43
Abstract interface to report cluster status changes.
Definition: ihost_callback.h:35
virtual void database_status_callback(const char *status)=0
This function is called when the database changes status.
virtual void property_callback(Uint32 host_id, const IHost_properties *properties)=0
This function is called when a remote host communicates its properties.
virtual void membership_callback(Uint32 host_id, bool flag)=0
This function is called when a remote host joined or left the cluster.
virtual void connection_callback(Uint32 host_id, bool flag)=0
This function is called when this host established or lost the connection to the cluster.
virtual void synchronizer_callback(Uint32 host_id)=0
This function is called whenever the synchronizer host changes.
This interface contains information about a local or remote host.
Definition: ihost_properties.h:27
unsigned int Uint32
32-bit unsigned integer.
Definition: types.h:49
Mixin class template for deriving new interface declarations.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179