neuray API Programmer's Manual

ihost_callback.h File Reference

Description

Callback interface for notifications about joining or leaving hosts.

Code Example

ihost_callback.h

‎//*****************************************************************************
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
//*****************************************************************************
//*****************************************************************************

#ifndef MI_NEURAYLIB_IHOST_CALLBACK_H
#define MI_NEURAYLIB_IHOST_CALLBACK_H

#include <mi/base/interface_declare.h>

namespace mi {

namespace neuraylib {

class IHost_properties;












class IHost_callback : public
    mi::base::Interface_declare<0x39163199,0xfd6a,0x4c53,0xa8,0x00,0xdd,0x70,0xc6,0xbc,0x61,0xf3>
{
public:
    virtual void connection_callback(Uint32 host_id, bool flag) = 0;

    virtual void membership_callback(Uint32 host_id, bool flag) = 0;

    virtual void property_callback(Uint32 host_id, const IHost_properties* properties) = 0;

    virtual void synchronizer_callback(Uint32 host_id) = 0;

    virtual void database_status_callback(const char* status) = 0;
};
 // end group mi_neuray_configuration

} // namespace neuraylib

} // namespace mi

#endif // MI_NEURAYLIB_IHOST_CALLBACK_H

Namespaces

namespace 
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH. More...
namespace 
Namespace for the neuray API. More...

Classes

class 
Abstract interface to report cluster status changes. More...