NVIDIA Iray API Home  Up
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mi::neuraylib::ICluster_notification_callback Class Referenceabstract

Abstract interface for giving notifications about errors and status changes. More...

Inheritance diagram for mi::neuraylib::ICluster_notification_callback:
Inheritance graph
[legend]

Public Member Functions

virtual void  error_callback ()=0
  This callback will be called when an error occurred, like the connection broke down. More...
 
virtual void  status_change_callback ()=0
  This callback will be called when some node in the pool changed status, e.g., a cluster was reserved or released. More...
 
virtual void  cluster_change_callback ()=0
  This callback will be called when the user's cluster changed. More...
 
virtual void  cluster_ready_callback (bool is_ready)=0
  This callback will be called when the cluster is fully started and connected. More...
 

Additional Inherited Members

- Public Types inherited from mi::base::Interface_declare< 0x1b9bfd07, 0x9693, 0x4e3f, 0x83, 0xb1, 0x85, 0x3b, 0x91, 0x83, 0xd2, 0x66 >
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< 0x1b9bfd07, 0x9693, 0x4e3f, 0x83, 0xb1, 0x85, 0x3b, 0x91, 0x83, 0xd2, 0x66 >
static bool  compare_iid (const Uuid &iid)
  Compares the interface ID iid against the interface ID of this interface and of its ancestors. More...
 

Detailed Description

Abstract interface for giving notifications about errors and status changes.

See Also
mi::neuraylib::ICluster_manager_connection::set_cluster_notification_callback()

Member Function Documentation

virtual void mi::neuraylib::ICluster_notification_callback::cluster_change_callback ( )
pure virtual

This callback will be called when the user's cluster changed.

virtual void mi::neuraylib::ICluster_notification_callback::cluster_ready_callback ( bool  is_ready)
pure virtual

This callback will be called when the cluster is fully started and connected.

Parameters
is_ready True, if the cluster is up and ready to be connected
virtual void mi::neuraylib::ICluster_notification_callback::error_callback ( )
pure virtual

This callback will be called when an error occurred, like the connection broke down.

virtual void mi::neuraylib::ICluster_notification_callback::status_change_callback ( )
pure virtual

This callback will be called when some node in the pool changed status, e.g., a cluster was reserved or released.