neuray API Programmer's Manual

mi::neuraylib::IClient_node_callback Class Reference

[Node manager]

Description

Abstract interface for signaling changed cluster members. Its aim is to be derived from by the application writer. The concrete implementation can then be registered with the neuray API and will after that be used by the .

Note:

Instances of this interface should not be created on the stack, since this might lead to premature destruction of such instances while still being in use by .

See also:

mi::neuraylib::INode_manager_cluster

Public Member Functions

virtual void membership_callback( const char* address, bool flag) =0
This function is called when a remote client joined or left the cluster. More...

Member Functions

virtual void mi::​neuraylib::​IClient_node_callback::membership_callback( const char* address, bool flag) [pure virtual]

This function is called when a remote client joined or left the cluster. It should return as soon as possible because it may block further network operations.

Parameters

address
The address of the client joining or leaving.
flag
true in case of a joining client, false in case of a leaving client.